Creates a selection controller.
M3ESelectionController({Set<int>? initialSelected}) : _selected = <int>{...?initialSelected};