TextFormFieldCustom class
- Inheritance
-
- Object
- DiagnosticableTree
- Widget
- StatefulWidget
- TextFormFieldCustom
Constructors
-
TextFormFieldCustom({GlobalKey<
State< ? key, Widget? prefixIcon, Widget? suffixIcon, dynamic beforeInput, double fontSize = 13.0, Color textColor = Colors.black, Color hintColor = Colors.black, Color labelColor = Colors.black, Color borderColor = Colors.black, Color focusedBorderColor = Colors.black, IconData? prefixIconData, Color prefixIconColor = Colors.black, Color focusedPrefixIconColor = Colors.black, double prefixIconSize = 17.0, double borderWidth = 2.0, double focusBorderWidth = 2.0, double borderRadius = 4.0, String labelText = '', String hintText = '', Widget? prefix, bool isOutlineBorder = false, bool isObscureText = false, bool isCollapsed = false, TextAlignVertical? textAlignVertical, int maxLines = 1, int? maxLength, double cursorWidth = 2.0, double verticalPadding = 0.0, double horizontalPadding = 0.0, TextInputType keyboardType = TextInputType.text, Function? validator, Function? onSubmitted, Function? onChanged, FocusNode? focusNode, TextInputAction? textInputAction, TextEditingController? controller, TextStyle? hintTextStyle, TextStyle? labelTextStyle, bool isFilled = false, Color? filledColor, Color cursorColor = Colors.red, StreamController? streamController, TextAlign? textAlign, TextStyle? textStyle, FloatingLabelBehavior floatingLabelBehavior = FloatingLabelBehavior.auto})StatefulWidget> >
Properties
- beforeInput → dynamic
-
final
- borderColor → Color
-
final
- borderRadius → double
-
final
- borderWidth → double
-
final
- controller → TextEditingController?
-
final
- cursorColor → Color
-
final
- cursorWidth → double
-
final
- filledColor → Color?
-
final
- floatingLabelBehavior → FloatingLabelBehavior
-
final
- focusBorderWidth → double
-
final
- focusedBorderColor → Color
-
final
- focusedPrefixIconColor → Color
-
final
- focusNode → FocusNode?
-
final
- fontSize → double
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- hintColor → Color
-
final
- hintText → String
-
final
- hintTextStyle → TextStyle?
-
final
- horizontalPadding → double
-
final
- isCollapsed → bool
-
final
- isFilled → bool
-
final
- isObscureText → bool
-
final
- isOutlineBorder → bool
-
final
-
key
→ GlobalKey<
State< ?StatefulWidget> > -
Controls how one widget replaces another widget in the tree.
final
- keyboardType → TextInputType
-
final
- labelColor → Color
-
final
- labelText → String
-
final
- labelTextStyle → TextStyle?
-
final
- maxLength → int?
-
final
- maxLines → int
-
final
- onChanged → Function?
-
final
- onSubmitted → Function?
-
final
- prefix → Widget?
-
final
- prefixIcon → Widget?
-
final
- prefixIconColor → Color
-
final
- prefixIconData → IconData?
-
final
- prefixIconSize → double
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- streamController → StreamController?
-
final
- suffixIcon → Widget?
-
final
- textAlign → TextAlign?
-
final
- textAlignVertical → TextAlignVertical?
-
final
- textColor → Color
-
final
- textInputAction → TextInputAction?
-
final
- textStyle → TextStyle?
-
final
- validator → Function?
-
final
- verticalPadding → double
-
final
Methods
-
createElement(
) → StatefulElement -
Creates a StatefulElement to manage this widget's location in the tree.
inherited
-
createState(
) → _TextFormFieldCustomState -
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}) → 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