XTextFormField class

Inheritance

Constructors

XTextFormField({String? label, String hintText = 'inserisci..', Color? focusColor, BoxConstraints? suffixIconConstraints, Color? fillColor, double? borderWidth, InputBorder? focusedBorder, Color? colorBorder, bool borderVisible = true, InputBorder? border, Widget? suffixIcon, TextCapitalization textCapitalization = TextCapitalization.none, EdgeInsetsGeometry? contentPadding, bool? isDenseTextFormField = true, InputBorder? enabledBorder, InputBorder? disabledBorder, FloatingLabelBehavior? floatingLabelBehaviorActive, TextStyle? hintStyle, TextStyle? labelStyle, TextStyle? textStyle, Function? onEditingComplete, String? initialValue, List<String>? ddItems, List<TextInputFormatter>? inputFormatters, bool isVisibleBTNsave = false, TextEditingController? controller, Function? onPressedBTNSave, double? width, Color? textColor, GestureTapCallback? onTap, int? maxLines, double? height = 40, ValueChanged<String>? onChanged, bool multiLines = false, TextInputType keyboardType = TextInputType.text, TextInputAction textInputAction = TextInputAction.next, dynamic onFieldSubmitted(String?)?, dynamic onSaved(String?)?, String? validator(String?)?, Widget? counter, FocusNode? focusNode, AutovalidateMode? autovalidateMode, int? maxLenght, bool autoFocus = false, bool showText = false})

Properties

autoFocus bool
final
autovalidateMode AutovalidateMode?
final
border InputBorder?
final
borderVisible bool
final
borderWidth double?
final
colorBorder Color?
final
contentPadding EdgeInsetsGeometry?
final
controller TextEditingController?
final
counter Widget?
final
ddItems List<String>?
final
disabledBorder InputBorder?
final
enabledBorder InputBorder?
final
fillColor Color?
final
floatingLabelBehaviorActive FloatingLabelBehavior?
final
focusColor Color?
final
focusedBorder InputBorder?
final
focusNode FocusNode?
final
hashCode int
The hash code for this object.
no setterinherited
height double?
final
hintStyle TextStyle?
final
hintText String
final
initialValue String?
final
inputFormatters List<TextInputFormatter>?
getter/setter pair
isDenseTextFormField bool?
final
isVisibleBTNsave bool
final
key Key?
Controls how one widget replaces another widget in the tree.
finalinherited
keyboardType TextInputType
final
label String?
final
labelStyle TextStyle?
final
maxLenght int?
final
maxLines int?
final
multiLines bool
final
onChanged ValueChanged<String>?
final
onEditingComplete Function?
final
onFieldSubmitted → dynamic Function(String?)?
Settalo per gestire l'uscita dal campo
final
onPressedBTNSave Function?
Settalo gestire l'onPressed del botton di salvataggio in basso a destra del Campo solo se TRUE isVisibleBTNsave
final
onSaved → dynamic Function(String?)?
final
onTap GestureTapCallback?
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
showText bool
final
suffixIcon Widget?
final
suffixIconConstraints BoxConstraints?
final
textCapitalization TextCapitalization
final
textColor Color?
final
textInputAction TextInputAction
final
textStyle TextStyle?
final
validator String? Function(String?)?
final
width double?
final

Methods

build(BuildContext context) Widget
Describes the part of the user interface represented by this widget.
override
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