Interface

ApproachIntrinsicMeasureScope

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

Source set: Common
public sealed interface ApproachIntrinsicMeasureScope : IntrinsicMeasureScope

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

Properties

lookaheadConstraints

Source set: Common
public val lookaheadConstraints: Constraints

Constraints used to measure the layout in the lookahead pass.

lookaheadSize

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

Jetpack Compose beyond MaterialFree components, screens and templates for apps that don’t look like Google’s. Copy them into your app, or let your coding agent add them.Browse for free

Content updated: