XTextFormField class

Inheritance

Constructors

XTextFormField({String? label, String hintText = 'inserisci..', Color? focusColor, TextAlign? textAlign, BoxConstraints? suffixIconConstraints, Color? fillColor, bool? alignLabelWithHint, bool? isCollapsed, bool? filled, double? borderWidth, InputBorder? focusedBorder, bool enabled = true, Color? colorBorder, ScrollPhysics? scrollPhysics, ScrollController? scrollController, 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, Widget? prefixIcon, BoxConstraints? prefixIconConstraints})

Properties

alignLabelWithHint bool?
final
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
enabled bool
final
enabledBorder InputBorder?
final
fillColor Color?
final
filled bool?
getter/setter pair
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
isCollapsed bool?
final
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
prefixIcon Widget?
final
prefixIconConstraints BoxConstraints?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
scrollController ScrollController?
final
scrollPhysics ScrollPhysics?
final
showText bool
final
suffixIcon Widget?
final
suffixIconConstraints BoxConstraints?
final
textAlign TextAlign?
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