Commit 58478a5 1 parent 99aa799 commit 58478a5 Copy full SHA for 58478a5
File tree 3 files changed +20
-16
lines changed
packages/google_maps_flutter/google_maps_flutter_web
3 files changed +20
-16
lines changed Original file line number Diff line number Diff line change
1
+ ## NEXT
2
+
3
+ * Adds ` const ` constructor parameters in example tests.
4
+
1
5
## 0.3.3
2
6
3
7
* Removes custom ` analysis_options.yaml ` (and fixes code to comply with newest rules).
Original file line number Diff line number Diff line change @@ -145,8 +145,8 @@ void main() {
145
145
expect (() {
146
146
controller.updateCircles (
147
147
CircleUpdates .from (
148
- < Circle > {},
149
- < Circle > {},
148
+ const < Circle > {},
149
+ const < Circle > {},
150
150
),
151
151
);
152
152
}, throwsAssertionError);
@@ -159,8 +159,8 @@ void main() {
159
159
expect (() {
160
160
controller.updatePolygons (
161
161
PolygonUpdates .from (
162
- < Polygon > {},
163
- < Polygon > {},
162
+ const < Polygon > {},
163
+ const < Polygon > {},
164
164
),
165
165
);
166
166
}, throwsAssertionError);
@@ -173,8 +173,8 @@ void main() {
173
173
expect (() {
174
174
controller.updatePolylines (
175
175
PolylineUpdates .from (
176
- < Polyline > {},
177
- < Polyline > {},
176
+ const < Polyline > {},
177
+ const < Polyline > {},
178
178
),
179
179
);
180
180
}, throwsAssertionError);
@@ -187,8 +187,8 @@ void main() {
187
187
expect (() {
188
188
controller.updateMarkers (
189
189
MarkerUpdates .from (
190
- < Marker > {},
191
- < Marker > {},
190
+ const < Marker > {},
191
+ const < Marker > {},
192
192
),
193
193
);
194
194
}, throwsAssertionError);
Original file line number Diff line number Diff line change @@ -233,8 +233,8 @@ void main() {
233
233
// Geometry
234
234
testWidgets ('updateMarkers' , (WidgetTester tester) async {
235
235
final MarkerUpdates expectedUpdates = MarkerUpdates .from (
236
- < Marker > {},
237
- < Marker > {},
236
+ const < Marker > {},
237
+ const < Marker > {},
238
238
);
239
239
240
240
await plugin.updateMarkers (expectedUpdates, mapId: mapId);
@@ -243,8 +243,8 @@ void main() {
243
243
});
244
244
testWidgets ('updatePolygons' , (WidgetTester tester) async {
245
245
final PolygonUpdates expectedUpdates = PolygonUpdates .from (
246
- < Polygon > {},
247
- < Polygon > {},
246
+ const < Polygon > {},
247
+ const < Polygon > {},
248
248
);
249
249
250
250
await plugin.updatePolygons (expectedUpdates, mapId: mapId);
@@ -253,8 +253,8 @@ void main() {
253
253
});
254
254
testWidgets ('updatePolylines' , (WidgetTester tester) async {
255
255
final PolylineUpdates expectedUpdates = PolylineUpdates .from (
256
- < Polyline > {},
257
- < Polyline > {},
256
+ const < Polyline > {},
257
+ const < Polyline > {},
258
258
);
259
259
260
260
await plugin.updatePolylines (expectedUpdates, mapId: mapId);
@@ -263,8 +263,8 @@ void main() {
263
263
});
264
264
testWidgets ('updateCircles' , (WidgetTester tester) async {
265
265
final CircleUpdates expectedUpdates = CircleUpdates .from (
266
- < Circle > {},
267
- < Circle > {},
266
+ const < Circle > {},
267
+ const < Circle > {},
268
268
);
269
269
270
270
await plugin.updateCircles (expectedUpdates, mapId: mapId);
You can’t perform that action at this time.
0 commit comments