Common
@ExperimentalMaterial3AdaptiveApi
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
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. |
Companion Object
Properties
Common
val NoMotion =
ThreePaneMotion(PaneMotion.NoMotion, PaneMotion.NoMotion, PaneMotion.NoMotion)
A default ThreePaneMotion instance that specifies no motions.