NavigationView  class 
 
    Constructors 
    
        
          NavigationView ({Key ?key , required  MapOptions mapOptions , required  dynamic  onMapCreated (MapNavigationViewController dynamic  onRouteProgressChange (RouteProgressEvent VoidCallback ?onRouteBuilding , dynamic  onRouteBuilt (DirectionRoute dynamic  onRouteBuildFailed (String ?VoidCallback ?onNavigationRunning , VoidCallback ?onArrival , dynamic  onMarkerClicked (int ?VoidCallback ?onNavigationFinished , VoidCallback ?onNavigationCancelled , VoidCallback ?onMapMove , dynamic  userOffRoute (LatLng ?VoidCallback ?onMapMoveEnd , VoidCallback ?onMapReady , VoidCallback ?onMapRendered , dynamic  onMapLongClick (LatLng ?Point <num  ?dynamic  onMapClick (LatLng ?Point <num  ?dynamic  onNewRouteSelected (DirectionRoute  
         
        
          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
            const
         
     
   
    
  
    Properties 
    
        
  hashCode → int  
  
 
  The hash code for this object.
  no setter inherited 
 
        
  key → Key ? 
  
 
  Controls how one widget replaces another widget in the tree.
  final inherited 
 
        
  mapOptions → MapOptions  
  
 
  Setting navigation options for the map
  final 
 
        
  onArrival → VoidCallback ? 
  
 
  This callback will called when the user is arrival to the destination
  final 
 
        
  onMapClick → dynamic Function(LatLng ?Point <num  ? ? 
  
 
  This callback will called when the user click on the map and response a LatLng  object
which contains all information about the location where user click
  final 
 
        
  onMapCreated → dynamic Function(MapNavigationViewController   
  
 
  This callback will called when map is created
  final 
 
        
  onMapLongClick → dynamic Function(LatLng ?Point <num  ? ? 
  
 
  This callback will called when the user long click on the map and response a LatLng  object
which contains all information about the location where user long click
  final 
 
        
  onMapMove → VoidCallback ? 
  
 
  This callback will called when the map is start move
  final 
 
        
  onMapMoveEnd → VoidCallback ? 
  
 
  This callback will called when the map is moved end
  final 
 
        
  onMapReady → VoidCallback ? 
  
 
  This callback will called when the map is ready
  final 
 
        
  onMapRendered → VoidCallback ? 
  
 
  This callback will called when the map is rendered successfully and complete show all elements of the map
  final 
 
        
  onMarkerClicked → dynamic Function(int ? ? 
  
 
  This callback will called when the user click on the marker and response a int , which is the marker id
  final 
 
        
  onNavigationCancelled → VoidCallback ? 
  
 
  This callback will called when the navigation is cancelled
(user click on the cancel button on the navigation view)
  final 
 
        
  onNavigationFinished → VoidCallback ? 
  
 
  This callback will called when the navigation is finished (user arrived destination)
  final 
 
        
  onNavigationRunning → VoidCallback ? 
  
 
  This callback will called when the navigation is running
  final 
 
        
  onNewRouteSelected → dynamic Function(DirectionRoute  ? 
  
 
  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 
 
        
  onRouteBuildFailed → dynamic Function(String ? ? 
  
 
  This callback will called when the route is built failed and response a message
  final 
 
        
  onRouteBuilding → VoidCallback ? 
  
 
  This callback will called when the route is building
  final 
 
        
  onRouteBuilt → dynamic Function(DirectionRoute  ? 
  
 
  This callback will called when the route is built successfully and response a DirectionRoute  object
which contains all information about the route
  final 
 
        
  onRouteProgressChange → dynamic Function(RouteProgressEvent  ? 
  
 
  This callback will called whenever user change GPS location
it will response a RouteProgressEvent  object, which contains all information about current route
  final 
 
        
  runtimeType → Type  
  
 
  A representation of the runtime type of the object.
  no setter inherited 
 
        
  userOffRoute → dynamic Function(LatLng ? ? 
  
 
  This callback will called when the user is off route and response a LatLng  object
which contains all information about the location where user off route
(user is off route when user is not follow the route)
  final 
 
     
   
    
  
    
  
    
    
    
   vietmap_flutter_navigation 4.0.0