Object that indicates the features that can be handled by the NavDisplay

Summary

Public functions

Map<StringAny>

Function to be called on the NavEntry.metadata to notify the NavDisplay that, when popping from backstack, the content should be animated using the provided ContentTransform.

Cmn
Map<StringAny>
predictivePopTransitionSpec(
    predictivePopTransitionSpec: AnimatedContentTransitionScope<*>.() -> ContentTransform?
)

Function to be called on the NavEntry.metadata to notify the NavDisplay that, when popping from backstack using a Predictive back gesture, the content should be animated using the provided ContentTransform.

Cmn
Map<StringAny>

Function to be called on the NavEntry.metadata to notify the NavDisplay that the content should be animated using the provided ContentTransform.

Cmn

Public functions

popTransitionSpec

fun popTransitionSpec(popTransitionSpec: AnimatedContentTransitionScope<*>.() -> ContentTransform?): Map<StringAny>

Function to be called on the NavEntry.metadata to notify the NavDisplay that, when popping from backstack, the content should be animated using the provided ContentTransform.

predictivePopTransitionSpec

fun predictivePopTransitionSpec(
    predictivePopTransitionSpec: AnimatedContentTransitionScope<*>.() -> ContentTransform?
): Map<StringAny>

Function to be called on the NavEntry.metadata to notify the NavDisplay that, when popping from backstack using a Predictive back gesture, the content should be animated using the provided ContentTransform.

transitionSpec

fun transitionSpec(transitionSpec: AnimatedContentTransitionScope<*>.() -> ContentTransform?): Map<StringAny>

Function to be called on the NavEntry.metadata to notify the NavDisplay that the content should be animated using the provided ContentTransform.

Public properties

defaultPredictivePopTransitionSpec

val defaultPredictivePopTransitionSpecAnimatedContentTransitionScope<*>.() -> ContentTransform