FunTextField class
- Inheritance
-
- Object
- DiagnosticableTree
- Widget
- StatelessWidget
- FunTextField
Constructors
- FunTextField({Key? key, required TextEditingController? controller, required String? lable, required String? hint, String? prefixText = "", void onChanged(String)?, String? validator(String?)?, dynamic tkey, int maxLines = 2, int minLines = 1, bool enable = true, dynamic icon, bool forRow = false, TextInputType keybordType = TextInputType.text, TextAlign innertextAling = TextAlign.start, TextInputAction textfieldAction = TextInputAction.next, bool forPhoneNo = false, bool forEmail = false, bool notNull = false, bool onlyNo = false, bool autofocus = false, bool passwordfield = false, dynamic outlineColor = Colors.lightBlue, dynamic outlinOnFocus = Colors.lightBlue, bool fillColor = true, dynamic fillColorValue = Colors.white, Color textColor = Colors.black, double? width, double? height, double textFont = 14, double lableFont = 14, bool isName = false})
Properties
- anyValueRegex → RegExp
-
final
- autofocus → bool
-
final
- controller → TextEditingController?
-
final
- emailRegex → RegExp
-
validation variable define
final
- enable → bool
-
final
- fillColor → bool
-
final
- fillColorValue → dynamic
-
final
- forEmail → bool
-
final
- forPhoneNo → bool
-
final
- forRow → bool
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- height → double?
-
final
- hint → String?
-
final
- icon → dynamic
-
final
- innertextAling → TextAlign
-
final
- isName → bool
-
final
- key → Key?
-
Controls how one widget replaces another widget in the tree.
finalinherited
- keybordType → TextInputType
-
final
- lable → String?
-
final
- lableFont → double
-
final
- maxLines → int
-
final
- minLines → int
-
final
- notNull → bool
-
final
- onChanged → void Function(String)?
-
final
- onlyNo → bool
-
final
- outlineColor → dynamic
-
final
- outlinOnFocus → dynamic
-
final
- passwordfield → bool
-
final
- phoneRegex → RegExp
-
final
- prefixText → String?
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- textColor → Color
-
final
- textfieldAction → TextInputAction
-
final
- textFont → double
-
final
- tkey → dynamic
-
final
- validator → String? Function(String?)?
-
final
- width → double?
-
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
-
inputFormate(
) → dynamic - validation phone number and only number value
-
keyBoardinputFormate(
) → dynamic - validation for the email and phone
-
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