Provider class abstract
The Provider
defines the interface to which all AtlasProviders
must conform.
In order to implement a custom AtlasProvider
you must simply implement Provider
and set your AtlasProvider.instance
to the instance of your custom Provider
.
Constructors
- Provider()
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
supportedMapTypes
↔ Set<
MapType> ? -
Allows the respective map provider to declare
what underlying map types are supported.
getter/setter pair
Methods
-
build(
{CameraPosition? initialCameraPosition, Set< Marker> ? markers, Set<Callout> ? callouts, Set<Circle> ? circles, Set<Polygon> ? polygons, Set<Polyline> ? polylines, Set<Cluster> ? clusters, TrackPlayback? trackPlayback, ArgumentCallback<LatLng> ? onTap, ArgumentCallback<Poi> ? onPoiTap, ArgumentCallback<Polyline> ? onPolylineTap, ArgumentCallback<LatLng> ? onLongPress, ArgumentCallback<AtlasController> ? onMapCreated, ArgumentCallback<CameraPosition> ? onCameraPositionChanged, ArgumentCallback<LatLng> ? onLocationChanged, VoidCallback? onPan, bool? showMyLocation, bool? showMyLocationButton, bool? followMyLocation, MapType? mapType, bool? showTraffic, MapLanguage? mapLanguage, DeviceLocation? deviceLocation, String? deviceLocationIconAsset, String? country, bool? setPoliticalViews, double? zoom, double? minZoom, double? maxZoom}) → Widget -
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