XTextFormFieldWithLabel class

Inheritance

Constructors

XTextFormFieldWithLabel({CrossAxisAlignment? crossAxisAlignment, String? label = "", EdgeInsets? marginContainerText, TextEditingController? controller, TextStyle? labelStyle, TextStyle? textStyle, TextStyle? hintStyle, TextAlign? textAlign, int? flexTextContainer, int? maxLenght, Color? colorBorder, bool? readOnlyFormField = false, Alignment? alignment, VoidCallback? onEditingComplete, GestureTapCallback? onTap, TextAlignVertical? textAlignVertical, Alignment? alignmentLabel, IconData? icon, FormFieldValidator<String>? validator, AutovalidateMode? autovalidateMode, ValueChanged<String>? onChanged, bool? autovalidate, List<TextInputFormatter>? inputFormatters, InputDecoration? decoration, int? minLines, int? maxLines, bool? expands = false, dynamic onPressed()?, TextInputType? keyboardType, String? initialValue = "", FocusNode? focusNode, int? flexLabelContainer, dynamic onFieldSubmitted(String)?, String? hintText = ''})

Properties

alignment Alignment?
final
alignmentLabel Alignment?
getter/setter pair
autovalidate bool?
getter/setter pair
autovalidateMode AutovalidateMode?
getter/setter pair
colorBorder Color?
final
controller TextEditingController?
final
crossAxisAlignment CrossAxisAlignment?
getter/setter pair
decoration InputDecoration?
getter/setter pair
expands bool?
getter/setter pair
flexLabelContainer int?
final
flexTextContainer int?
final
focusNode FocusNode?
final
hashCode int
The hash code for this object.
no setterinherited
hintStyle TextStyle?
final
hintText String?
final
icon IconData?
final
initialValue String?
final
inputFormatters List<TextInputFormatter>?
getter/setter pair
key Key?
Controls how one widget replaces another widget in the tree.
finalinherited
keyboardType TextInputType?
final
label String?
final
labelStyle TextStyle?
final
marginContainerText EdgeInsets?
final
maxLenght int?
final
maxLines int?
getter/setter pair
minLines int?
final
onChanged ValueChanged<String>?
final
onEditingComplete VoidCallback?
getter/setter pair
onFieldSubmitted → dynamic Function(String)?
final
onPressed → dynamic Function()?
final
onTap GestureTapCallback?
getter/setter pair
readOnlyFormField bool?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
textAlign TextAlign?
getter/setter pair
textAlignVertical TextAlignVertical?
final
textStyle TextStyle?
final
validator FormFieldValidator<String>?
getter/setter pair

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