diff --git a/google_maps_flutter/example/pubspec.yaml b/google_maps_flutter/example/pubspec.yaml index eb06e09..0035c96 100644 --- a/google_maps_flutter/example/pubspec.yaml +++ b/google_maps_flutter/example/pubspec.yaml @@ -1,5 +1,6 @@ name: google_maps_flutter_example description: Demonstrates how to use the google_maps_flutter plugin. +publish_to: none environment: sdk: '>=2.12.0-259.9.beta <3.0.0' diff --git a/google_maps_flutter_web/lib/src/circles.dart b/google_maps_flutter_web/lib/src/circles.dart index 2a19d87..ae8faa0 100644 --- a/google_maps_flutter_web/lib/src/circles.dart +++ b/google_maps_flutter_web/lib/src/circles.dart @@ -15,7 +15,7 @@ class CirclesController extends GeometryController { /// Initialize the cache. The [StreamController] comes from the [GoogleMapController], and is shared with other controllers. CirclesController({ required StreamController stream, - }) : _streamController = stream, + }) : _streamController = stream, _circleIdToController = Map(); /// Returns the cache of [CircleController]s. Test only. diff --git a/google_maps_flutter_web/lib/src/markers.dart b/google_maps_flutter_web/lib/src/markers.dart index 704577b..b650b9b 100644 --- a/google_maps_flutter_web/lib/src/markers.dart +++ b/google_maps_flutter_web/lib/src/markers.dart @@ -15,7 +15,7 @@ class MarkersController extends GeometryController { /// Initialize the cache. The [StreamController] comes from the [GoogleMapController], and is shared with other controllers. MarkersController({ required StreamController stream, - }) : _streamController = stream, + }) : _streamController = stream, _markerIdToController = Map(); /// Returns the cache of [MarkerController]s. Test only. diff --git a/google_maps_flutter_web/lib/src/polygons.dart b/google_maps_flutter_web/lib/src/polygons.dart index ef51bd6..8a96431 100644 --- a/google_maps_flutter_web/lib/src/polygons.dart +++ b/google_maps_flutter_web/lib/src/polygons.dart @@ -15,7 +15,7 @@ class PolygonsController extends GeometryController { /// Initializes the cache. The [StreamController] comes from the [GoogleMapController], and is shared with other controllers. PolygonsController({ required StreamController stream, - }) : _streamController = stream, + }) : _streamController = stream, _polygonIdToController = Map(); /// Returns the cache of [PolygonController]s. Test only. diff --git a/google_maps_flutter_web/lib/src/polylines.dart b/google_maps_flutter_web/lib/src/polylines.dart index 184c0d9..695b295 100644 --- a/google_maps_flutter_web/lib/src/polylines.dart +++ b/google_maps_flutter_web/lib/src/polylines.dart @@ -15,7 +15,7 @@ class PolylinesController extends GeometryController { /// Initializes the cache. The [StreamController] comes from the [GoogleMapController], and is shared with other controllers. PolylinesController({ required StreamController stream, - }) : _streamController = stream, + }) : _streamController = stream, _polylineIdToController = Map(); /// Returns the cache of [PolylineContrller]s. Test only.