Class FormField<T> | Package Manager UI website
docs.unity3d.com
    Show / Hide Table of Contents

    Class FormField<T>

    Inheritance
    System.Object
    Diagnosticable
    DiagnosticableTree
    CanonicalMixinDiagnosticableTree
    Widget
    StatefulWidget
    FormField<T>
    TextFormField
    DropdownButtonFormField<T>
    Inherited Members
    StatefulWidget.createElement()
    Widget.key
    Widget.toStringShort()
    Widget.debugFillProperties(DiagnosticPropertiesBuilder)
    Widget.canUpdate(Widget, Widget)
    CanonicalMixinDiagnosticableTree.pureWidget
    CanonicalMixinDiagnosticableTree.Equals(Object)
    CanonicalMixinDiagnosticableTree.GetHashCode()
    DiagnosticableTree.toStringShallow(String, DiagnosticLevel)
    DiagnosticableTree.toStringDeep(String, String, DiagnosticLevel)
    DiagnosticableTree.toDiagnosticsNode(String, DiagnosticsTreeStyle)
    DiagnosticableTree.debugDescribeChildren()
    Diagnosticable.ToString()
    Diagnosticable.toString(DiagnosticLevel)
    Namespace: Unity.UIWidgets.widgets
    Syntax
    public class FormField<T> : StatefulWidget where T : class
    Type Parameters
    Name Description
    T

    Constructors

    FormField(Key, FormFieldBuilder<T>, FormFieldSetter<T>, FormFieldValidator<T>, T, Boolean, Boolean)

    Declaration
    public FormField(Key key = null, FormFieldBuilder<T> builder = null, FormFieldSetter<T> onSaved = null, FormFieldValidator<T> validator = null, T initialValue = null, bool autovalidate = false, bool enabled = true)
    Parameters
    Type Name Description
    Key key
    FormFieldBuilder<T> builder
    FormFieldSetter<T> onSaved
    FormFieldValidator<T> validator
    T initialValue
    System.Boolean autovalidate
    System.Boolean enabled

    Fields

    autovalidate

    Declaration
    public readonly bool autovalidate
    Field Value
    Type Description
    System.Boolean

    builder

    Declaration
    public readonly FormFieldBuilder<T> builder
    Field Value
    Type Description
    FormFieldBuilder<T>

    enabled

    Declaration
    public readonly bool enabled
    Field Value
    Type Description
    System.Boolean

    initialValue

    Declaration
    public readonly T initialValue
    Field Value
    Type Description
    T

    onSaved

    Declaration
    public readonly FormFieldSetter<T> onSaved
    Field Value
    Type Description
    FormFieldSetter<T>

    validator

    Declaration
    public readonly FormFieldValidator<T> validator
    Field Value
    Type Description
    FormFieldValidator<T>

    Methods

    createState()

    Declaration
    public override State createState()
    Returns
    Type Description
    State
    Overrides
    StatefulWidget.createState()
    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023