Presenter<T, I extends AlfreedView> class
abstract
This class must be overriden too
Constructors
Properties
-
animations
→ Map<
String, AlfreedAnimation> ? -
animate your view using controllers
no setter
- args ↔ Object?
-
arguments from route
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- hasInit ↔ bool?
-
getter/setter pair
- presenterState → PresenterState?
-
no setter
- rebuildOnHotReload → bool
-
recall init on hot reload
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- state ↔ T
-
Model containing the current state of the view
getter/setter pair
- view ↔ I
-
Interface defining the exposed methods of the view
getter/setter pair
- viewRef ← ContentView
-
set the view reference to presenter
no getter
Methods
-
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
-
onDeactivate(
) → void - called when view is pop out or hidden
-
onInit(
) → void - called when view init
-
onReassemble(
) → void - called only in dev mode. Reload state on hot reload
-
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