commit | 96fd7c85fea3cb73b197c0ce6e01f06d0c242699 | [log] [tgz] |
---|---|---|
author | Tirth <pateltirth454@gmail.com> | Tue May 02 22:50:05 2023 +0530 |
committer | GitHub <noreply@github.com> | Tue May 02 17:20:05 2023 +0000 |
tree | d6c7a90fee3d50f9209f89b9aba1c0fe09af3eb1 | |
parent | 5e9e211a469a71fbf48ac6c79a4b85bfa4503e61 [diff] |
[google_maps_flutter] [Docs] Note regarding usage within a bounded & an unbound widget (#3691) Adds a note for the usage of GoogleMaps widget within unbounded & bounded widget. Fixes: https://github.com/flutter/flutter/issues/39234
diff --git a/packages/google_maps_flutter/google_maps_flutter/CHANGELOG.md b/packages/google_maps_flutter/google_maps_flutter/CHANGELOG.md index cf1cdd9..28ada3e 100644 --- a/packages/google_maps_flutter/google_maps_flutter/CHANGELOG.md +++ b/packages/google_maps_flutter/google_maps_flutter/CHANGELOG.md
@@ -1,6 +1,7 @@ -## NEXT +## 2.2.6 * Aligns Dart and Flutter SDK constraints. +* Updates README.md to specify not to use GoogleMaps widget within an unbounded widget. ## 2.2.5
diff --git a/packages/google_maps_flutter/google_maps_flutter/README.md b/packages/google_maps_flutter/google_maps_flutter/README.md index 820e0de..7a97d99 100644 --- a/packages/google_maps_flutter/google_maps_flutter/README.md +++ b/packages/google_maps_flutter/google_maps_flutter/README.md
@@ -105,6 +105,9 @@ The map view can be controlled with the `GoogleMapController` that is passed to the `GoogleMap`'s `onMapCreated` callback. +The `GoogleMap` widget should be used within a widget with a bounded size. Using it +in an unbounded widget will cause the application to throw a Flutter exception. + ### Sample Usage <?code-excerpt "readme_sample.dart (MapSample)"?>
diff --git a/packages/google_maps_flutter/google_maps_flutter/pubspec.yaml b/packages/google_maps_flutter/google_maps_flutter/pubspec.yaml index ba673cc..40fa1f8 100644 --- a/packages/google_maps_flutter/google_maps_flutter/pubspec.yaml +++ b/packages/google_maps_flutter/google_maps_flutter/pubspec.yaml
@@ -2,7 +2,7 @@ description: A Flutter plugin for integrating Google Maps in iOS and Android applications. repository: https://github.com/flutter/packages/tree/main/packages/google_maps_flutter/google_maps_flutter issue_tracker: https://github.com/flutter/flutter/issues?q=is%3Aissue+is%3Aopen+label%3A%22p%3A+maps%22 -version: 2.2.5 +version: 2.2.6 environment: sdk: ">=2.17.0 <4.0.0"