updateIsSelecting method

void updateIsSelecting(
  1. bool state
)

Updates the drag selection mode state.

This method controls whether the list is in drag selection mode, which affects scroll behavior and pointer event processing.

Selection Mode States

  • true: Drag selection is active

    • ListView scrolling is disabled
    • Pointer movements update selection ranges
    • Visual indicators may show active selection mode
  • false: Normal operation mode

    • ListView scrolling is enabled
    • Individual checkbox interactions work normally
    • Pointer movements don't affect selection

Usage

Called automatically by DragSelectableListView during pointer interactions. Can also be called manually to programmatically control selection mode.

Implementation

void updateIsSelecting(bool state) {
  _isSelecting = state;
  notifyListeners();
}