TreeState

@RememberInComposition
constructor(initialSelectedPaths: Set<List<Int>> = emptySet(), initialExpandedPaths: Set<List<Int>> = emptySet())

Parameters

initialSelectedPaths

the nodes selected until the caller or the user moves the selection.

initialExpandedPaths

the nodes open until the caller or the user opens or closes one.