AnimatedNavDecorator
todo Finish docs.
AnimatedNavDecorator is used by AnimatedNavDecoration as a way to provide hooks into its AnimatedContent, allowing for custom navigation animations.
Inheritors
Functions
Link copied to clipboard
For the targetState, decorate the innerContent as the content
of AnimatedContent
Link copied to clipboard
For the args and backstack create the expected target AnimatedNavState.
Link copied to clipboard
abstract fun Transition<S>.transitionSpec(): AnimatedContentTransitionScope<S>.() -> ContentTransform
Builds the AnimatedContent transition spec.
Link copied to clipboard
Sets up a Transition for driving an AnimatedContent used to navigate between screens. The transition should be setup from the current NavDecoration.DecoratedContent arguments and backstack depth, and then updated when the arguments or backstack depth change.