CustomFormField class
- Inheritance
-
- Object
- DiagnosticableTree
- Widget
- StatelessWidget
- CustomFormField
Constructors
-
CustomFormField({Key? key, required FocusNode? fcs, required TextEditingController ctrl, String? hintTxt, Icon? iconDecoration, void fieldSubmitted(String)?, String? validator(String?)?, bool obscuretxt = false, bool enabled = true, TextInputAction? txtInputAction, TextInputType? keyboardType, Color decorationColor = const Color.fromRGBO(37, 37, 38, 1), Color fontColor = Colors.white, double fontSize = 16, double radius = 20, Widget? widgetPrefix, String? prefixText = '', List<
TextInputFormatter> ? inputFormatters, bool autoFocus = false, int? maxLength, Color decorationBorderColor = const Color.fromRGBO(37, 37, 38, 1), void onChage(String)?, bool hasBorder = true, String? labelText, TextStyle? textStyle, Color lblColor = Colors.black, double letterSpacing = 1.3}) -
const
Properties
- autoFocus → bool
-
final
- ctrl → TextEditingController
-
final
- decorationBorderColor → Color
-
final
- decorationColor → Color
-
final
- enabled → bool
-
final
- fcs → FocusNode?
-
final
- fieldSubmitted → (void Function(String)?)
-
final
- fontColor → Color
-
final
- fontSize → double
-
final
- hasBorder → bool
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- hintTxt → String?
-
final
- iconDecoration → Icon?
-
final
-
inputFormatters
→ List<
TextInputFormatter> ? -
final
- key → Key?
-
Controls how one widget replaces another widget in the tree.
finalinherited
- keyboardType → TextInputType?
-
final
- labelText → String?
-
final
- lblColor → Color
-
final
- letterSpacing → double
-
final
- maxLength → int?
-
final
- obscuretxt → bool
-
final
- onChage → (void Function(String)?)
-
final
- prefixText → String?
-
final
- radius → double
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- textStyle → TextStyle?
-
final
- txtInputAction → TextInputAction?
-
final
- validator → (String? Function(String?)?)
-
final
- widgetPrefix → Widget?
-
final
Methods
-
build(
BuildContext context) → Widget -
Describes the part of the user interface represented by this widget.
override
-
createElement(
) → StatelessElement -
Creates a StatelessElement to manage this widget's location in the tree.
inherited
-
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