Class

PaneExpansionAnchor.Offset

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

RevenueCat

RevenueCat

Add subscriptions to your apps in minutes

Ad Get started for free
Common
abstract class Offset internal constructor(val offset: Dp, override internal val type: Int) :
        PaneExpansionAnchor()

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

Properties

Common
val direction: Direction

Indicates the direction of the offset.

Companion Object

Methods

fromStart

Common
fun fromStart(offset: Dp): Offset

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

Parameters

offset offset to be used in Dp.

fromEnd

Common
fun fromEnd(offset: Dp): Offset

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

Parameters

offset offset to be used in Dp.