onSelected property

void Function(T)? onSelected
final

Callback, called when the provided item is selected.

Implementation

final void Function(T)? onSelected;