DefaultTransitionDelegate<T> class Null safety

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-onlyinherited
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited

Methods

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

Operators

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