DragSelectGridViewController constructor

DragSelectGridViewController([
  1. Selection? selection
])

Creates a controller for DragSelectGridView.

The initial selection is Selection.empty, unless a different one is provided.

Implementation

DragSelectGridViewController([Selection? selection])
    : super(selection ?? const Selection.empty());