onSelected property

dynamic Function(int index) onSelected
final

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;