FormBuilderTextField constructor
FormBuilderTextField({Key key, @required String attribute, String initialValue, List<FormFieldValidator> validators: const [], bool readOnly: false, InputDecoration decoration: const InputDecoration(), bool autovalidate: false, int maxLines, bool obscureText: false, TextCapitalization textCapitalization: TextCapitalization.none, EdgeInsets scrollPadding: const EdgeInsets.all(20.0), bool enabled: true, bool enableInteractiveSelection: true, bool maxLengthEnforced: true, TextAlign textAlign: TextAlign.start, bool autofocus: false, bool autocorrect: true, double cursorWidth: 2.0, TextInputType keyboardType, TextStyle style, TextEditingController controller, FocusNode focusNode, TextInputAction textInputAction, StrutStyle strutStyle, TextDirection textDirection, int maxLength, VoidCallback onEditingComplete ValueChanged<String> onFieldSubmitted, List<TextInputFormatter> inputFormatters, Radius cursorRadius, Color cursorColor, Brightness keyboardAppearance, InputCounterWidgetBuilder buildCounter, ValueChanged onChanged, ValueTransformer valueTransformer, bool expands: false, int minLines, bool showCursor, FormFieldSetter onSaved, VoidCallback onTap })
Implementation
FormBuilderTextField({
Key key,
@required this.attribute,
this.initialValue,
this.validators = const [],
this.readOnly = false,
this.decoration = const InputDecoration(),
this.autovalidate = false,
this.maxLines,
this.obscureText = false,
this.textCapitalization = TextCapitalization.none,
this.scrollPadding = const EdgeInsets.all(20.0),
this.enabled = true,
this.enableInteractiveSelection = true,
this.maxLengthEnforced = true,
this.textAlign = TextAlign.start,
this.autofocus = false,
this.autocorrect = true,
this.cursorWidth = 2.0,
this.keyboardType,
this.style,
this.controller,
this.focusNode,
this.textInputAction,
this.strutStyle,
this.textDirection,
this.maxLength,
this.onEditingComplete,
this.onFieldSubmitted,
this.inputFormatters,
this.cursorRadius,
this.cursorColor,
this.keyboardAppearance,
this.buildCounter,
this.onChanged,
this.valueTransformer,
this.expands = false,
this.minLines,
this.showCursor,
this.onSaved,
this.onTap,
}) : super(key: key);