🌈 Create new beautiful Compose Gradients with our new wesite ->
Interface

PaneAdaptedValue

The adapted state of a pane.

Source set: Common
public sealed interface PaneAdaptedValue

The adapted state of a pane. It gives clues to pane scaffolds about if a certain pane should be composed and how.

Members

Reflowed

Source set: Common
public class Reflowed(internal val reflowUnder: PaneScaffoldRole) : PaneAdaptedValue

Indicates that the associated pane should be reflowed to its reflowUnder, i.e., it will be displayed under the target pane.

Parameters

reflowUnder the target pane of the reflowing, i.e., the pane that the reflowed pane will be put under.

Levitated

Source set: Common
public class Levitated(
        internal val alignment: Alignment,
        internal val scrim: (@Composable () -> Unit)? = null,
        internal val dragToResizeState: DragToResizeState? = null,
    ) : PaneAdaptedValue

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

Parameters

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 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 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.

Companion

Source set: Common
public companion object

Properties

Expanded

Source set: Common
public val Expanded: PaneAdaptedValue = Simple("Expanded")

Indicates that the associated pane should be displayed in its full width and height.

Hidden

Source set: Common
public val Hidden: PaneAdaptedValue = Simple("Hidden")

Indicates that the associated pane should be hidden.

Content updated: