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

assertDepthIsEqualTo

Asserts that the layout of this node has depth equal to expectedDepth.

assertDepthIsEqualTo

Source set: Android
@CanIgnoreReturnValue
public fun SubspaceSemanticsNodeInteraction.assertDepthIsEqualTo(
    expectedDepth: Dp
): SubspaceSemanticsNodeInteraction

Asserts that the layout of this node has depth equal to expectedDepth.

Parameters

expectedDepth The depth to assert.

Last updated: