DefaultTransitionDelegate<T> class
The default implementation of TransitionDelegate that the Navigator will use if its Navigator.transitionDelegate is not specified.
This transition delegate follows two rules. Firstly, all the entering routes are placed on top of the exiting routes if they are at the same location. Secondly, the top most route will always transition with an animated transition. All the other routes below will either be completed with Route.currentResult or added without an animated transition.
- Inheritance
-
- Object
- TransitionDelegate<
T> - DefaultTransitionDelegate
Constructors
- DefaultTransitionDelegate()
-
Creates a default transition delegate.
const
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
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
resolve(
{required List< RouteTransitionRecord> newPageRouteHistory, required Map<RouteTransitionRecord?, RouteTransitionRecord> locationToExitingPageRoute, required Map<RouteTransitionRecord?, List< pageRouteToPagelessRoutes}) → Iterable<RouteTransitionRecord> >RouteTransitionRecord> -
A method that will be called by the Navigator to decide how routes
transition in or out of the screen when Navigator.pages is updated.
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited