PageTransitionTheme
Inherits: Enum
Page transition preset for route changes.
These could, for example, be used together with PageTransitionsTheme to
define per-platform navigation animations.
Properties
-
CUPERTINO–Cupertino-style horizontal page transition,
-
FADE_FORWARDS–Fade-forward Material route transition, similar to the one provided by Android U.
-
FADE_UPWARDS–Fade-and-slide transition where the incoming page moves upward,
-
NONE–Disables route transition animation.
-
OPEN_UPWARDS–Upward reveal transition with clipping/scrim,
-
PREDICTIVE–Predictive-back transition that allows peeking behind the current route on Android.
-
ZOOM–Zoom/fade transition used by modern Material route animations,
Properties#
CUPERTINO
class-attribute
instance-attribute
#
Cupertino-style horizontal page transition, which matches native iOS page transitions.
FADE_FORWARDS
class-attribute
instance-attribute
#
Fade-forward Material route transition, similar to the one provided by Android U.
FADE_UPWARDS
class-attribute
instance-attribute
#
Fade-and-slide transition where the incoming page moves upward, similar to the one provided by Android O.
OPEN_UPWARDS
class-attribute
instance-attribute
#
Upward reveal transition with clipping/scrim, matching the transition used on Android P.
PREDICTIVE
class-attribute
instance-attribute
#
Predictive-back transition that allows peeking behind the current route on Android.
ZOOM
class-attribute
instance-attribute
#
Zoom/fade transition used by modern Material route animations, similar to the one provided in Android Q.