TickerProviderWidgetModelMixin mixin
Ticker provider for WidgetModel based on TickerProviderStateMixin https://api.flutter.dev/flutter/widgets/TickerProviderStateMixin-mixin.html
- Superclass Constraints
- Implemented types
Properties
Methods
-
createTicker(
TickerCallback onTick) → Ticker -
Creates a ticker with the given callback.
override
-
dispose(
) → void -
Close streams of WM
override
-
doFuture<
T> (Future< T> future, void onValue(T value), {void onError(Object error)?}) → void -
Call a future.
Using Rx wrappers with subscribe method is preferable.
inherited
-
doFutureHandleError<
T> (Future< T> future, void onValue(T value), {void onError(Object error)?}) → void -
Call a future with default error handling
inherited
-
handleError(
Object e) → void -
standard error handling
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
onBind(
) → void -
here need to bind
inherited
-
onLoad(
) → void -
called when widget ready
inherited
-
subscribe<
T> (Stream< T> stream, void onValue(T value), {void onError(Object error)?}) → StreamSubscription<T> -
subscribe for interactors
inherited
-
subscribeHandleError<
T> (Stream< T> stream, void onValue(T value), {void onError(Object error)?}) → StreamSubscription<T> -
subscribe for interactors with default handle error
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited