initialSelected property
The selection state when drag selection mode was activated.
This snapshot serves as the baseline for range selection operations. When performing drag selection, items are toggled relative to this initial state rather than their current state, providing intuitive multi-selection behavior.
Example: If an item was selected initially, it becomes deselected during drag selection. If it was unselected initially, it becomes selected.
Implementation
late List<bool> initialSelected;