MapsLauncher class

Constructors

MapsLauncher()

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

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

createCoordinatesUri(double latitude, double longitude, [String? label]) Uri
Returns a Uri that can be launched on the current platform to open a maps application showing coordinates (latitude and longitude).
createQueryUri(String query) Uri
Returns a Uri that can be launched on the current platform to open a maps application showing the result of a search query.
launchCoordinates(double latitude, double longitude, [String? label]) Future<bool>
Launches the maps application for this platform. The maps application will show the specified coordinates. Returns a Future that resolves to true if the maps application was launched successfully, false otherwise.
launchQuery(String query) Future<bool>
Launches the maps application for this platform. The maps application will show the result of the provided search query. Returns a Future that resolves to true if the maps application was launched successfully, false otherwise.