Interface

IntrinsicMeasurable

A part of the composition that can be measured.

Source set: Common
public interface IntrinsicMeasurable

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

Properties

parentData

Source set: Common
public val parentData: Any?

Data provided by the ParentDataModifier.

Functions

minIntrinsicWidth

Source set: Common
public 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. There should be no side-effects from a call to minIntrinsicWidth.

maxIntrinsicWidth

Source set: Common
public fun maxIntrinsicWidth(height: Int): Int

Calculates the smallest width beyond which increasing the width never decreases the height. There should be no side-effects from a call to maxIntrinsicWidth.

minIntrinsicHeight

Source set: Common
public 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. There should be no side-effects from a call to minIntrinsicHeight.

maxIntrinsicHeight

Source set: Common
public fun maxIntrinsicHeight(width: Int): Int

Calculates the smallest height beyond which increasing the height never decreases the width. There should be no side-effects from a call to maxIntrinsicHeight.

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: