MapPageController class
Constructors
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
-
calculateDistance(
List< LatLng> points) → double -
getCurrentLocationAndSetState(
dynamic setStateFunction(Position)) → Future< void> -
getRoute(
LatLng currentPosition, LatLng centerPosition, String userkey) → Future< PolylineResult> -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
requestLocationPermission(
dynamic onPermissionGranted()) → Future< void> -
searchLocation(
String locationName) → Future< List< Location> > -
searchLocations(
String locationName, Set< Marker> markers, LatLng? currentPosition, GoogleMapController mapController, dynamic updateStraightDistance(double), dynamic updateCenterPosition(LatLng)) → Future<void> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
addMarker(
Set< Marker> markers, LatLng location) → void -
getCurrentLocation(
) → Future< Position>