SelectionControllerExt extension

Extension to integrate SelectionController with ListNavigator.

Provides convenient methods that combine navigation and selection.

on

Methods

isFocusedSelected(int focusedIndex) → bool

Available on SelectionController, provided by the SelectionControllerExt extension

Checks if the focused item is selected.
toggleFocused(int focusedIndex) → void

Available on SelectionController, provided by the SelectionControllerExt extension

Toggles the currently focused item.