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

Constructors

DefaultTransitionDelegate()
Creates a default transition delegate.
const

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
resolve({List<RouteTransitionRecord> newPageRouteHistory, Map<RouteTransitionRecord, RouteTransitionRecord> locationToExitingPageRoute, Map<RouteTransitionRecord, List<RouteTransitionRecord>> pageRouteToPagelessRoutes}) Iterable<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
Returns a string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator. [...]
inherited