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

assertZPositionIsEqualTo

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

assertZPositionIsEqualTo

Source set: Android
@CanIgnoreReturnValue
public fun SubspaceSemanticsNodeInteraction.assertZPositionIsEqualTo(
    expectedZ: Dp
): SubspaceSemanticsNodeInteraction

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

Parameters

expectedZ The z position to assert.

Last updated: