TextFieldBlocBuilder<T extends FormBloc> class

Inheritance

Constructors

TextFieldBlocBuilder({Key? key, required String fieldName, InputDecoration decoration = const InputDecoration(), TextInputType? keyboardType, bool obscureText = false, Widget? obscureTextFalseIcon = const Icon(Icons.visibility_off), Widget? obscureTextTrueIcon = const Icon(Icons.visibility), TextStyle? style, SuffixButton? suffixButton, int? minLines, int? maxLines = 1, bool autofocus = false, bool autocorrect = true, int? maxLength, bool? enabled, bool expands = false, bool readOnly = false, bool enableSuggestions = true})
Create a text field input

Properties

autocorrect bool
Whether to enable autocorrection.
final
autofocus bool
Whether this text field should focus itself if nothing else is already focused.
final
decoration InputDecoration
final
enabled bool?
final
enableSuggestions bool
final
expands bool
Whether this widget's height will be sized to fill its parent.
final
fieldName String
Fieldname to map with a field of the parent FormBloc in the widget tree
final
hashCode int
The hash code for this object.
no setterinherited
key Key?
Controls how one widget replaces another widget in the tree.
finalinherited
keyboardType TextInputType?
The type of keyboard to use for editing the text.
final
maxLength int?
final
maxLines int?
The maximum number of lines to show at one time, wrapping if necessary.
final
minLines int?
The minimum number of lines to occupy when the content spans fewer lines.
final
obscureText bool
final
obscureTextFalseIcon Widget?
final
obscureTextTrueIcon Widget?
final
readOnly bool
Whether the text can be changed.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
style TextStyle?
final
suffixButton SuffixButton?
final

Methods

createElement() StatefulElement
Creates a StatefulElement to manage this widget's location in the tree.
inherited
createState() → _TextFieldBlocBuilderState<FormBloc>
Creates the mutable state for this widget at a given location in the tree.
override
debugDescribeChildren() List<DiagnosticsNode>
Returns a list of DiagnosticsNode objects describing this node's children.
inherited
debugFillProperties(DiagnosticPropertiesBuilder properties) → void
Add additional properties associated with the node.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent 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.info}) String
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 ==(Object other) bool
The equality operator.
inherited