offset

val offset: State<Float>

Deprecated

Please access the offset through currentOffset, which returns the value directly instead of wrapping it in a state object.

Replace with

currentOffset

The current position (in pixels) of the drawer sheet, or Float.NaN before the offset is initialized.

See also

AnchoredDraggableState.offset

for more information.