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

Commit 6c341f8

Browse files
author
Michael Klimushyn
authored
[google_maps_flutter] Prefer const constructors. (#2065)
1 parent c0cba54 commit 6c341f8

File tree

3 files changed

+8
-4
lines changed

3 files changed

+8
-4
lines changed

packages/google_maps_flutter/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## 0.5.21+2
2+
3+
* Fix more `prefer_const_constructors` analyzer warnings in example app.
4+
15
## 0.5.21+1
26

37
* Fix `prefer_const_constructors` analyzer warnings in example app.

packages/google_maps_flutter/example/lib/padding.dart

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ class MarkerIconsBodyState extends State<MarkerIconsBody> {
9898
),
9999
),
100100
),
101-
Spacer(),
101+
const Spacer(),
102102
Flexible(
103103
flex: 2,
104104
child: TextField(
@@ -110,7 +110,7 @@ class MarkerIconsBodyState extends State<MarkerIconsBody> {
110110
),
111111
),
112112
),
113-
Spacer(),
113+
const Spacer(),
114114
Flexible(
115115
flex: 2,
116116
child: TextField(
@@ -122,7 +122,7 @@ class MarkerIconsBodyState extends State<MarkerIconsBody> {
122122
),
123123
),
124124
),
125-
Spacer(),
125+
const Spacer(),
126126
Flexible(
127127
flex: 2,
128128
child: TextField(

packages/google_maps_flutter/pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: google_maps_flutter
22
description: A Flutter plugin for integrating Google Maps in iOS and Android applications.
33
author: Flutter Team <[email protected]>
44
homepage: https://github.com/flutter/plugins/tree/master/packages/google_maps_flutter
5-
version: 0.5.21+1
5+
version: 0.5.21+2
66

77
dependencies:
88
flutter:

0 commit comments

Comments
 (0)