onSelectionChange property
Called when the selection changes.
If selectionMode is single, this is called when any unselected tile is pressed. If selectionMode is multiple, this is called when any tile is pressed
See also:
- selected, which tells the widget whether it's selected or not
- selectionMode, which changes how the tile behave within the list
Implementation
final ValueChanged<bool>? onSelectionChange;