SmartTextFormField class
- Inheritance
-
- Object
- DiagnosticableTree
- Widget
- StatefulWidget
- SmartTextFormField
Constructors
-
SmartTextFormField({Key? key, required FormType formType, TextEditingController? controller, ValueChanged<
String> ? onChanged, Color? fieldNameColor, double fieldFontSize = StandardFieldStyle.fieldFontSize, FontWeight fieldFontWeight = StandardFieldStyle.fieldFontWeight, Color hintTextColor = StandardFieldStyle.hintTextColor, double hintTextFontSize = StandardFieldStyle.hintTextFontSize, FontWeight hintTextFontWeight = StandardFieldStyle.hintTextFontWeight, Color? iconColor, double iconSize = StandardFieldStyle.iconSize, IconData? suffixIconData, bool outlinedIcon = StandardFieldStyle.outlinedIcon, BorderRadius borderRadius = StandardFieldStyle.borderRadius, BorderSide enabledBorderSide = StandardFieldStyle.enabledBorderSide, BorderSide focusedBorderSide = StandardFieldStyle.focusedBorderSide, BorderSide errorBorderSide = StandardFieldStyle.errorBorderSide, BorderSide focusedErrorBorderSide = StandardFieldStyle.focusedErrorBorderSide, BoxBorder? borderStyle, TextStyle? errorMessageStyle = StandardFieldStyle.errorMessageStyle, EdgeInsets insidePadding = StandardFieldStyle.insidePadding, EdgeInsets outsidePadding = StandardFieldStyle.outsidePadding, Color fillColor = StandardFieldStyle.fillColor, Color primaryColor = StandardFieldStyle.primaryColor}) -
const
Properties
- borderRadius → BorderRadius
-
final
- borderStyle → BoxBorder?
-
Border styling.
final
- controller → TextEditingController?
-
Controllers for text input.
final
- enabledBorderSide → BorderSide
-
final
- errorBorderSide → BorderSide
-
final
- errorMessageStyle → TextStyle?
-
Error messages and styling.
final
- fieldFontSize → double
-
final
- fieldFontWeight → FontWeight
-
final
- fieldNameColor → Color?
-
The label displayed above the field.
final
- fillColor → Color
-
Global field settings.
final
- focusedBorderSide → BorderSide
-
final
- focusedErrorBorderSide → BorderSide
-
final
- formType → FormType
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- hintTextColor → Color
-
Hint text displayed inside the field.
final
- hintTextFontSize → double
-
final
- hintTextFontWeight → FontWeight
-
final
- iconColor → Color?
-
Icon shown as a prefix and suffix inside the field.
final
- iconSize → double
-
final
- insidePadding → EdgeInsets
-
Padding around the field.
final
- key → Key?
-
Controls how one widget replaces another widget in the tree.
finalinherited
-
onChanged
→ ValueChanged<
String> ? -
final
- outlinedIcon → bool
-
final
- outsidePadding → EdgeInsets
-
final
- primaryColor → Color
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- suffixIconData → IconData?
-
final
Methods
-
createElement(
) → StatefulElement -
Creates a StatefulElement to manage this widget's location in the tree.
inherited
-
createState(
) → SmartTextFormFieldState -
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