Skip to content

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 = 'cupertino'

Cupertino-style horizontal page transition, which matches native iOS page transitions.

FADE_FORWARDS class-attribute instance-attribute #

FADE_FORWARDS = 'fadeForwards'

Fade-forward Material route transition, similar to the one provided by Android U.

FADE_UPWARDS class-attribute instance-attribute #

FADE_UPWARDS = 'fadeUpwards'

Fade-and-slide transition where the incoming page moves upward, similar to the one provided by Android O.

NONE class-attribute instance-attribute #

NONE = 'none'

Disables route transition animation.

OPEN_UPWARDS class-attribute instance-attribute #

OPEN_UPWARDS = 'openUpwards'

Upward reveal transition with clipping/scrim, matching the transition used on Android P.

PREDICTIVE class-attribute instance-attribute #

PREDICTIVE = 'predictive'

Predictive-back transition that allows peeking behind the current route on Android.

ZOOM class-attribute instance-attribute #

ZOOM = 'zoom'

Zoom/fade transition used by modern Material route animations, similar to the one provided in Android Q.