FxTextFormField class
A custom text form field widget with additional features.
- Inheritance
-
- Object
- DiagnosticableTree
- Widget
- StatefulWidget
- FxTextFormField
- Available Extensions
Constructors
-
FxTextFormField({Key? key, String? hintText, String? label, Color? fieldColor, Color? borderColor, IconData? prefixIcon, IconData? suffixIcon, bool isSecure = false, BorderRadiusGeometry? borderRadius, int? maxLines, TextInputType? keyboardType, bool border = false, TextEditingController? controller, List<
String> ? validations, EdgeInsets? padding, List<BoxShadow> ? boxShadow}) -
Constructs a FxTextFormField.
const
Properties
- border → bool
-
Determines whether to display a border around the text form field.
final
- borderColor → Color?
-
The border color of the text form field.
final
- borderRadius → BorderRadiusGeometry?
-
The border radius of the text form field container.
final
-
boxShadow
→ List<
BoxShadow> ? -
final
- controller → TextEditingController?
-
The controller for editing the text.
final
- fieldColor → Color?
-
The background color of the text form field.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- hintText → String?
-
The hint text displayed inside the text form field when empty.
final
- isSecure → bool
-
Determines whether the text form field is secure (e.g., for passwords).
final
- key → Key?
-
Controls how one widget replaces another widget in the tree.
finalinherited
- keyboardType → TextInputType?
-
The type of keyboard to display for text input.
final
- label → String?
-
The label displayed above the text form field.
final
- maxLines → int?
-
The maximum number of lines for multi-line input.
final
- padding → EdgeInsets?
-
The padding around the text form field container.
final
- prefixIcon → IconData?
-
The icon displayed as a prefix of the text form field.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- suffixIcon → IconData?
-
The icon displayed as a suffix of the text form field.
final
-
validations
→ List<
String> ? -
The list of validation rules to apply to the text form field.
final
Methods
-
createElement(
) → StatefulElement -
Creates a StatefulElement to manage this widget's location in the tree.
inherited
-
createState(
) → State< FxTextFormField> -
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