ExpressivePredictiveBackTransition class

A page's own push and pop on Android, and its frame while the system's predictive back gesture runs: one widget tree either way, so the page keeps its state when a gesture starts. ExpressivePage's route pushes by fade-forwards; with rise the page rises from the bottom edge instead (the full-screen dialog, whose route drives animation on its springs). The route claims and settles the gesture.

Inheritance

Constructors

ExpressivePredictiveBackTransition({required ExpressivePredictiveBackRoute route, required Animation<double> animation, required Widget child, bool rise = false, Key? key})
A transition of child on route, driven by animation.
const

Properties

animation → Animation<double>
The route's own animation.
final
child → Widget
The page the transition moves.
final
hashCode → int
The hash code for this object.
no setterinherited
key → Key?
Controls how one widget replaces another widget in the tree.
finalinherited
rise → bool
Whether the page rises from the bottom edge (1 − animation of its height) rather than fade-forwards.
final
route → ExpressivePredictiveBackRoute
The route the transition belongs to.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

createElement() → StatefulElement
Creates a StatefulElement to manage this widget's location in the tree.
inherited
createState() → State<ExpressivePredictiveBackTransition>
Creates the mutable state for this widget at a given location in the tree.
override
debugDescribeChildren() → List<DiagnosticsNode>
Returns a list of DiagnosticsNode objects describing this node's children.
inherited
debugFillProperties(DiagnosticPropertiesBuilder properties) → void
Add additional properties associated with the node.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toDiagnosticsNode({String? name, DiagnosticsTreeStyle? style}) → DiagnosticsNode
Returns a debug representation of the object that is used by debugging tools and by DiagnosticsNode.toStringDeep.
inherited
toString({DiagnosticLevel minLevel = DiagnosticLevel.info}) → String
A string representation of this object.
inherited
toStringDeep({String prefixLineOne = '', String? prefixOtherLines, DiagnosticLevel minLevel = DiagnosticLevel.debug, int wrapWidth = 65}) → String
Returns a string representation of this node and its descendants.
inherited
toStringShallow({String joiner = ', ', DiagnosticLevel minLevel = DiagnosticLevel.debug}) → String
Returns a one-line detailed description of the object.
inherited
toStringShort() → String
A short, textual description of this widget.
inherited

Operators

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