ItemSelectionChangeCallback typedef
Signature for a callback function that is called by ItemSelection when an
item selection state changes to selected
at the specified index
.
Implementation
typedef ItemSelectionChangeCallback = void Function(int index, bool selected);