androidx.compose.material3.adaptive.layout

OffsetSince 1.1

Abstract class · from org.jetbrains.compose.material3.adaptive:adaptive-layout:1.3.0

No hand-written docs yet.

PaneExpansionAnchor implementation that specifies the anchor position based on the offset in Dp.

abstract class Offset : PaneExpansionAnchor

Is a

Properties

direction

val direction: Direction

Indicates the direction of the offset.

offset

val offset: Dp

Functions

fromStart

fun fromStart(offset: Dp): Offset

Create an androidx.compose.material3.adaptive.layout.PaneExpansionAnchor.Offset anchor from the start side of the layout.

fromEnd

fun fromEnd(offset: Dp): Offset

Create an androidx.compose.material3.adaptive.layout.PaneExpansionAnchor.Offset anchor from the end side of the layout.

Nested types

Library docs

PaneExpansionAnchor implementation that specifies the anchor position based on the offset in Dp.