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

Commit 9eaba38

Browse files
committed
[various] prepare for more const widgets
1 parent d5bab16 commit 9eaba38

File tree

12 files changed

+32
-0
lines changed

12 files changed

+32
-0
lines changed

packages/google_maps_flutter/google_maps_flutter/CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
## NEXT
22

33
* Updates minimum Flutter version to 3.0.
4+
* Ignores a lint in the tests for backwards compatibility.
45

56
## 2.2.3
67

packages/google_maps_flutter/google_maps_flutter/test/map_creation_test.dart

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,12 @@ void main() {
2929
) async {
3030
// Inject two map widgets...
3131
await tester.pumpWidget(
32+
// TODO(goderbauer): Make this const when that's available on stable.
33+
// ignore: prefer_const_constructors
3234
Directionality(
3335
textDirection: TextDirection.ltr,
36+
// TODO(goderbauer): Make this const when that's available on stable.
37+
// ignore: prefer_const_constructors
3438
child: Column(
3539
children: const <Widget>[
3640
GoogleMap(

packages/local_auth/local_auth/CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
## NEXT
22

33
* Updates minimum Flutter version to 3.0.
4+
* Ignores a lint in the example app for backwards compatibility.
45

56
## 2.1.3
67

packages/local_auth/local_auth/example/lib/main.dart

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -183,6 +183,8 @@ class _MyAppState extends State<MyApp> {
183183
if (_isAuthenticating)
184184
ElevatedButton(
185185
onPressed: _cancelAuthentication,
186+
// TODO(goderbauer): Make this const when that's available on stable.
187+
// ignore: prefer_const_constructors
186188
child: Row(
187189
mainAxisSize: MainAxisSize.min,
188190
children: const <Widget>[
@@ -196,6 +198,8 @@ class _MyAppState extends State<MyApp> {
196198
children: <Widget>[
197199
ElevatedButton(
198200
onPressed: _authenticate,
201+
// TODO(goderbauer): Make this const when that's available on stable.
202+
// ignore: prefer_const_constructors
199203
child: Row(
200204
mainAxisSize: MainAxisSize.min,
201205
children: const <Widget>[

packages/local_auth/local_auth_android/CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
## NEXT
22

33
* Updates minimum Flutter version to 3.0.
4+
* Ignores a lint in the example app for backwards compatibility.
45

56
## 1.0.17
67

packages/local_auth/local_auth_android/example/lib/main.dart

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -188,6 +188,8 @@ class _MyAppState extends State<MyApp> {
188188
if (_isAuthenticating)
189189
ElevatedButton(
190190
onPressed: _cancelAuthentication,
191+
// TODO(goderbauer): Make this const when that's available on stable.
192+
// ignore: prefer_const_constructors
191193
child: Row(
192194
mainAxisSize: MainAxisSize.min,
193195
children: const <Widget>[
@@ -201,6 +203,8 @@ class _MyAppState extends State<MyApp> {
201203
children: <Widget>[
202204
ElevatedButton(
203205
onPressed: _authenticate,
206+
// TODO(goderbauer): Make this const when that's available on stable.
207+
// ignore: prefer_const_constructors
204208
child: Row(
205209
mainAxisSize: MainAxisSize.min,
206210
children: const <Widget>[

packages/local_auth/local_auth_ios/CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
## NEXT
22

33
* Updates minimum Flutter version to 3.0.
4+
* Ignores a lint in the example app for backwards compatibility.
45

56
## 1.0.12
67

packages/local_auth/local_auth_ios/example/lib/main.dart

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -187,6 +187,8 @@ class _MyAppState extends State<MyApp> {
187187
if (_isAuthenticating)
188188
ElevatedButton(
189189
onPressed: _cancelAuthentication,
190+
// TODO(goderbauer): Make this const when that's available on stable.
191+
// ignore: prefer_const_constructors
190192
child: Row(
191193
mainAxisSize: MainAxisSize.min,
192194
children: const <Widget>[
@@ -200,6 +202,8 @@ class _MyAppState extends State<MyApp> {
200202
children: <Widget>[
201203
ElevatedButton(
202204
onPressed: _authenticate,
205+
// TODO(goderbauer): Make this const when that's available on stable.
206+
// ignore: prefer_const_constructors
203207
child: Row(
204208
mainAxisSize: MainAxisSize.min,
205209
children: const <Widget>[

packages/local_auth/local_auth_windows/CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
## NEXT
22

33
* Updates minimum Flutter version to 3.0.
4+
* Ignores a lint in the example app for backwards compatibility.
45

56
## 1.0.5
67

packages/local_auth/local_auth_windows/example/lib/main.dart

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -150,6 +150,8 @@ class _MyAppState extends State<MyApp> {
150150
if (_isAuthenticating)
151151
ElevatedButton(
152152
onPressed: _cancelAuthentication,
153+
// TODO(goderbauer): Make this const when that's available on stable.
154+
// ignore: prefer_const_constructors
153155
child: Row(
154156
mainAxisSize: MainAxisSize.min,
155157
children: const <Widget>[
@@ -163,6 +165,8 @@ class _MyAppState extends State<MyApp> {
163165
children: <Widget>[
164166
ElevatedButton(
165167
onPressed: _authenticate,
168+
// TODO(goderbauer): Make this const when that's available on stable.
169+
// ignore: prefer_const_constructors
166170
child: Row(
167171
mainAxisSize: MainAxisSize.min,
168172
children: const <Widget>[

packages/url_launcher/url_launcher/CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
## NEXT
22

33
* Updates minimum Flutter version to 3.0.
4+
* Ignores a lint in the example app for backwards compatibility.
45

56
## 6.1.8
67

packages/url_launcher/url_launcher/example/lib/encoding.dart

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,14 @@ String? encodeQueryParameters(Map<String, String> params) {
2222
// #enddocregion encode-query-parameters
2323

2424
void main() => runApp(
25+
// TODO(goderbauer): Make this const when that's available on stable.
26+
// ignore: prefer_const_constructors
2527
MaterialApp(
28+
// TODO(goderbauer): Make this const when that's available on stable.
29+
// ignore: prefer_const_constructors
2630
home: Material(
31+
// TODO(goderbauer): Make this const when that's available on stable.
32+
// ignore: prefer_const_constructors
2733
child: Column(
2834
mainAxisAlignment: MainAxisAlignment.spaceEvenly,
2935
children: const <Widget>[

0 commit comments

Comments
 (0)