CustomTextField class

Inheritance

Constructors

CustomTextField({Key? key, FocusNode? focusNode, TextStyle? labelStyle, OutlineInputBorder? inputBorder, TextEditingController? controller, int? maxLength, String? labelText, String? hintText, bool isNewStyle = false, bool isPassword = false, String? validator(String?)?, TextInputType? keyboardType, bool readOnly = false, VoidCallback? onTap, int? maxLines, EdgeInsets? contentPadding, Widget? suffixIcon, bool isFilled = false, Widget? prefixIcon, dynamic onSubmitted(String)?, dynamic onChanged(String)?, String? initialValue, BoxConstraints? prefixIconConstraints, bool? autoFocus = false, TextInputAction? textInputAction, TextAlign? textAlign, String? prefixText, double? borderRadius, TextStyle? hintStyle, AutovalidateMode? autoValidateMode, Color? titleColor, List<TextInputFormatter>? inputFormatters, TextStyle? textStyle, double minPrefixWidth = 70, Color? focusedBorderColor, OutlineInputBorder? errorBorder, TextStyle? errorStyle, int? errorMaxlines})
const

Properties

autoFocus → bool?
final
autoValidateMode → AutovalidateMode?
final
borderRadius → double?
final
contentPadding → EdgeInsets?
final
controller → TextEditingController?
final
errorBorder → OutlineInputBorder?
final
errorMaxlines → int?
final
errorStyle → TextStyle?
final
focusedBorderColor → Color?
final
focusNode → FocusNode?
final
hashCode → int
The hash code for this object.
no setterinherited
hintStyle → TextStyle?
final
hintText → String?
final
initialValue → String?
final
inputBorder → OutlineInputBorder?
final
inputFormatters → List<TextInputFormatter>?
final
isFilled → bool
final
isNewStyle → bool
final
isPassword → bool
final
key → Key?
Controls how one widget replaces another widget in the tree.
finalinherited
keyboardType → TextInputType?
final
labelStyle → TextStyle?
final
labelText → String?
final
maxLength → int?
final
maxLines → int?
final
minPrefixWidth → double
final
onChanged → dynamic Function(String)?
final
onSubmitted → dynamic Function(String)?
final
onTap → VoidCallback?
final
prefixIcon → Widget?
final
prefixIconConstraints → BoxConstraints?
final
prefixText → String?
final
readOnly → bool
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
suffixIcon → Widget?
final
textAlign → TextAlign?
final
textInputAction → TextInputAction?
final
textStyle → TextStyle?
final
titleColor → Color?
final
validator → String? Function(String?)?
final

Methods

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