CupertinoPageTransitionsBuilder class
Used by PageTransitionsTheme to define a horizontal MaterialPageRoute page transition animation that matches native iOS page transitions.
See also:
- FadeUpwardsPageTransitionsBuilder, which defines a default page transition.
- OpenUpwardsPageTransitionsBuilder, which defines a page transition that's similar to the one provided by Android P.
- Inheritance
- Object
- PageTransitionsBuilder
- CupertinoPageTransitionsBuilder
Constructors
- CupertinoPageTransitionsBuilder()
-
Construct a CupertinoPageTransitionsBuilder.
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 -
Returns a string representation of this object.
inherited
Operators
-
operator ==(
dynamic other) → bool -
The equality operator. [...]
inherited