MainNavigationStrategy<T> class abstract

Details which navigations are to be accepted and what to do when navigation is not accepted.

ListNavigationStrategy is the default implementation of this.

Implementers

Constructors

Properties

convertToString String Function(T)
no setter
convertToValue → T Function(String)
no setter
defaultNavigation → T
The navigation that the user defaults to.
no setter
hashCode int
The hash code for this object.
no setterinherited
The navigation when the user attempts to navigate to an undefined page.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

attemptNavigation(T newNavigation) bool
Checks to see if the desired newNavigation is a valid main navigation.
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

Static Methods

defaultConvert<T>(T val) String
defaultStringToValue<T>(String val) → T