RouteFactories class abstract final

Native page presets that preserve typed results and Router page settings.

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
toString() → String
A string representation of this object.
inherited

Operators

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

Static Methods

cupertino<T>(RouteSettings settings, WidgetBuilder builder, RouteOptions options) → PageRoute<T>
Cupertino behavior, including supported interactive back gestures.
material<T>(RouteSettings settings, WidgetBuilder builder, RouteOptions options) → PageRoute<T>
Material behavior, including Flutter's platform-adaptive transitions.
noTransition<T>(RouteSettings settings, WidgetBuilder builder, RouteOptions options) → PageRoute<T>
A page with zero forward and reverse transition durations.
transitions({required RouteTransitionsBuilder transitionsBuilder, Duration transitionDuration = const Duration(milliseconds: 300), Duration? reverseTransitionDuration}) → DefinedPageRouteFactory
Supplies animation only; this factory owns page construction and settings. Reverse duration defaults to the forward duration. Durations cannot be negative. Custom animations do not provide Cupertino interactive gestures.