onSelected property
The function to be called when a child is selected.
The index of the selected child is passed as an argument.
Implementation
final Function(int index) onSelected;
The function to be called when a child is selected.
The index of the selected child is passed as an argument.
final Function(int index) onSelected;