Measurable

Properties

Link copied to clipboard

Retrieves the tag associated to a composable with the Modifier.layoutId modifier. For a parent data value to be returned by this property when not using the Modifier.layoutId modifier, the parent data value should implement the LayoutIdParentData interface.

Link copied to clipboard
abstract val parentData: Any?

Data provided by the ParentData

Functions

Link copied to clipboard
abstract fun maxIntrinsicHeight(width: Int): Int

Calculates the smallest height beyond which increasing the height never decreases the width.

Link copied to clipboard
abstract fun maxIntrinsicWidth(height: Int): Int

Calculates the smallest width beyond which increasing the width never decreases the height.

Link copied to clipboard
abstract fun measure(constraints: Constraints): Placeable
Link copied to clipboard
abstract fun minIntrinsicHeight(width: Int): Int

Calculates the minimum height that the layout can be such that the content of the layout will be painted correctly.

Link copied to clipboard
abstract fun minIntrinsicWidth(height: Int): Int

Calculates the minimum width that the layout can be such that the content of the layout will be painted correctly.