Start native apps faster with the Composables CLI ->
Interface

PaneExpansionStateKey

Interface that serves as keys to remember and retrieve PaneExpansionState with rememberPaneExpansionState.

Source set: Common
sealed interface PaneExpansionStateKey

Interface that serves as keys to remember and retrieve PaneExpansionState with rememberPaneExpansionState.

Members

Companion

Source set: Common
companion object

Properties

Default

Source set: Common
val Default: PaneExpansionStateKey = DefaultImpl()

The default PaneExpansionStateKey. If you want to always share the same PaneExpansionState no matter what current scaffold state is, this key can be used. For example if the default key is used and a user drag the list-detail layout to a 50-50 split, when the layout switches to, say, detail-extra, it will remain the 50-50 split instead of using a different (default or user-set) split for it.