components/lists/utils/m3e_list_selection_binding library

Functions

applyListSelectionToggle({required M3ESelectionController controller, required int index, required M3EListSelectionMode mode, ValueChanged<Set<int>>? onChanged}) → void
Applies single/multiple selection semantics and notifies onChanged.
listSelectionUsesAncestorScope(BuildContext context) bool
Whether the controller came from an ancestor selection scope.
mergeListSelectionState({required M3EListSelectionState theme, M3EListSelectionState? override}) M3EListSelectionState
Effective selection state (widget override over theme).
resolveListSelectionController({required BuildContext context, M3ESelectionController? widgetController, required M3ESelectionController createOwned()}) M3ESelectionController
Resolves which M3ESelectionController a list should use.