CustomInputFormField class

Inheritance

Constructors

CustomInputFormField({required TextEditingController controller, required FocusNode focusNode, required ValueChanged<String> onChange, Key? key, FocusNode? focusNodeNext, GestureTapCallback? onClearIconTap, Widget? clearIcon, Color? focusBorderColor, bool hasClearIcon = false, dynamic onSubmit(String)?, int maxLine = 1, IconData? prefixIcon, Widget? suffixIcon, TextStyle? hintTextStyle, TextStyle? titleStyle, TextStyle? labelTextStyle, TextStyle? contentStyle, Widget? titleIcon, bool hasTitleIcon = false, String? title, EdgeInsetsGeometry? contentPadding, EdgeInsetsGeometry? textFormFieldMargin, bool hasTitle = false, String? hintText, String? labelText, bool hasPrefixIcon = false, bool hasSuffixIcon = false, bool isPassword = false, TextInputType textInputType = TextInputType.phone, FormFieldValidator<String>? validator, List<TextInputFormatter>? inputFormatters, double? width, double? height, Color? backgroundColor, TextInputAction textInputAction = TextInputAction.done, bool hasEmpty = false, bool isBoxShadow = false, String? textValue, AutovalidateMode autovalidate = AutovalidateMode.onUserInteraction, bool? isEnable = true, int? maxLenght = 200, bool isPasswordVisible = false, Widget? prefixIconCustom, GestureTapCallback? onSuffixIconTap, Color? iconColor, Color? disableBorderColor, Color? enabledBorder, Color? border, TextStyle? floatingLabelStyle, double? radius, TextStyle? errorStyle, bool isThemeTitleTop = false, TextAlign? textAlign})

Properties

autovalidate AutovalidateMode
final
backgroundColor Color?
final
border Color?
final
clearIcon Widget?
final
contentPadding EdgeInsetsGeometry?
final
contentStyle TextStyle?
final
controller TextEditingController
final
disableBorderColor Color?
final
enabledBorder Color?
final
errorStyle TextStyle?
final
floatingLabelStyle TextStyle?
final
focusBorderColor Color?
final
focusNode FocusNode
final
focusNodeNext FocusNode?
final
hasClearIcon bool
final
hasEmpty bool
final
hashCode int
The hash code for this object.
no setterinherited
hasPrefixIcon bool
final
hasSuffixIcon bool
final
hasTitle bool
final
hasTitleIcon bool
final
height double?
final
hintText String?
final
hintTextStyle TextStyle?
final
iconColor Color?
final
inputFormatters List<TextInputFormatter>?
final
isBoxShadow bool
final
isEnable bool?
final
isPassword bool
final
isPasswordVisible bool
getter/setter pair
isThemeTitleTop bool
final
key Key?
Controls how one widget replaces another widget in the tree.
final
labelText String?
final
labelTextStyle TextStyle?
final
maxLenght int?
final
maxLine int
final
onChange ValueChanged<String>
final
onClearIconTap GestureTapCallback?
final
onSubmit → dynamic Function(String)?
final
onSuffixIconTap GestureTapCallback?
final
prefixIcon IconData?
final
prefixIconCustom Widget?
final
radius double?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
suffixIcon Widget?
final
textAlign TextAlign?
final
textFormFieldMargin EdgeInsetsGeometry?
final
textInputAction TextInputAction
final
textInputType TextInputType
final
textValue String?
final
title String?
final
titleIcon Widget?
final
titleStyle TextStyle?
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<CustomInputFormField>
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