CupertinoPageTransitionsBuilder class

A PageTransitionsBuilder that provides an iOS-style page transition animation.

The page slides in from the right and exits in reverse. It also shifts to the left in a parallax motion when another page enters to cover it. This transition is commonly seen in native iOS applications.

In a CupertinoApp, this transition is used automatically when navigating with CupertinoPageRoute.

See also:

Inheritance

Constructors

CupertinoPageTransitionsBuilder()
Constructs a page transition animation that matches the iOS transition.
const

Properties

delegatedTransition → DelegatedTransitionBuilder?
Provides a secondary transition to the previous route.
no setteroverride
hashCode → int
The hash code for this object.
no setterinherited
reverseTransitionDuration → Duration
The duration the transition going in reverse.
no setterinherited
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.
inherited