🌈 Create new beautiful Compose Gradients with our new wesite ->
Function

onDescendants

Returns all the descendants of this node in Depth-First Search order.

onDescendants

Source set: Common
public fun SemanticsNodeInteraction.onDescendants(): SemanticsNodeInteractionCollection

Returns all the descendants of this node in Depth-First Search order.

Example: For the following tree

|-A <- this node
|-B
|-C
|-D
|-E

Returns B, C, D, E

Content updated: