[go: nahoru, domu]

Skip to content
This repository has been archived by the owner on Feb 22, 2023. It is now read-only.

Commit

Permalink
[google_maps_flutter] Fix analyzer failures relating to prefer_const_…
Browse files Browse the repository at this point in the history
…constructors (#2053)
  • Loading branch information
collinjackson authored and amirh committed Sep 10, 2019
1 parent 2f3f21b commit 00d230b
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 5 deletions.
4 changes: 4 additions & 0 deletions packages/google_maps_flutter/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
8 changes: 4 additions & 4 deletions packages/google_maps_flutter/example/lib/padding.dart
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ class MarkerIconsBodyState extends State<MarkerIconsBody> {
controller: _topController,
keyboardType: TextInputType.number,
textAlign: TextAlign.center,
decoration: InputDecoration(
decoration: const InputDecoration(
hintText: "Top",
),
),
Expand All @@ -105,7 +105,7 @@ class MarkerIconsBodyState extends State<MarkerIconsBody> {
controller: _bottomController,
keyboardType: TextInputType.number,
textAlign: TextAlign.center,
decoration: InputDecoration(
decoration: const InputDecoration(
hintText: "Bottom",
),
),
Expand All @@ -117,7 +117,7 @@ class MarkerIconsBodyState extends State<MarkerIconsBody> {
controller: _leftController,
keyboardType: TextInputType.number,
textAlign: TextAlign.center,
decoration: InputDecoration(
decoration: const InputDecoration(
hintText: "Left",
),
),
Expand All @@ -129,7 +129,7 @@ class MarkerIconsBodyState extends State<MarkerIconsBody> {
controller: _rightController,
keyboardType: TextInputType.number,
textAlign: TextAlign.center,
decoration: InputDecoration(
decoration: const InputDecoration(
hintText: "Right",
),
),
Expand Down
2 changes: 1 addition & 1 deletion packages/google_maps_flutter/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: google_maps_flutter
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:
Expand Down

0 comments on commit 00d230b

Please sign in to comment.