Skip to main content

PageTransitionTheme

Page transition preset for route changes.

These could, for example, be used together with PageTransitionsTheme to define per-platform navigation animations.

Inherits: enum.Enum

Properties

  • CUPERTINO - Cupertino-style horizontal page transition, which matches native iOS page transitions.
  • 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, similar to the one provided by Android O.
  • NONE - Disables route transition animation.
  • OPEN_UPWARDS - Upward reveal transition with clipping/scrim, matching the transition used on Android P.
  • PREDICTIVE - Predictive-back transition that allows peeking behind the current route on Android.
  • ZOOM - Zoom/fade transition used by modern Material route animations, similar to the one provided in Android Q.

Properties

CUPERTINOclass-attributeinstance-attribute

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

FADE_FORWARDSclass-attributeinstance-attribute

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

FADE_UPWARDSclass-attributeinstance-attribute

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

NONEclass-attributeinstance-attribute

Disables route transition animation.

OPEN_UPWARDSclass-attributeinstance-attribute

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

PREDICTIVEclass-attributeinstance-attribute

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

ZOOMclass-attributeinstance-attribute

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