SelectionListState
class SelectionListState<K : Any>(val listState: VirtualListState<K> = VirtualListState(), initialSelection: K? = null)(source)
Caller-owned selection and navigation state for a generic SelectionList, confined to its construction execution owner.
A nullable key represents no selection, while distinct writes reconstruct only the currently materialized rows.
Parameters
initialSelection
optional initially selected key.
Type Parameters
K
stable item key type.