Google is committed to advancing racial equity for Black communities. See how.

Measurable

interface Measurable : IntrinsicMeasurable
androidx.compose.ui.Measurable

A part of the composition that can be measured. This represents a layout. The instance should never be stored.

Summary

Public methods
abstract Placeable
measure(constraints: Constraints)

Measures the layout with constraints, returning a Placeable layout that has its new size.

Inherited functions
Inherited properties
Extension properties
From androidx.compose.ui.layout
Any?

Retrieves the tag associated to a composable with the Modifier.layoutId modifier.

Public methods

measure

abstract fun measure(constraints: Constraints): Placeable

Measures the layout with constraints, returning a Placeable layout that has its new size. A Measurable can only be measured once inside a layout pass.