androidx.compose.ui.layout
ApproachMeasureScope
Sealed interface · from org.jetbrains.compose.ui:ui:1.12.2
No hand-written docs yet.
ApproachMeasureScope provides access to lookahead results to allow ApproachLayoutModifierNode to leverage lookahead results to define how measurements and placements approach their destination.
sealed interface ApproachMeasureScope : ApproachIntrinsicMeasureScope, MeasureScope
Is a
ApproachIntrinsicMeasureScopeIntrinsicMeasureScopeDensityFontScalingMeasureScopeIntrinsicMeasureScopeDensityFontScaling
Used by
Parameters that take a ApproachMeasureScope.
Library docs
ApproachMeasureScope provides access to lookahead results to allow ApproachLayoutModifierNode
to leverage lookahead results to define how measurements and placements approach their
destination.
ApproachMeasureScope.lookaheadSize provides the target size of the layout. By knowing the
target size and position, layout adjustments such as animations can be defined in
ApproachLayoutModifierNode to morph the layout gradually in both size and position to arrive at
its precalculated bounds.