From e4af706022343aa7fcba78dcdbc1001caf02f05a Mon Sep 17 00:00:00 2001 From: Tiffaa <33839996+TiffApps@users.noreply.github.com> Date: Tue, 3 Jan 2023 21:10:28 +0100 Subject: [PATCH] [google_maps_flutter] Fixed minor syntax error in the README.md (#6909) * Fixed minor syntax error and added imports * [google_maps_flutter] Fixed minor syntax error and added imports * Fixed changes to match repo guidelines and tests Moved the changes to the readme_sample code excerpt, incremented the version, and removed the changes to imports. * Updated excerpts and pubspec version * Style fix Co-authored-by: stuartmorgan --- packages/google_maps_flutter/google_maps_flutter/CHANGELOG.md | 4 ++++ packages/google_maps_flutter/google_maps_flutter/README.md | 1 + .../google_maps_flutter/example/lib/readme_sample.dart | 2 +- packages/google_maps_flutter/google_maps_flutter/pubspec.yaml | 2 +- 4 files changed, 7 insertions(+), 2 deletions(-) diff --git a/packages/google_maps_flutter/google_maps_flutter/CHANGELOG.md b/packages/google_maps_flutter/google_maps_flutter/CHANGELOG.md index af701d542029..4287430c32ff 100644 --- a/packages/google_maps_flutter/google_maps_flutter/CHANGELOG.md +++ b/packages/google_maps_flutter/google_maps_flutter/CHANGELOG.md @@ -1,3 +1,7 @@ +## 2.2.3 + +* Fixes a minor syntax error in `README.md`. + ## 2.2.2 * Modified `README.md` to fix minor syntax issues and added Code Excerpt to `README.md`. diff --git a/packages/google_maps_flutter/google_maps_flutter/README.md b/packages/google_maps_flutter/google_maps_flutter/README.md index b3e3d9bc8333..687672353a7e 100644 --- a/packages/google_maps_flutter/google_maps_flutter/README.md +++ b/packages/google_maps_flutter/google_maps_flutter/README.md @@ -153,6 +153,7 @@ class MapSampleState extends State { final GoogleMapController controller = await _controller.future; controller.animateCamera(CameraUpdate.newCameraPosition(_kLake)); } +} ``` See the `example` directory for a complete sample app. diff --git a/packages/google_maps_flutter/google_maps_flutter/example/lib/readme_sample.dart b/packages/google_maps_flutter/google_maps_flutter/example/lib/readme_sample.dart index a15639893515..7352945fb2d5 100644 --- a/packages/google_maps_flutter/google_maps_flutter/example/lib/readme_sample.dart +++ b/packages/google_maps_flutter/google_maps_flutter/example/lib/readme_sample.dart @@ -68,5 +68,5 @@ class MapSampleState extends State { final GoogleMapController controller = await _controller.future; controller.animateCamera(CameraUpdate.newCameraPosition(_kLake)); } - // #enddocregion MapSample } +// #enddocregion MapSample diff --git a/packages/google_maps_flutter/google_maps_flutter/pubspec.yaml b/packages/google_maps_flutter/google_maps_flutter/pubspec.yaml index cdf709a7f36d..30f4a882deca 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 @@ name: google_maps_flutter description: A Flutter plugin for integrating Google Maps in iOS and Android applications. repository: https://github.com/flutter/plugins/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.2 +version: 2.2.3 environment: sdk: ">=2.14.0 <3.0.0"