onDestinationSelected property
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;
Called when the user selects a destination.
The index parameter is the index of the selected destination, where 0 represents the first destination.
final Function(int)? onDestinationSelected;