FormifyTextField class

Inheritance

Constructors

FormifyTextField({Key? key, String? label, String? initialValue, FocusNode? focusNode, TextInputType? keyboardType, TextCapitalization textCapitalization = TextCapitalization.none, TextInputAction? textInputAction, bool obscureText = false, int? maxLines = 1, int? minLines, ValueChanged<String>? onChanged, GestureTapCallback? onTap, ValueChanged<String>? onFieldSubmitted, FormFieldSetter<String>? onSaved, FormFieldValidator<String>? validator, List<TextInputFormatter>? inputFormatters, bool? enabled, bool readOnly = false, AutovalidateMode? autovalidateMode, String? hintText, Widget? suffixIcon, Widget? prefixIcon, TextEditingController? controller, bool required = false, InputDecoration? inputDecoration, GlobalKey<FormFieldState>? formKey})
const

Properties

autovalidateMode AutovalidateMode?
final
controller TextEditingController?
final
enabled bool?
final
focusNode FocusNode?
final
formKey GlobalKey<FormFieldState>?
final
hashCode int
The hash code for this object.
no setterinherited
hintText String?
final
iDecoration InputDecoration
no setter
initialValue String?
final
inputDecoration InputDecoration?
final
inputFormatters List<TextInputFormatter>?
final
key Key?
Controls how one widget replaces another widget in the tree.
finalinherited
keyboardType TextInputType?
final
label String?
final
maxLines int?
final
minLines int?
final
mxLine int?
no setter
obscureText bool
final
onChanged ValueChanged<String>?
final
onFieldSubmitted ValueChanged<String>?
final
onSaved FormFieldSetter<String>?
final
onTap GestureTapCallback?
final
prefixIcon Widget?
final
readOnly bool
final
required bool
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
suffixIcon Widget?
final
tCapitalization TextCapitalization
no setter
textCapitalization TextCapitalization
final
textInputAction TextInputAction?
final
tiAction TextInputAction?
no setter
validator FormFieldValidator<String>?
final

Methods

build(BuildContext context) Widget
Describes the part of the user interface represented by this widget.
override
copyWith({GlobalKey<FormFieldState>? formKey, bool? required, String? label, String? initialValue, FocusNode? focusNode, TextInputType? keyboardType, TextCapitalization? textCapitalization, TextInputAction? textInputAction, bool? obscureText, int? maxLines, int? minLines, ValueChanged<String>? onChanged, GestureTapCallback? onTap, ValueChanged<String>? onFieldSubmitted, FormFieldSetter<String>? onSaved, FormFieldValidator<String>? validator, List<TextInputFormatter>? inputFormatters, bool? enabled, bool? readOnly, AutovalidateMode? autovalidateMode, String? hintText, Widget? suffixIcon, Widget? prefixIcon, TextEditingController? controller, InputDecoration? inputDecoration}) FormifyTextField
createElement() StatelessElement
Creates a StatelessElement to manage this widget's location in the tree.
inherited
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