PaneAdaptedValue.Levitated


Indicates that the associated pane should be levitated with the specified alignment.

Summary

Public constructors

Levitated(
    alignment: Alignment,
    scrim: (@Composable () -> Unit)?,
    dragToResizeState: DragToResizeState?
)
Cmn

Public functions

open operator Boolean
equals(other: Any?)
Cmn
open Int
Cmn
open String
Cmn

Public constructors

Levitated

Levitated(
    alignment: Alignment,
    scrim: (@Composable () -> Unit)? = null,
    dragToResizeState: DragToResizeState? = null
)
Parameters
alignment: Alignment

the alignment of the levitated pane relative to the pane scaffold; the alignment can also be provided as anchoring to a certain alignment line or a certain element in the window. See Alignment for more information.

scrim: (@Composable () -> Unit)? = null

the scrim to show when the levitated pane is shown to block user interaction with the underlying layout and emphasize the levitated pane; by default it will be null and no scrim will show; to display a scrim, we recommend to use LevitatedPaneScrim as a default implementation.

dragToResizeState: DragToResizeState? = null

the optional state to enable the levitated pane to be resizable by dragging; it will be used to store and control current dragging; see rememberDragToResizeState for more details about how to implement the drag-to-resize behavior.

Public functions

equals

open operator fun equals(other: Any?): Boolean

hashCode

open fun hashCode(): Int

toString

open fun toString(): String