PickerSelectedCallback typedef
Callback function that is called when a picker item is selected.
Parameters:
picker
- The picker instance that triggered the selectionindex
- The column index of the selected itemselected
- List of all selected indices across all columns
Implementation
typedef PickerSelectedCallback = void Function(
Picker picker, int index, List<int> selected);