LocationProvider class

Constructors

LocationProvider()

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 Properties

firstPoint ↔ LatLng?
getter/setter pair
locationHelper LocationHelper
getter/setter pair
mapController ↔ GoogleMapController?
getter/setter pair
markers Set<Marker>
final
polyLines Set<Polyline>
final
secondPoint ↔ LatLng?
getter/setter pair

Static Methods

convertingToLatLng(List pointsofList) List<LatLng>
createPolyline(String? encondedPolyline, Color lineColor, int lineWidth) → void
Creating Polyline
decodedPolyline(String? poly) List
drawLine({String? apiKey, required LatLng firstPoint, required LatLng secondPoint, required Color lineColor, Uint8List? firstmarkerIcon, Uint8List? secondmarkerIcon, required int lineWidth, required bool showFirstMarker, required bool showSecondMarker, String? info1, String? info2, Function? markerOneOnTap, Function? markerTwoOnTap}) Future<void>
Draw PolineLine Function
onCameraMove(CameraPosition position) → void
onCreated(GoogleMapController controller) → void