PageTransitionsBuilder class Null safety
Used by PageTransitionsTheme to define a MaterialPageRoute page transition animation.
Apps can configure the map of builders for ThemeData.pageTransitionsTheme to customize the default MaterialPageRoute page transition animation for different platforms.
- 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.
- 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.
Abstract const constructor. This constructor enables subclasses to provide
const constructors so that they can be used in const expressions.
- hashCode → int
The hash code for this object.
- runtimeType → Type
A representation of the runtime type of the object.
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.
Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
) → String
A string representation of this object.
Object other) → bool
The equality operator.