onSelected property

void Function(T item, bool selected)? onSelected
final

Function called when an item is selected.

Implementation

final void Function(T item, bool selected)? onSelected;