An interface for a route that supports predictive back gestures.
See also:
- PredictiveBackPageTransitionsBuilder, which builds page transitions for predictive back.
- Implementers
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- isCurrent → bool
-
Whether this route is the top-most route on the navigator.
no setter
- popGestureEnabled → bool
-
Whether a pop gesture can be started by the user for this route.
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
handleCancelBackGesture(
) → void - Handles a predictive back gesture ending in cancellation.
-
handleCommitBackGesture(
) → void - Handles a predictive back gesture ending successfully.
-
handleStartBackGesture(
{double progress = 0.0}) → void - Handles a predictive back gesture starting.
-
handleUpdateBackGestureProgress(
{required double progress}) → void - Handles a predictive back gesture updating as the user drags across the screen.
-
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