[go: nahoru, domu]

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

[google_maps_flutter] Fix analyzer failures relating to prefer_const_constructors #2053

Merged
merged 2 commits into from
Sep 10, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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