FadeUpwardsPageTransitionsBuilder class Null safety

Used by PageTransitionsTheme to define a vertically fading MaterialPageRoute page transition animation that looks like the default page transition used on Android O.

The animation fades the new page in while translating it upwards, starting from about 25% below the top of the screen.

See also:

Inheritance

Constructors

FadeUpwardsPageTransitionsBuilder()
Constructs a page transition animation that slides the page up.
const

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

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 non-existent method or property is accessed. [...]
inherited
toString() String
A string representation of this object. [...]
inherited

Operators

operator ==(Object other) bool
The equality operator. [...]
inherited