MaterialRouteType class

Generates a route that uses MaterialRouteTransitionMixin

Inheritance
Mixed-in types

Constructors

MaterialRouteType({bool enablePredictiveBackGesture = false, RouteTransitionsBuilder? predictiveBackPageTransitionsBuilder})
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