FadeUpwardsPageTransitionsBuilder class
A page transition builder that animates incoming pages by fading and sliding them upwards.
This transition combines two animations:
- A fade-in effect using an ease-in curve
- An upward slide starting from 25% below the top of the screen
The resulting animation creates a smooth entrance effect where the new page appears to rise up while simultaneously becoming visible.
See also:
- OpenUpwardsPageTransitionsBuilder, which defines a page transition that's similar to the one provided by Android P.
- ZoomPageTransitionsBuilder, which defines the default page transition that's similar to the one provided in Android Q.
- CupertinoPageTransitionsBuilder, which defines a horizontal page transition that matches native iOS page transitions.
- PredictiveBackPageTransitionsBuilder, which defines a page transition that allows peeking behind the current route on Android U and above.
- Inheritance
-
- Object
- PageTransitionsBuilder
- FadeUpwardsPageTransitionsBuilder
Constructors
- FadeUpwardsPageTransitionsBuilder()
-
Constructs a page transition animation that slides the page up.
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
routearrives 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