onSelect property
Callback function when an item is selected. It provides the selected item and its index.
Implementation
final void Function(T?, int)? onSelect;
Callback function when an item is selected. It provides the selected item and its index.
final void Function(T?, int)? onSelect;