TxtFormInput class

Inheritance

Constructors

TxtFormInput({Key? key, TextEditingController? controller, String? hintText, String? labelText, bool isPassword = false, bool enabled = true, bool autofocus = false, bool readOnly = false, bool isOptional = false, int? maxLength, int? maxLines, int? minLines, int? validationLength, Color? borderColor, Color? cursorColor, Color? fillColor, double? borderWidth, BorderRadius? borderRadius, EdgeInsetsGeometry? contentPadding, TxtInputBorderType? borderType, String? errorMessage, String? errorLengthMessage, String? validationConditionAddOn()?, double? height, String? fontFamily, String? labelFontFamily, String? hintFontFamily, double? labelTextSize, double? hintTextSize, Color? labelTextColor, Color? hintTextColor, FontStyle? labelFontStyle, FontStyle? hintFontStyle, FontWeight? labelFontWeight, FontWeight? hintFontWeight, double? labelPadding, TextStyle? style, TextAlign textAlign = TextAlign.start, ValueChanged<String>? onChanged, GestureTapCallback? onTap, TextInputType? keyboardType, TextInputAction? textInputAction, FocusNode? focusNode, VoidCallback? onEditingComplete, List<TextInputFormatter>? inputFormatters, Widget? preFix, Widget? postFix, bool showCursor = true})
const

Properties

autofocus bool
final
borderColor Color?
final
borderRadius BorderRadius?
final
borderType TxtInputBorderType?
final
borderWidth double?
final
contentPadding EdgeInsetsGeometry?
final
controller TextEditingController?
final
cursorColor Color?
final
enabled bool
final
errorLengthMessage String?
final
errorMessage String?
final
fillColor Color?
final
focusNode FocusNode?
final
fontFamily String?
final
hashCode int
The hash code for this object.
no setterinherited
height double?
final
hintFontFamily String?
final
hintFontStyle FontStyle?
final
hintFontWeight FontWeight?
final
hintText String?
final
hintTextColor Color?
final
hintTextSize double?
final
inputFormatters List<TextInputFormatter>?
final
isOptional bool
final
isPassword bool
final
key Key?
Controls how one widget replaces another widget in the tree.
finalinherited
keyboardType TextInputType?
final
labelFontFamily String?
final
labelFontStyle FontStyle?
final
labelFontWeight FontWeight?
final
labelPadding double?
final
labelText String?
final
labelTextColor Color?
final
labelTextSize double?
final
maxLength int?
final
maxLines int?
final
minLines int?
final
onChanged ValueChanged<String>?
final
onEditingComplete VoidCallback?
final
onTap GestureTapCallback?
final
postFix Widget?
final
preFix Widget?
final
readOnly bool
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
showCursor bool
final
style TextStyle?
final
textAlign TextAlign
final
textInputAction TextInputAction?
final
validationConditionAddOn String? Function()?
final
validationLength int?
final

Methods

createElement() StatefulElement
Creates a StatefulElement to manage this widget's location in the tree.
inherited
createState() State<TxtFormInput>
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, int wrapWidth = 65}) 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