OpenUpwardsPageTransitionsBuilder class

A page transition builder that animates incoming pages by revealing them from bottom to top with a clipping effect.

This transition combines several animations:

  • A clip animation that gradually reveals the new page from bottom to top
  • A subtle upward slide of the new page (5% translation)
  • A slight upward movement of the old page (2.5% translation)
  • A darkening scrim effect on the background

The resulting animation creates a layered effect where the new page appears to open upward from the bottom of the screen while the previous page slides back slightly.

See also:

Inheritance

Constructors

OpenUpwardsPageTransitionsBuilder()
Constructs a page transition animation that matches the transition used on Android P.
const

Properties

delegatedTransition → DelegatedTransitionBuilder?
Provides a secondary transition to the previous route.
no setterinherited
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 setterinherited

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