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

assertXPositionIsEqualTo

Asserts that the layout of this node has the x position that is equal to the given position.

assertXPositionIsEqualTo

Source set: Android
@CanIgnoreReturnValue
public fun SubspaceSemanticsNodeInteraction.assertXPositionIsEqualTo(
    expectedX: Dp
): SubspaceSemanticsNodeInteraction

Asserts that the layout of this node has the x position that is equal to the given position.

Parameters

expectedX The x position to assert.

Last updated: