Compose Unstyled 2.0 is out! Check the official announcement blog ->
Function

assertWidthIsAtLeast

Asserts that the layout of this node has width that is greater than or equal to expectedMinWidth.

assertWidthIsAtLeast

Source set: Android
@CanIgnoreReturnValue
public fun SubspaceSemanticsNodeInteraction.assertWidthIsAtLeast(
    expectedMinWidth: Dp
): SubspaceSemanticsNodeInteraction

Asserts that the layout of this node has width that is greater than or equal to expectedMinWidth.

Parameters

expectedMinWidth The minimum width to assert.

Last updated: