Class

ThreePaneMotion

The class that provides motion settings for three pane scaffolds like ListDetailPaneScaffold and SupportingPaneScaffold.

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.

Jetpack Compose beyond MaterialFree components, screens and templates for apps that don’t look like Google’s. Copy them into your app, or let your coding agent add them.Browse for free

Content updated: