InjectedTextEditing class abstract
Inject a TextEditingController
Constructors
Properties
- autoDisposeWhenNotUsed → bool
-
no setterinherited
- composing → TextRange
-
The range of text that is still being composed.
no setter
- controller → TextEditingControllerImp
-
A controller for an editable text field.
no setter
- error ↔ dynamic
-
Get the error text (as String)
getter/setter pair
- focusNode → FocusNode
-
Creates a focus node for this TextField
no setter
- hasData → bool
-
The state is mutated successfully.
no setterinherited
- hasError → bool
-
The stats has error
no setterinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- hasObservers → bool
-
Whether the state has observers
no setterinherited
- isActive → bool
-
Whether the state is active or not.
no setterinherited
- isDone → bool
-
The state is mutated using a stream and the stream is done.
no setterinherited
- isIdle → bool
-
The state is initialized and never mutated.
no setterinherited
- isValid → bool
-
Whether it passes the validation test
no setter
- isWaiting → bool
-
The state is waiting for and asynchronous task to end.
no setterinherited
-
oldSnapState
→ SnapState<
String> -
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- selection → TextSelection
-
The range of text that is currently selected.
no setter
-
snapState
↔ SnapState<
String> -
A snap representation of the state
getter/setter pairinherited
- state → String
-
no setterinherited
-
stateAsync
→ Future<
String> -
It is a future of the state. The future is active if the state is on the
isWaiting status.
no setterinherited
- text → String
-
The current text being edited.
no setter
Methods
-
dispose(
) → void -
Dispose the state.
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
notify(
) → void -
Notify observers
inherited
-
onAll<
R> ({R onIdle()?, required R onWaiting()?, required R onError(dynamic error, VoidCallback refreshError)?, required R onData(String data)}) → R -
inherited
-
onOrElse<
R> ({R onIdle()?, R onWaiting()?, R onError(dynamic error, VoidCallback refreshError)?, R onData(String data)?, required R orElse(String data)}) → R -
inherited
-
reset(
) → void - Set the field to its initialValue
-
toString(
) → String -
A string representation of this object.
inherited
-
validate(
) → bool - Get Validator to be used with TextFormField Validate the input text by invoking its validator.
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited