StateMixin<T> mixin
Null safety
- Superclass Constraints
- Mixin Applications
Properties
- status → RxStatus
-
read-only
- state → T?
-
read-only
- value ↔ T?
- hasListeners → bool
-
read-only, inherited
- listeners → int
-
read-only, inherited
- hashCode → int
-
The hash code for this object. [...]
read-only, inherited
- runtimeType → Type
-
A representation of the runtime type of the object.
read-only, inherited
Methods
-
change(
T? newState, {RxStatus? status}) → void -
append(
Future< T> Function() body(), {String? errorMessage}) → void -
refresh(
) → void -
@protected, inherited
-
refreshGroup(
Object id) → void -
@protected, inherited
-
notifyChildrens(
) → void -
@protected, inherited
-
removeListener(
VoidCallback listener) → void -
Remove a previously registered closure from the list of closures that the
object notifies.
inherited
-
removeListenerId(
Object id, VoidCallback listener) → void -
inherited
-
dispose(
) → void -
@mustCallSuper, inherited
-
addListener(
GetStateUpdate listener) → Disposer -
Register a closure to be called when the object notifies its listeners.
inherited
-
addListenerId(
Object? key, GetStateUpdate listener) → Disposer -
inherited
-
disposeId(
Object id) → void -
To dispose an
id
from future updates(), this ids are registered byGetBuilder()
or similar, so is a way to unlink the state change with the Widget from the Controller.inherited -
toString(
) → String -
A string representation of this object. [...]
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed. [...]
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator. [...]
inherited