Presenter<T extends MVVMModel, I> class
abstract
This class must be overriden too
Constructors
- Presenter(T viewModel, I viewInterface)
- Container controlling the current state of the view
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- view ← MVVMView
-
set the view reference to presenter
no getter
- viewInterface ↔ I
-
Interface defining the exposed methods of the view
getter/setter pair
- viewModel ↔ T
-
Model containing the current state of the view
getter/setter pair
Methods
-
afterViewDestroyed(
) → void - called after view is destroyed
-
afterViewInit(
) → void - called when view has been drawn for the 1st time
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
onDestroy(
) → void - called when view is destroyed
-
onInit(
) → void - called when view init
-
refreshAnimations(
) → Future< void> ? - call this to refresh animations this will start animations from your animation listener of MvvmBuilder
-
refreshView(
) → void -
call this to refresh the view
if you mock
I
this will have no effect when calling forceRefreshView -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited