ObservableTextField class
- Inheritance
-
- Object
- ObservableField<
String> - ObservableTextField
Constructors
-
ObservableTextField(String value, {Validate<
String> ? validate, ComputeError<String> ? computeError, ComputeDisplayError<String> ? displayError, ControllerFactory? controller, FocusNodeFactory? focusNode})
Properties
- controller → TextEditingController
-
no setter
-
displayError
→ ObservableComputed<
String?> -
latefinalinherited
-
disposers
→ Set<
Disposer> -
finalinherited
-
error
→ WritableObservableComputed<
String?> -
latefinalinherited
- focusNode → FocusNode
-
finalinherited
-
hasFocus
→ ObservableState<
bool> -
latefinalinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
-
inner
→ ObservableState<
String> -
finalinherited
-
observers
→ UnmodifiableSetView<
ObserverMixin> -
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- value ↔ String
-
getter/setter pairinherited
-
wasChangedWhileFocused
→ ObservableState<
bool> -
latefinalinherited
-
wasEverChanged
→ ObservableState<
bool> -
latefinalinherited
-
wasEverUnfocused
→ ObservableState<
bool> -
latefinalinherited
Methods
-
addObserver(
ObserverMixin observer) → void -
inherited
-
addPlugin(
StatePlugin< String> plugin) → void -
inherited
-
asStream(
) → Stream< String> -
Stream of
Observable
's values. Emits whenever value is setinherited -
computed<
T> (T compute(Watch watch), {Equals< T> ? equals}) → ObservableComputed<T> -
inherited
-
computedFactory<
T, TParam> (T compute(Watch watch, TParam param)) → ComputedFactory< T, TParam> -
inherited
-
disposable<
T extends Disposable> (T disposable) → T -
inherited
-
dispose(
) → void -
override
-
listen(
ValueChanged< String> onChanged) → Disposer -
inherited
-
listenSync(
ValueChanged< String> onChanged) → Disposer -
onChanged
is called before any other observer is notified. This is useful if you want to update otherRootObservableState
s in the sameObservableContext
phase.inherited -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
removeObserver(
ObserverMixin observer) → void -
inherited
-
setValue(
String value) → bool -
bool indicates if value was actually set,
i.e. not discarded by
equals
-
state<
T> (T value, {Equals< T> ? equals}) → ObservableState<T> -
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
writableComputed<
T> ({required T get(Watch watch), required void set(T value), Equals< T> ? equals}) → WritableObservableComputed<T> -
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited