Start native apps faster with the Composables CLI ->
Property

offset

The current offset, or Float.NaN if it has not been initialized yet.

Source set: Common
public var offset: Float by mutableFloatStateOf(Float.NaN)

The current offset, or Float.NaN if it has not been initialized yet.

The offset will be initialized when the anchors are first set through updateAnchors.

Strongly consider using requireOffset which will throw if the offset is read before it is initialized. This helps catch issues early in your workflow.