Class TextFormField | Package Manager UI website
docs.unity3d.com
    Show / Hide Table of Contents

    Class TextFormField

    Inheritance
    System.Object
    Diagnosticable
    DiagnosticableTree
    CanonicalMixinDiagnosticableTree
    Widget
    StatefulWidget
    FormField<System.String>
    TextFormField
    Inherited Members
    FormField<String>.onSaved
    FormField<String>.validator
    FormField<String>.builder
    FormField<String>.initialValue
    FormField<String>.autovalidate
    FormField<String>.enabled
    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: UIWidgets.Runtime.material
    Syntax
    public class TextFormField : FormField<string>

    Constructors

    TextFormField(Key, TextEditingController, String, FocusNode, InputDecoration, TextInputType, TextCapitalization, Nullable<TextInputAction>, TextStyle, Nullable<TextDirection>, TextAlign, Boolean, Boolean, Boolean, Boolean, Boolean, Int32, Nullable<Int32>, VoidCallback, ValueChanged<String>, FormFieldSetter<String>, FormFieldValidator<String>, List<TextInputFormatter>, Boolean, Single, Radius, Color, Nullable<Brightness>, EdgeInsets, Boolean, InputCounterWidgetBuilder)

    Declaration
    public TextFormField(Key key = null, TextEditingController controller = null, string initialValue = null, FocusNode focusNode = null, InputDecoration decoration = null, TextInputType keyboardType = null, TextCapitalization textCapitalization = TextCapitalization.none, TextInputAction? textInputAction = default(TextInputAction? ), TextStyle style = null, TextDirection? textDirection = default(TextDirection? ), TextAlign textAlign = TextAlign.left, bool autofocus = false, bool obscureText = false, bool autocorrect = true, bool autovalidate = false, bool maxLengthEnforced = true, int maxLines = 1, int? maxLength = default(int? ), VoidCallback onEditingComplete = null, ValueChanged<string> onFieldSubmitted = null, FormFieldSetter<string> onSaved = null, FormFieldValidator<string> validator = null, List<TextInputFormatter> inputFormatters = null, bool enabled = true, float cursorWidth = 2F, Radius cursorRadius = null, Color cursorColor = null, Brightness? keyboardAppearance = default(Brightness? ), EdgeInsets scrollPadding = null, bool enableInteractiveSelection = true, InputCounterWidgetBuilder buildCounter = null)
    Parameters
    Type Name Description
    Key key
    TextEditingController controller
    System.String initialValue
    FocusNode focusNode
    InputDecoration decoration
    TextInputType keyboardType
    TextCapitalization textCapitalization
    System.Nullable<TextInputAction> textInputAction
    TextStyle style
    System.Nullable<TextDirection> textDirection
    TextAlign textAlign
    System.Boolean autofocus
    System.Boolean obscureText
    System.Boolean autocorrect
    System.Boolean autovalidate
    System.Boolean maxLengthEnforced
    System.Int32 maxLines
    System.Nullable<System.Int32> maxLength
    VoidCallback onEditingComplete
    ValueChanged<System.String> onFieldSubmitted
    FormFieldSetter<System.String> onSaved
    FormFieldValidator<System.String> validator
    System.Collections.Generic.List<TextInputFormatter> inputFormatters
    System.Boolean enabled
    System.Single cursorWidth
    Radius cursorRadius
    Color cursorColor
    System.Nullable<Brightness> keyboardAppearance
    EdgeInsets scrollPadding
    System.Boolean enableInteractiveSelection
    InputCounterWidgetBuilder buildCounter

    Fields

    controller

    Declaration
    public readonly TextEditingController controller
    Field Value
    Type Description
    TextEditingController

    Methods

    createState()

    Declaration
    public override State createState()
    Returns
    Type Description
    State
    Overrides
    Unity.UIWidgets.widgets.FormField<System.String>.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