DesignSwipeBackPageTransitionsBuilder class

builder's page transition with iOS's swipe back from the screen's leading edge round it.

A finger dragging from the leading edge (20 points, or the safe area's inset when wider) moves the page with it and shows the one under it, shifted a third, as on every iOS screen; let go past half way, or flung that way, the page pops, else it settles back. Meanwhile builder's transition rests, and it plays the look's push and pop as before. A first page, a full-screen dialog and a page that refuses to pop take no swipe.

const DesignSwipeBackPageTransitionsBuilder(FadeUpwardsPageTransitionsBuilder())
Inheritance

Constructors

DesignSwipeBackPageTransitionsBuilder(PageTransitionsBuilder builder)
builder with the swipe back round it.
const

Properties

builder → PageTransitionsBuilder
The look's page transition.
final
delegatedTransition → DelegatedTransitionBuilder?
Provides a secondary transition to the previous route.
no setteroverride
hashCode → int
The hash code for this object.
no setteroverride
reverseTransitionDuration → Duration
The duration the transition going in reverse.
no setteroverride
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
transitionDuration → Duration
The duration the transition going forwards.
no setteroverride

Methods

buildTransitions<T>(PageRoute<T> route, BuildContext context, Animation<double> animation, Animation<double> secondaryAnimation, Widget child) → Widget
Wraps the child with one or more transition widgets which define how route arrives on and leaves the screen.
override
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.
override