defineDestination

Helper method for creating a composable NavigationDestination.

Parameters

id

The destination identifier.

enterTransition

Callback to determine the destination's enter transition

exitTransition

Callback to determine the destination's exit transition

popEnterTransition

Callback to determine the destination's popEnter transition

popExitTransition

Callback to determine the destination's popExit transition

sizeTransform

Callback to determine the destination's sizeTransform.

content

The composable function that will be used to render the content.