NavigationView constructor
const
NavigationView({
- Key? key,
- required MapOptions mapOptions,
- required dynamic onMapCreated(),
- dynamic onRouteProgressChange()?,
- VoidCallback? onRouteBuilding,
- dynamic onRouteBuilt()?,
- dynamic onRouteBuildFailed()?,
- VoidCallback? onArrival,
- dynamic onMarkerClicked(
- int?
- VoidCallback? onMapMove,
- dynamic userOffRoute()?,
- VoidCallback? onMapMoveEnd,
- VoidCallback? onMapReady,
- VoidCallback? onMapRendered,
- dynamic onMapLongClick()?,
- dynamic onMapClick()?,
- dynamic onNewRouteSelected()?,
NavigationView is a widget that show a map with navigation it will response all events from the map and navigation and return all information about the route
Implementation
const NavigationView(
{super.key,
required this.mapOptions,
required this.onMapCreated,
this.onRouteProgressChange,
this.onRouteBuilding,
this.onRouteBuilt,
this.onRouteBuildFailed,
this.onNavigationRunning,
this.onArrival,
this.onMarkerClicked,
this.onNavigationFinished,
this.onNavigationCancelled,
this.onMapMove,
this.userOffRoute,
this.onMapMoveEnd,
this.onMapReady,
this.onMapRendered,
this.onMapLongClick,
this.onMapClick,
this.onNewRouteSelected});