Source set: Common
public class ThreePaneMotion internal constructor(
private val primaryPaneMotion: PaneMotion,
private val secondaryPaneMotion: PaneMotion,
private val tertiaryPaneMotion: PaneMotion,
)
The class that provides motion settings for three pane scaffolds like ListDetailPaneScaffold and SupportingPaneScaffold.
Functions
get
Source set: Common
public operator fun get(role: ThreePaneScaffoldRole): PaneMotion
Gets the specified PaneMotion of a given pane role.
Parameters
| role | the specified role of the pane, see ListDetailPaneScaffoldRole and SupportingPaneScaffoldRole. |
Members
Companion
Source set: Common
public companion object
Properties
NoMotion
Source set: Common
public val NoMotion: ThreePaneMotion =
ThreePaneMotion(PaneMotion.NoMotion, PaneMotion.NoMotion, PaneMotion.NoMotion)
A default ThreePaneMotion instance that specifies no motions.