AppTextField class
- Inheritance
-
- Object
- DiagnosticableTree
- Widget
- StatefulWidget
- AppTextField
Constructors
-
AppTextField({Key? key, String? labelText, String? hintText, String errorText = '', String? helpText, String? counterText = '', TextStyle? textStyle, Color? borderColor, Color? backgroundColor, int? minLines, int maxLines = 1, int? maxLength, bool obscureText = false, bool enable = true, bool autoFocus = false, dynamic onTap()?, TextInputType keyboardType = TextInputType.text, List<
TextInputFormatter> ? inputFormatters, FocusNode? focusNode, TextEditingController? controller, ValueChanged<String> ? onChangedText, dynamic onChangedFocus(bool?)?, ValueChanged<String> ? onSubmit, bool? isSearch, Widget? prefixIcon, bool readOnly = false, TextAlign textAlign = TextAlign.left, dynamic onEditingComplete()?, TextCapitalization textCapitalization = TextCapitalization.none, bool autocorrect = true, bool enableSuggestions = true, double? height, bool? isArea, dynamic searchTap()?, TextInputAction? textInputAction, Widget? suffixIcon}) -
const
Properties
- autocorrect → bool
-
final
- autoFocus → bool
-
final
- backgroundColor → Color?
-
final
- borderColor → Color?
-
final
- controller → TextEditingController?
-
final
- counterText → String?
-
final
- enable → bool
-
final
- enableSuggestions → bool
-
final
- errorText → String
-
final
- focusNode → FocusNode?
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- height → double?
-
final
- helpText → String?
-
final
- hintText → String?
-
final
-
inputFormatters
→ List<
TextInputFormatter> ? -
final
- isArea → bool?
-
final
- isSearch → bool?
-
final
- key → Key?
-
Controls how one widget replaces another widget in the tree.
finalinherited
- keyboardType → TextInputType
-
final
- labelText → String?
-
final
- maxLength → int?
-
final
- maxLines → int
-
final
- minLines → int?
-
final
- obscureText → bool
-
final
- onChangedFocus → (dynamic Function(bool?)?)
-
final
-
onChangedText
→ ValueChanged<
String> ? -
final
- onEditingComplete → (dynamic Function()?)
-
final
-
onSubmit
→ ValueChanged<
String> ? -
final
- onTap → (dynamic Function()?)
-
final
- prefixIcon → Widget?
-
final
- readOnly → bool
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- searchTap → (dynamic Function()?)
-
final
- suffixIcon → Widget?
-
final
- textAlign → TextAlign
-
final
- textCapitalization → TextCapitalization
-
final
- textInputAction → TextInputAction?
-
final
- textStyle → TextStyle?
-
final
Methods
-
createElement(
) → StatefulElement -
Creates a StatefulElement to manage this widget's location in the tree.
inherited
-
createState(
) → AppTextFieldState -
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