SingleTickerProviderViewModelMixin<T extends BaseViewModel<Object> > mixin
base
FLUTTER'S DEFAULT SingleTickerProviderStateMixin SUITABLE FOR VIEWMODEL'S EXTEND FROM BaseViewModel
- Superclass constraints
- Implemented types
Properties
- arguments ↔ dynamic
-
Route
arguments
latefinalinherited - context → BuildContext
-
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- pageState → PageState
-
Gives current state of PageState
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
createTicker(
TickerCallback onTick) → Ticker -
Creates a ticker with the given callback.
override
-
markDockBuilderInitialized(
DockBuilder< BaseViewModel< dockBuilder) → voidObject> > -
Sets the initialization state of created DockBuilder associated with this viewmodel
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
onDependenciesChange(
) → void -
Called after onInit and when dependencies of this object change
inherited
-
onDispose(
) → void -
Called when view is getting disposed
override
-
onInit(
BuildContext element) → void -
Called when View is created
inherited
-
onNextFrame(
Duration timeStamp) → void -
Called at the beginning of the second frame of page render
inherited
-
onPostFrame(
Duration timeStamp) → void -
Called at the end of the first frame of page render.
inherited
-
setPageState(
PageState newPageState) → void -
Sets PageState
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
update(
{required String id}) → void -
Updates Docker bound to this viewmodel with given id
inherited
-
updateAfter(
{required String id, required VoidCallback after}) → void -
Updates Docker bound to this viewmodel with given id after callback is executed
inherited
-
updateMany(
{required List< String> ids}) → void -
Updates Dockers bound to this viewmodel with given ids
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited