XController<TState extends XState> class abstract

Implemented types

Constructors

XController()

Properties

effectStream Stream
no setteroverride
hashCode int
The hash code for this object.
no setterinherited
isDisposed bool
Whether the controller was disposed (e.g. unmounted from the screen).
no setter
isProvided bool
Whether the controller has been provided.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
state → TState
The current state of this controller.
no setter
stateStream Stream<TState>
no setter

Methods

createInitialState() → TState
Creates the initial state when state is references for the first time.
dispose() → void
Disposes the object.
emit(TState state) → void
Emits a new state of this controller.
fireEffect(dynamic effect) → void
Fires a new side effect via the effectStream.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
onProvided() → void
Called after the controller was provided to the tree for the first time.
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited