FormInputView class

Inheritance

Constructors

FormInputView({Key? key, String? hint, TextEditingController? controller, EdgeInsets? margin, String? textTitleInput, String? textSuggestion, FormFieldValidator<String>? validator, Function? onTap, dynamic onEditingComplete()?, TextInputAction? textInputAction, ValueChanged<String>? onChanged, TextStyle? textStyle, TextStyle? sugesStyle, Widget? prefix, TextInputType? keyboardType, InputBorder? focusBorder, InputBorder? disabledBorder, EdgeInsets? contentPadding, InputBorder? enabledBorder, Widget? prefixIcon, bool isPw = false, bool enable = true, TextStyle? hintStyle, Widget? suffixIcon, int? maxLength = TextField.noMaxLength, int? maxLines = 1, String? counterText = "", List<TextInputFormatter>? inputFormatter, bool? obscureText, TextStyle? errorStyle, bool requireTitle = false, bool filled = true, bool autofocus = false, bool leftBorder = false, bool showMaxLength = false, Color? fillColor = Colors.white, int? type = 1})
const

Properties

autofocus bool
final
contentPadding EdgeInsets?
final
controller TextEditingController?
final
counterText String?
final
disabledBorder InputBorder?
final
enable bool
final
enabledBorder InputBorder?
final
errorStyle TextStyle?
final
fillColor Color?
final
filled bool
final
focusBorder InputBorder?
final
hashCode int
The hash code for this object.
no setterinherited
hint String?
final
hintStyle TextStyle?
final
inputFormatter List<TextInputFormatter>?
final
isPw bool
final
key Key?
Controls how one widget replaces another widget in the tree.
finalinherited
keyboardType TextInputType?
final
leftBorder bool
final
margin EdgeInsets?
final
maxLength int?
final
maxLines int?
final
obscureText bool?
final
onChanged ValueChanged<String>?
final
onEditingComplete → (dynamic Function()?)
final
onTap Function?
final
prefix Widget?
final
prefixIcon Widget?
final
requireTitle bool
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
showMaxLength bool
final
suffixIcon Widget?
final
sugesStyle TextStyle?
final
textInputAction TextInputAction?
final
textStyle TextStyle?
final
textSuggestion String?
final
textTitleInput String?
final
type int?
final
validator FormFieldValidator<String>?
final

Methods

createElement() StatefulElement
Creates a StatefulElement to manage this widget's location in the tree.
inherited
createState() State<StatefulWidget>
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