Class

ThreePaneScaffoldDestinationItem

An item representing a navigation destination in a ThreePaneScaffold.

RevenueCat

RevenueCat

Add subscriptions to your apps in minutes

Ad Get started for free
Source set: Common

Added in 1.0.0-alpha06

@ExperimentalMaterial3AdaptiveApi
class ThreePaneScaffoldDestinationItem<out T>(
    val pane: ThreePaneScaffoldRole,
    val content: T? = null,
)

An item representing a navigation destination in a ThreePaneScaffold.

The type T must be storable in a Bundle.

Parameters

pane the pane destination of the navigation.
content the optional content, or an id representing the content of the destination.

Companion Object