EWTextField class
- Inheritance
-
- Object
- DiagnosticableTree
- Widget
- StatelessWidget
- EWTextField
Constructors
-
EWTextField.new({bool obscure = false, AutovalidateMode autoValidateMode = AutovalidateMode.onUserInteraction, int? errorMaxLines = 1, TextEditingController? controller, TextInputType? keyboardType, TextStyle? textStyle, String? validator(String?)?, String? hintText, String? labelText, Widget? prefixIcon, String? errorText, Color? cursorColor, Widget? suffixIcon, dynamic onChanged(String)?, GestureTapCallback? onTap, bool readOnly = false, FocusNode? focusNode, bool autocorrect = false, Iterable<
String> ? autofillHints, bool autofocus = false, InputCounterWidgetBuilder? buildCounter, bool canRequestFocus = true, Clip clipBehavior = Clip.hardEdge, ContentInsertionConfiguration? contentInsertionConfiguration, double? cursorHeight, bool cursorOpacityAnimates = false, Radius? cursorRadius, double? cursorWidth, DragStartBehavior dragStartBehavior = DragStartBehavior.start, bool enabled = true, bool enableIMEPersonalizedLearning = true, bool enableSuggestions = true, bool enableInteractiveSelection = false, String? initialValue, Brightness? keyboardAppearance, bool expands = false, List<TextInputFormatter> ? inputFormatters, TextMagnifierConfiguration? magnifierConfiguration, int? maxLength, MaxLengthEnforcement? maxLengthEnforcement, int? maxLines = 1, int? minLines, MouseCursor? mouseCursor, AppPrivateCommandCallback? onAppPrivateCommand, VoidCallback? onEditingComplete, ValueChanged<String> ? onFieldSubmitted, dynamic onSaved(String?)?, TapRegionCallback? onTapOutside, String? restorationId, bool scribbleEnabled = true, ScrollController? scrollController, ScrollPhysics? scrollPhysics, StrutStyle? strutStyle, TextAlign textAlign = TextAlign.start, TextAlignVertical? textAlignVertical, TextDirection? textDirection, TextCapitalization textCapitalization = TextCapitalization.none, String? helperText, TextStyle? labelStyle, EdgeInsetsGeometry? contentPadding, Key? key}) -
const
Properties
- autocorrect → bool
-
final
-
autofillHints
→ Iterable<
String> ? -
final
- autofocus → bool
-
final
- autoValidateMode → AutovalidateMode
-
final
- buildCounter → InputCounterWidgetBuilder?
-
final
- canRequestFocus → bool
-
final
- clipBehavior → Clip
-
final
- contentInsertionConfiguration → ContentInsertionConfiguration?
-
final
- contentPadding → EdgeInsetsGeometry?
-
final
- controller → TextEditingController?
-
final
- cursorColor → Color?
-
final
- cursorHeight → double?
-
final
- cursorOpacityAnimates → bool
-
final
- cursorRadius → Radius?
-
final
- cursorWidth → double?
-
final
- dragStartBehavior → DragStartBehavior
-
final
- enabled → bool
-
final
- enableIMEPersonalizedLearning → bool
-
final
- enableInteractiveSelection → bool
-
final
- enableSuggestions → bool
-
final
- errorMaxLines → int?
-
final
- errorText → String?
-
final
- expands → bool
-
final
- focusNode → FocusNode?
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- helperText → String?
-
final
- hintText → String?
-
final
- initialValue → String?
-
final
-
inputFormatters
→ List<
TextInputFormatter> ? -
final
- key → Key?
-
Controls how one widget replaces another widget in the tree.
finalinherited
- keyboardAppearance → Brightness?
-
final
- keyboardType → TextInputType?
-
final
- labelStyle → TextStyle?
-
final
- labelText → String?
-
final
- magnifierConfiguration → TextMagnifierConfiguration?
-
final
- maxLength → int?
-
final
- maxLengthEnforcement → MaxLengthEnforcement?
-
final
- maxLines → int?
-
final
- minLines → int?
-
final
- mouseCursor → MouseCursor?
-
final
- obscure → bool
-
final
- onAppPrivateCommand → AppPrivateCommandCallback?
-
final
- onChanged → dynamic Function(String)?
-
final
- onEditingComplete → VoidCallback?
-
final
-
onFieldSubmitted
→ ValueChanged<
String> ? -
final
- onSaved → dynamic Function(String?)?
-
final
- onTap → GestureTapCallback?
-
final
- onTapOutside → TapRegionCallback?
-
final
- prefixIcon → Widget?
-
final
- readOnly → bool
-
final
- restorationId → String?
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- scribbleEnabled → bool
-
final
- scrollController → ScrollController?
-
final
- scrollPhysics → ScrollPhysics?
-
final
- strutStyle → StrutStyle?
-
final
- suffixIcon → Widget?
-
final
- textAlign → TextAlign
-
final
- textAlignVertical → TextAlignVertical?
-
final
- textCapitalization → TextCapitalization
-
final
- textDirection → TextDirection?
-
final
- textStyle → TextStyle?
-
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
-
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