AppTextFieldEx class
- Inheritance
-
- Object
- DiagnosticableTree
- Widget
- StatelessWidget
- AppTextFieldEx
Constructors
-
AppTextFieldEx({TextInputAction? textInputAction, TextEditingController? controller, String? regExp, InputDecoration? decoration, AutovalidateMode? autovalidateMode, BoxDecoration? decorationIos, String? validateMessage, bool isDarkBackgound = false, Widget? icon, TextDirection? textDirection, String? validator(String?)?, TextInputType? keyboardType, String? labelText, String? description, bool isRequired = false, void onEditingComplete()?, void onTextChanged(String)?, FocusNode? focusNode, bool enabled = true, bool obscureText = false, bool autoFocus = false, void onFieldSubmitted(String)?, int? maxLines = 1, int? minLines, TextStyle? textStyle, double? labelSize = 16, bool? removeAllSpaces = false, bool? fixArabicAndLeftToRight = true, List<
TextInputFormatter> ? formatters})
Properties
- autoFocus → bool
-
final
- autovalidateMode → AutovalidateMode?
-
final
- controller → TextEditingController?
-
final
- decoration → InputDecoration?
-
final
- decorationIos → BoxDecoration?
-
final
- defaultTextStyle → TextStyle
-
no setter
- description → String?
-
final
- enabled → bool
-
final
- fixArabicAndLeftToRight → bool?
-
final
- focusNode → FocusNode?
-
final
-
formatters
→ List<
TextInputFormatter> ? -
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- icon → Widget?
-
final
- isDarkBackgound → bool
-
final
- isRequired → bool
-
final
- key → Key?
-
Controls how one widget replaces another widget in the tree.
finalinherited
- keyboardType → TextInputType?
-
final
- labelSize → double?
-
final
- labelText → String?
-
final
- maxLines → int?
-
final
- minLines → int?
-
final
- obscureText → bool
-
final
- onEditingComplete → (void Function()?)
-
final
- onFieldSubmitted → (void Function(String)?)
-
final
- onTextChanged → (void Function(String)?)
-
must assign controller to UserData on text changed
final
- regExp → String?
-
final
- removeAllSpaces → bool?
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- textDirection → TextDirection?
-
final
- textInputAction → TextInputAction?
-
final
- textStyle → TextStyle?
-
final
- validateMessage → String?
-
final
- validator → (String? Function(String?)?)
-
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
-
getMultiRowText(
dynamic context) → Widget -
getSingleRowText(
dynamic context) → Widget -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
replaceToEnglishNumber(
String input) → String -
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