FormBuilderTextField class
Constructors
-
FormBuilderTextField({@required String attribute, String initialValue, List<
FormFieldValidator> validators: const [], bool readonly: false, InputDecoration decoration: const InputDecoration(), bool autovalidate: false, int maxLines: 1, 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 })
Properties
- attribute → String
-
final
- autocorrect → bool
-
final
- autofocus → bool
-
final
- autovalidate → bool
-
final
- buildCounter → InputCounterWidgetBuilder
-
final
- controller → TextEditingController
-
final
- cursorColor → Color
-
final
- cursorRadius → Radius
-
final
- cursorWidth → double
-
final
- decoration → InputDecoration
-
final
- enabled → bool
-
final
- enableInteractiveSelection → bool
-
final
- focusNode → FocusNode
-
final
- initialValue → String
-
final
-
inputFormatters
→ List<
TextInputFormatter> -
final
- keyboardAppearance → Brightness
-
final
- keyboardType → TextInputType
-
final
- maxLength → int
-
final
- maxLengthEnforced → bool
-
final
- maxLines → int
-
final
- obscureText → bool
-
final
- onChanged → ValueChanged
-
final
- onEditingComplete → VoidCallback
-
final
-
onFieldSubmitted
→ ValueChanged<
String> -
final
- readonly → bool
-
final
- scrollPadding → EdgeInsets
-
final
- strutStyle → StrutStyle
-
final
- style → TextStyle
-
final
- textAlign → TextAlign
-
final
- textCapitalization → TextCapitalization
-
final
- textDirection → TextDirection
-
final
- textInputAction → TextInputAction
-
final
-
validators
→ List<
FormFieldValidator> -
final
- hashCode → int
-
The hash code for this object. [...]
read-only, inherited
- key → Key
-
Controls how one widget replaces another widget in the tree. [...]
final, inherited
- runtimeType → Type
-
A representation of the runtime type of the object.
read-only, inherited
Methods
-
createState(
) → _FormBuilderTextFieldState - Creates the mutable state for this widget at a given location in the tree. [...]
-
createElement(
) → StatefulElement -
Creates a
StatefulElement
to manage this widget's location in the tree. [...]inherited -
debugDescribeChildren(
) → List< DiagnosticsNode> -
Returns a list of
DiagnosticsNode
objects describing this node's children. [...]@protected, inherited -
debugFillProperties(
DiagnosticPropertiesBuilder properties) → void -
Add additional properties associated with the node. [...]
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed. [...]
inherited
-
toDiagnosticsNode(
{String name, DiagnosticsTreeStyle style }) → DiagnosticsNode -
Returns a debug representation of the object that is used by debugging
tools and by DiagnosticsNode.toStringDeep. [...]
inherited
-
toString(
{DiagnosticLevel minLevel: DiagnosticLevel.debug }) → String -
Returns a string representation of this object.
inherited
-
toStringDeep(
{String prefixLineOne: '', String prefixOtherLines, DiagnosticLevel minLevel: DiagnosticLevel.debug }) → String -
Returns a string representation of this node and its descendants. [...]
inherited
-
toStringShallow(
{String joiner: ', ', DiagnosticLevel minLevel: DiagnosticLevel.debug }) → String -
Returns a one-line detailed description of the object. [...]
inherited
-
toStringShort(
) → String -
A short, textual description of this widget.
inherited
Operators
-
operator ==(
dynamic other) → bool -
The equality operator. [...]
inherited