PageTransition class abstract
A transition for a page pop or push animation.
Constructors
- PageTransition()
-
Initialize a transition for a page pop or push animation.
const
Properties
- duration → Duration
-
How long this transition animation lasts.
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- transitionsBuilder → PageTransitionsBuilder
-
A builder that configures the animation.
no setter
Methods
-
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
Static Methods
-
platformDefault(
TargetPlatform platform) → PageTransition -
Returns the default page transition for the given
platform
.
Constants
- cupertino → const PageTransition
- The default slide-in transition used on iOS.
- fadeUpwards → const PageTransition
- The default fade upwards transition used on Android.
- none → const PageTransition
- A transition with no animation.
- zoom → const PageTransition
- A zoom transition matching the one used on Android 10.