MapLauncher class
Properties
-
hashCode
→ int
-
The hash code for this object.
no setterinherited
-
runtimeType
→ Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
toString()
→ String
-
A string representation of this object.
inherited
Static Methods
-
isMapAvailable(MapType mapType)
→ Future<bool?>
-
Returns boolean indicating if map app is installed
-
showDirections({required MapType mapType, required Coords destination, String? destinationTitle, Coords? origin, String? originTitle, List<Waypoint>? waypoints, DirectionsMode? directionsMode = DirectionsMode.driving, })
→ Future
-
Opens map app specified in
mapType
and shows directions to destination
-
showMarker({required MapType mapType, required Coords coords, required String title, String? description, int? zoom, })
→ Future
-
Opens map app specified in
mapType
and shows marker at coords