[google_maps_flutter] Fix analyzer failures relating to prefer_const_constructors (#2053)
diff --git a/packages/google_maps_flutter/CHANGELOG.md b/packages/google_maps_flutter/CHANGELOG.md
index c88a00b..addc883 100644
--- a/packages/google_maps_flutter/CHANGELOG.md
+++ b/packages/google_maps_flutter/CHANGELOG.md
@@ -1,3 +1,7 @@
+## 0.5.21+1
+
+* Fix `prefer_const_constructors` analyzer warnings in example app.
+
## 0.5.21
* Don't recreate map elements if they didn't change since last widget build.
diff --git a/packages/google_maps_flutter/example/lib/padding.dart b/packages/google_maps_flutter/example/lib/padding.dart
index be45cb3..599f8a5 100644
--- a/packages/google_maps_flutter/example/lib/padding.dart
+++ b/packages/google_maps_flutter/example/lib/padding.dart
@@ -93,7 +93,7 @@
controller: _topController,
keyboardType: TextInputType.number,
textAlign: TextAlign.center,
- decoration: InputDecoration(
+ decoration: const InputDecoration(
hintText: "Top",
),
),
@@ -105,7 +105,7 @@
controller: _bottomController,
keyboardType: TextInputType.number,
textAlign: TextAlign.center,
- decoration: InputDecoration(
+ decoration: const InputDecoration(
hintText: "Bottom",
),
),
@@ -117,7 +117,7 @@
controller: _leftController,
keyboardType: TextInputType.number,
textAlign: TextAlign.center,
- decoration: InputDecoration(
+ decoration: const InputDecoration(
hintText: "Left",
),
),
@@ -129,7 +129,7 @@
controller: _rightController,
keyboardType: TextInputType.number,
textAlign: TextAlign.center,
- decoration: InputDecoration(
+ decoration: const InputDecoration(
hintText: "Right",
),
),
diff --git a/packages/google_maps_flutter/pubspec.yaml b/packages/google_maps_flutter/pubspec.yaml
index f8a8529..a72cb71 100644
--- a/packages/google_maps_flutter/pubspec.yaml
+++ b/packages/google_maps_flutter/pubspec.yaml
@@ -2,7 +2,7 @@
description: A Flutter plugin for integrating Google Maps in iOS and Android applications.
author: Flutter Team <flutter-dev@googlegroups.com>
homepage: https://github.com/flutter/plugins/tree/master/packages/google_maps_flutter
-version: 0.5.21
+version: 0.5.21+1
dependencies:
flutter: