NavigationService class abstract
Interface for a navigation service for use by view models.
Since a view model should no nothing about the presentation layer, no context is used here. An implementation of this class is the basis for viewmodel to viewmodel navigation.
- Implementers
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
createViewModel<
T extends ViewModel> (Object? parameter) → ViewModel - Creates a view model of a specified type.
-
initialize(
) → void - Any initiliazation needed to be done by the messenger service.
- Navigates to a new viewmodel of the type specified by the generic.
- Navigates to a new view modeland removed the calling viewmodel from the stack.
- Pops the current view / viewmodel off the stack and goes to the previous one.
- Pops the current view / viewmodel off the stack and goes to the previous one.
- Navigates to a new viewmodel of the type specified by the generic.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited