InputTextWidget<T> class

Inheritance

Constructors

InputTextWidget({Key? key, required String label, required String formControlName, Map<String, String Function(Object)>? validationMessages, bool? isDarker, int? maxLength, Icon? prefixIcon, Widget? suffixIcon, void onFocusChange(FocusNode)?, bool? autofocus, bool isPassword = false, List<TextInputFormatter>? mask, TextInputType? keyboardType, bool readOnly = false, dynamic onTap(FormControl)?, void onSubmit(FormControl<T> control)?, ControlValueAccessor<T, String>? valueAccessor, TextCapitalization textCapitalization = TextCapitalization.none, bool showClearButton = false, bool? labelAlignLabelWithHint, String? hintText, int maxLines = 1, double? labelFontSize, EdgeInsets? contentPadding})
const

Properties

autofocus → bool?
final
contentPadding → EdgeInsets?
final
formControlName → String
final
hashCode → int
The hash code for this object.
no setterinherited
hintText → String?
final
isDarker → bool?
final
isPassword → bool
Show a toggle button, to obscure or not the text this property overrides the suffixIcon and shouldn't be used with showClearButton
final
key → Key?
Controls how one widget replaces another widget in the tree.
finalinherited
keyboardType → TextInputType?
final
label → String
final
labelAlignLabelWithHint → bool?
final
labelFontSize → double?
final
mask → List<TextInputFormatter>?
final
maxLength → int?
final
maxLines → int
final
onFocusChange → void Function(FocusNode)?
final
onSubmit → void Function(FormControl<T> control)?
final
onTap → dynamic Function(FormControl)?
final
prefixIcon → Icon?
final
readOnly → bool
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
showClearButton → bool
Show clear button when the input is not empty this property overrides the suffixIcon.
final
suffixIcon → Widget?
final
textCapitalization → TextCapitalization
final
validationMessages → Map<String, String Function(Object)>?
final
valueAccessor → ControlValueAccessor<T, String>?
final

Methods

createElement() → StatefulElement
Creates a StatefulElement to manage this widget's location in the tree.
inherited
createState() → State<InputTextWidget<T>>
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, int wrapWidth = 65}) → 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