onSelectionChanged property

dynamic Function(int)? onSelectionChanged
final

Execute when a new option is selected, and pass the newly selected option index.

Implementation

final Function(int)? onSelectionChanged;