🌈 Create new beautiful Compose Gradients with our new wesite ->
Interface

PaneExpansionStateKey

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

Source set: Common
public sealed interface PaneExpansionStateKey

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

Members

Companion

Source set: Common
public companion object

Properties

Default

Source set: Common
public 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.

Content updated: