androidx.compose.ui.layout
ApproachIntrinsicMeasureScope
Sealed interface · from org.jetbrains.compose.ui:ui:1.12.2
No hand-written docs yet.
The receiver scope of a layout's intrinsic approach measurements lambdas.
sealed interface ApproachIntrinsicMeasureScope : IntrinsicMeasureScope
Is a
Kinds of ApproachIntrinsicMeasureScope
Anywhere a ApproachIntrinsicMeasureScope is expected, you can pass any of these.
How to get one
Or create one of the kinds listed above.
Properties
lookaheadConstraints
val lookaheadConstraints: Constraints
Constraints used to measure the layout in the lookahead pass.
lookaheadSize
val lookaheadSize: IntSize
Size of the ApproachLayoutModifierNode measured during the lookahead pass using lookaheadConstraints. This size can be used as the target size for the ApproachLayoutModifierNode to approach the destination (i.e. lookahead) size.
Library docs
The receiver scope of a layout's intrinsic approach measurements lambdas.