ThreePaneNavigator

class ThreePaneNavigator(destinations: List<ThreePaneDestination<*>> = listOf(ThreePaneDestination<Unit>(pane = ThreePaneRole.List)))

The navigator used to navigate between the different destinations in the three-pane layout.

Parameters

destinations

The list of destinations to start with. Defaults to a single destination in the list pane.

Constructors

Link copied to clipboard
constructor(destinations: List<ThreePaneDestination<*>> = listOf(ThreePaneDestination<Unit>(pane = ThreePaneRole.List)))

Functions

Link copied to clipboard

Whether the navigator can navigate back to the previous destination.

Link copied to clipboard

Navigates back to the previous destination.

Link copied to clipboard
fun navigateTo(destination: ThreePaneDestination<*>, replace: Boolean = false, popUpTo: ThreePaneRole? = null)

Navigates to the provided destination.