androidx.compose.ui.layout

IntrinsicMeasureScope

Interface · from org.jetbrains.compose.ui:ui:1.12.2

No hand-written docs yet.

The receiver scope of a layout's intrinsic measurements lambdas.

interface IntrinsicMeasureScope : Density

Is a

Kinds of IntrinsicMeasureScope

Anywhere a IntrinsicMeasureScope is expected, you can pass any of these.

How to get one

Or create one of the kinds listed above.

Properties

layoutDirection

val layoutDirection: LayoutDirection

The LayoutDirection of the Layout or LayoutModifier using the measure scope to measure their children.

isLookingAhead

val isLookingAhead: Boolean

This indicates whether the ongoing measurement is for lookahead pass. IntrinsicMeasureScope implementations, especially MeasureScope implementations should override this flag to reflect whether the measurement is intended for lookahead pass.

Library docs

The receiver scope of a layout's intrinsic measurements lambdas.