onNewRouteSelected property
This callback will called when the user select a new route and response a DirectionRoute object which contains all information about the new route
Implementation
final Function(DirectionRoute)? onNewRouteSelected;
This callback will called when the user select a new route and response a DirectionRoute object which contains all information about the new route
final Function(DirectionRoute)? onNewRouteSelected;