Class TextFormField
Inheritance
System.Object
TextFormField
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
Fields
controller
Declaration
public readonly TextEditingController controller
Field Value
Methods
createState()
Declaration
public override State createState()
Returns
Overrides
Unity.UIWidgets.widgets.FormField<System.String>.createState()