ZoomPageTransitionsBuilder class
Used by PageTransitionsTheme to define a zooming MaterialPageRoute page transition animation that looks like the default page transition used on Android Q.
See also:
- FadeUpwardsPageTransitionsBuilder, which defines a page transition that's similar to the one provided by Android O.
- OpenUpwardsPageTransitionsBuilder, which defines a page transition that's similar to the one provided by Android P.
- 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.
- Inheritance
-
- Object
- PageTransitionsBuilder
- ZoomPageTransitionsBuilder
Constructors
- ZoomPageTransitionsBuilder({bool allowSnapshotting = true, bool allowEnterRouteSnapshotting = true})
-
Constructs a page transition animation that matches the transition used on
Android Q.
const
Properties
- allowEnterRouteSnapshotting → bool
-
Whether to enable snapshotting on the entering route during the
transition animation.
final
- allowSnapshotting → bool
-
Whether zoom page transitions will prefer to animate a snapshot of the entering
and exiting routes.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
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