onDestinationSelected property

dynamic Function(int)? onDestinationSelected
final

Called when the user selects a destination.

The index parameter is the index of the selected destination, where 0 represents the first destination.

Implementation

final Function(int)? onDestinationSelected;