NavigatorTransition

abstract class NavigatorTransition

Interface to define custom transition.

  • key - A unique string so that ComposeNavigator can identify this transition upon use.

  • forwardTransition - Define the forward transition that'll be used when navigating to the target destination.

  • backwardTransition - Define the backward transition that'll be used when navigating from the target destination to the previous one (usually on back press).

Constructors

Link copied to clipboard
fun NavigatorTransition()

Properties

Link copied to clipboard
open val animationSpec: FiniteAnimationSpec<Float>
Link copied to clipboard
abstract val backwardTransition: ComposeTransition
Link copied to clipboard
abstract val forwardTransition: ComposeTransition
Link copied to clipboard
abstract val key: TransitionKey