Source set: Common
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
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. |
equals
Source set: Common
override fun equals(other: Any?): Boolean
hashCode
Source set: Common
override fun hashCode(): Int
toString
Source set: Common
override fun toString(): String
Members
Companion
Source set: Common
companion object
Properties
NoMotion
Source set: Common
val NoMotion =
ThreePaneMotion(PaneMotion.NoMotion, PaneMotion.NoMotion, PaneMotion.NoMotion)
A default ThreePaneMotion instance that specifies no motions.