CustomTextFormField class

Inheritance

Constructors

CustomTextFormField.new({Key? key, String? hintText, int? maxLines = 1, int? minLines = 1, String? labelText, Widget? prefixIcon, bool? filled = true, double radius = 100, bool? obscureText, Widget? suffixIcon, Color? prefixIconColor, Color? suffixIconColor, TextEditingController? controller, TextDirection? textDirection, FormFieldValidator<String>? validator, ValueChanged<String>? onChange, int? maxLength, String? counterText, FormFieldSetter<String>? onSave, bool? enabled = true, TextAlign? textAlign = TextAlign.start, TextAlign? labelAlign = TextAlign.start, Color? labelColor, bool isNumberOnly = false, TextInputType? keyboardType = TextInputType.text, TextInputAction? textInputAction, bool? autofocus, dynamic onFieldSubmitted(String)?, double? width, double? height, Color? borderColor, EdgeInsetsGeometry? contentPadding, FocusNode? focusNode, Color? fillColor, void onTap()?, String? obscuringCharacter = '*', Iterable<String>? autofillHints, bool isLabel = true, BorderRadius? borderRadius, AutovalidateMode? autovalidateMode, Color? textColor, String? lable, double? labelTextSize, InputBorder? disabledBorder, InputBorder? enabledBorder, TextStyle? hintStyle, InputBorder? inputBorder})
const

Properties

autofillHints Iterable<String>?
final
autofocus bool?
final
autovalidateMode AutovalidateMode?
final
borderColor Color?
final
borderRadius BorderRadius?
final
contentPadding EdgeInsetsGeometry?
final
controller TextEditingController?
final
counterText String?
final
disabledBorder InputBorder?
final
enabled bool?
final
enabledBorder InputBorder?
final
fillColor Color?
final
filled bool?
final
focusNode FocusNode?
final
hashCode int
The hash code for this object.
no setterinherited
height double?
final
hintStyle TextStyle?
final
hintText String?
final
inputBorder InputBorder?
final
isLabel bool
final
isNumberOnly bool
final
key Key?
Controls how one widget replaces another widget in the tree.
finalinherited
keyboardType TextInputType?
final
labelAlign TextAlign?
final
labelColor Color?
final
labelText String?
final
labelTextSize double?
final
lable String?
final
maxLength int?
final
maxLines int?
final
minLines int?
final
obscureText bool?
final
obscuringCharacter String?
final
onChange ValueChanged<String>?
final
onFieldSubmitted → dynamic Function(String)?
final
onSave FormFieldSetter<String>?
final
onTap → void Function()?
final
prefixIcon Widget?
final
prefixIconColor Color?
final
radius double
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
suffixIcon Widget?
final
suffixIconColor Color?
final
textAlign TextAlign?
final
textColor Color?
final
textDirection TextDirection?
final
textInputAction TextInputAction?
final
validator FormFieldValidator<String>?
final
width double?
final

Methods

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