MapController class
///////////////////////////////////////////////////////////////////////////////// /////////////////////////////////////////////////////////////////////////////////
- Inheritance
-
- Object
- ChangeNotifier
- MapController
Constructors
-
MapController.new(Map<
String, String> env, {dynamic onError(String)?}) - //////////// ////////////
Properties
- cameraPosition → RaliPosition?
-
no setter
- currentPosition → RaliPosition?
-
no setter
- destinationName → String
-
no setter
- destinationPosition → RaliPosition?
-
no setter
- hasDestination → bool
-
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- hasListeners → bool
-
Whether any listeners are currently registered.
no setterinherited
- isLoadingRoute → bool
-
no setter
-
no setter
- isOverTheShoulderMode → bool
-
no setter
- isSystemMenuVisible → bool
-
no setter
-
no setter
-
routeAlternatives
→ List<
RouteDetails> -
no setter
- routeDetails → RouteDetails?
-
no setter
- routeOverviewMode → bool
-
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
savedDestinations
→ List<
Map< String, dynamic> > -
no setter
- searchService → SearchService?
-
no setter
- useMetricUnits → bool
-
no setter
- weatherVisible → bool
-
/////////
/////////
no setter
Methods
-
addListener(
VoidCallback listener) → void -
Register a closure to be called when the object changes.
inherited
-
addSavedDestination(
String name, RaliPosition position) → Future< void> - Adds a destination to the saved list
-
clearDestination(
) → Future< void> -
dispose(
) → void -
////////////
////////////
override
-
fetchRoute(
) → Future< void> -
flyToCurrentLocation(
) → void -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
notifyListeners(
) → void -
Call all the registered listeners.
inherited
-
removeListener(
VoidCallback listener) → void -
Remove a previously registered closure from the list of closures that are
notified when the object changes.
inherited
-
removeSavedDestination(
String name) → Future< void> - Removes a saved destination
-
selectDestination(
String name, RaliPosition position) → Future< void> - //////////// ////////////
-
setMapboxMap(
MapboxMap mapboxMap) → void - //////////// ////////////
-
toggleMapOrientation(
) → void -
toggleSystemMenu(
) → void -
toggleUnits(
) → void -
toggleWeatherOverlay(
) → void - //////////// ////////////
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited