AdaptiveRouteType class
Generates a route transitions based on platform
ios,macos => CupertinoRouteTransitionMixin web => NoTransition any other platform => MaterialRouteTransitionMixin
- Inheritance
- Mixed-in types
Constructors
- AdaptiveRouteType({bool enablePredictiveBackGesture = false, RouteTransitionsBuilder? predictiveBackPageTransitionsBuilder, bool opaque = true})
-
Default constructor
const
Properties
- enablePredictiveBackGesture → bool
-
Whether to enable predictive back gesture on Android
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- opaque → bool
-
Whether the target Route should be opaque
see ModalRoute.opaque
finalinherited
- predictiveBackPageTransitionsBuilder → RouteTransitionsBuilder?
-
The transitions builder to use for when the predictive back gesture is in progress
final
- 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