AN ABSTRACT BaseViewModel CLASS FOR CONTROLLING VIEW.
AIM OF THIS CLASS IS LEAVING UI THINGS TO VIEW AND PUTTING ALL THE METHODS HERE.
YOU WILL HAVE FULL CONTROL OVER STATE OF VIEW
- Implementers
Constructors
Properties
Methods
-
markStateBuilderInitialized(
StateBuilder< BaseViewModel< stateBuilder) → voidObject> > -
Sets the initialization state of created StateBuilder 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
-
onDispose(
) → void - Called when view is getting disposed
-
onInit(
BuildContext element) → void - Called when View is created
-
onNextFrame(
Duration timeStamp) → void - Called at the beginning of the second frame of page render
-
onPostFrame(
Duration timeStamp) → void - Called at the end of the first frame of page render.
-
setPageState(
PageState newPageState) → void -
Sets PageState
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
update(
{required Object 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< Object> ids}) → void -
Updates Dockers bound to this viewmodel with given ids
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited