Interface

IntrinsicMeasureScope

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

Source set: Common
interface IntrinsicMeasureScope : Density

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

Properties

layoutDirection

Source set: Common
val layoutDirection: LayoutDirection

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

isLookingAhead

Source set: Common
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.

Last updated: