diff --git a/packages/flutter_adaptive_scaffold/CHANGELOG.md b/packages/flutter_adaptive_scaffold/CHANGELOG.md index 6ff69f593d3..0c907565f1c 100644 --- a/packages/flutter_adaptive_scaffold/CHANGELOG.md +++ b/packages/flutter_adaptive_scaffold/CHANGELOG.md @@ -1,3 +1,8 @@ +## NEXT + +* Fixes stale ignore: prefer_const_constructors. +* Updates minimum supported SDK version to Flutter 3.10/Dart 3.0. + ## 0.1.4 * Use Material 3 NavigationBar instead of BottomNavigationBar diff --git a/packages/flutter_adaptive_scaffold/example/lib/main.dart b/packages/flutter_adaptive_scaffold/example/lib/main.dart index 994b9c8b835..5e97f06859a 100644 --- a/packages/flutter_adaptive_scaffold/example/lib/main.dart +++ b/packages/flutter_adaptive_scaffold/example/lib/main.dart @@ -412,11 +412,9 @@ class _LargeComposeIcon extends StatelessWidget { child: Column(children: [ Container( padding: const EdgeInsets.fromLTRB(6, 0, 0, 0), - // TODO(goderbauer): Make this const when this package requires Flutter 3.8 or later. - // ignore: prefer_const_constructors - child: Row( + child: const Row( mainAxisAlignment: MainAxisAlignment.spaceBetween, - children: const [ + children: [ Text( 'REPLY', style: TextStyle(color: Colors.deepPurple, fontSize: 15), @@ -444,14 +442,10 @@ class _LargeComposeIcon extends StatelessWidget { ), width: 200, height: 50, - // TODO(goderbauer): Make this const when this package requires Flutter 3.8 or later. - // ignore: prefer_const_constructors - child: Padding( - padding: const EdgeInsets.fromLTRB(16.0, 0, 0, 0), - // TODO(goderbauer): Make this const when this package requires Flutter 3.8 or later. - // ignore: prefer_const_constructors + child: const Padding( + padding: EdgeInsets.fromLTRB(16.0, 0, 0, 0), child: Row( - children: const [ + children: [ Icon(Icons.edit_outlined), SizedBox(width: 20), Center(child: Text('Compose')), diff --git a/packages/flutter_adaptive_scaffold/example/pubspec.yaml b/packages/flutter_adaptive_scaffold/example/pubspec.yaml index 70ca3041abe..54e91a84f66 100644 --- a/packages/flutter_adaptive_scaffold/example/pubspec.yaml +++ b/packages/flutter_adaptive_scaffold/example/pubspec.yaml @@ -4,8 +4,8 @@ publish_to: 'none' version: 0.0.1 environment: - sdk: ">=2.18.0 <4.0.0" - flutter: ">=3.3.0" + sdk: ">=3.0.0 <4.0.0" + flutter: ">=3.10.0" dependencies: flutter: diff --git a/packages/flutter_adaptive_scaffold/pubspec.yaml b/packages/flutter_adaptive_scaffold/pubspec.yaml index d988420a222..4e3cc5c57d4 100644 --- a/packages/flutter_adaptive_scaffold/pubspec.yaml +++ b/packages/flutter_adaptive_scaffold/pubspec.yaml @@ -5,8 +5,8 @@ issue_tracker: https://github.com/flutter/flutter/issues?q=is%3Aissue+is%3Aopen+ repository: https://github.com/flutter/packages/tree/main/packages/flutter_adaptive_scaffold environment: - sdk: ">=2.18.0 <4.0.0" - flutter: ">=3.3.0" + sdk: ">=3.0.0 <4.0.0" + flutter: ">=3.10.0" dependencies: flutter: diff --git a/packages/flutter_markdown/CHANGELOG.md b/packages/flutter_markdown/CHANGELOG.md index 3e6a59396a2..21a7e338e1e 100644 --- a/packages/flutter_markdown/CHANGELOG.md +++ b/packages/flutter_markdown/CHANGELOG.md @@ -1,3 +1,8 @@ +## NEXT + +* Fixes stale ignore: prefer_const_constructors. +* Updates minimum supported SDK version to Flutter 3.10/Dart 3.0. + ## 0.6.15 * Fixes unawaited_futures violations. diff --git a/packages/flutter_markdown/pubspec.yaml b/packages/flutter_markdown/pubspec.yaml index 74b886c1c75..525222b9c28 100644 --- a/packages/flutter_markdown/pubspec.yaml +++ b/packages/flutter_markdown/pubspec.yaml @@ -7,8 +7,8 @@ issue_tracker: https://github.com/flutter/flutter/issues?q=is%3Aissue+is%3Aopen+ version: 0.6.15 environment: - sdk: ">=2.18.0 <4.0.0" - flutter: ">=3.3.0" + sdk: ">=3.0.0 <4.0.0" + flutter: ">=3.10.0" dependencies: flutter: diff --git a/packages/flutter_markdown/test/list_test.dart b/packages/flutter_markdown/test/list_test.dart index 0703dfd4448..4a587c50a93 100644 --- a/packages/flutter_markdown/test/list_test.dart +++ b/packages/flutter_markdown/test/list_test.dart @@ -194,10 +194,8 @@ void defineTests() { await tester.pumpWidget( boilerplate( - // TODO(goderbauer): Make this const when this package requires Flutter 3.8 or later. - // ignore: prefer_const_constructors - Column( - children: const [ + const Column( + children: [ MarkdownBody(fitContent: false, data: data), ], ), @@ -219,10 +217,8 @@ void defineTests() { await tester.pumpWidget( boilerplate( - // TODO(goderbauer): Make this const when this package requires Flutter 3.8 or later. - // ignore: prefer_const_constructors - Column( - children: const [ + const Column( + children: [ MarkdownBody(data: data), ], ), diff --git a/packages/flutter_markdown/test/markdown_body_shrink_wrap_test.dart b/packages/flutter_markdown/test/markdown_body_shrink_wrap_test.dart index 9dc611be70a..a5ae8695392 100644 --- a/packages/flutter_markdown/test/markdown_body_shrink_wrap_test.dart +++ b/packages/flutter_markdown/test/markdown_body_shrink_wrap_test.dart @@ -16,10 +16,8 @@ void defineTests() { 'Then it wraps its content', (WidgetTester tester) async { await tester.pumpWidget(boilerplate( - // TODO(goderbauer): Make this const when this package requires Flutter 3.8 or later. - // ignore: prefer_const_constructors - Stack( - children: const [ + const Stack( + children: [ Text('shrinkWrap=true'), Align( alignment: Alignment.bottomCenter, @@ -48,10 +46,8 @@ void defineTests() { 'Then it expands to the maximum allowed height', (WidgetTester tester) async { await tester.pumpWidget(boilerplate( - // TODO(goderbauer): Make this const when this package requires Flutter 3.8 or later. - // ignore: prefer_const_constructors - Stack( - children: const [ + const Stack( + children: [ Text('shrinkWrap=false test'), Align( alignment: Alignment.bottomCenter, diff --git a/packages/google_maps_flutter/google_maps_flutter/CHANGELOG.md b/packages/google_maps_flutter/google_maps_flutter/CHANGELOG.md index a0b461f10eb..e244734a438 100644 --- a/packages/google_maps_flutter/google_maps_flutter/CHANGELOG.md +++ b/packages/google_maps_flutter/google_maps_flutter/CHANGELOG.md @@ -1,3 +1,8 @@ +## NEXT + +* Fixes stale ignore: prefer_const_constructors. +* Updates minimum supported SDK version to Flutter 3.10/Dart 3.0. + ## 2.3.0 * Endorses [`google_maps_flutter_web`](https://pub.dev/packages/google_maps_flutter_web) diff --git a/packages/google_maps_flutter/google_maps_flutter/example/pubspec.yaml b/packages/google_maps_flutter/google_maps_flutter/example/pubspec.yaml index 9c0ab999ddb..6b3d16007c4 100644 --- a/packages/google_maps_flutter/google_maps_flutter/example/pubspec.yaml +++ b/packages/google_maps_flutter/google_maps_flutter/example/pubspec.yaml @@ -3,8 +3,8 @@ description: Demonstrates how to use the google_maps_flutter plugin. publish_to: none environment: - sdk: ">=2.18.0 <4.0.0" - flutter: ">=3.3.0" + sdk: ">=3.0.0 <4.0.0" + flutter: ">=3.10.0" dependencies: cupertino_icons: ^1.0.5 diff --git a/packages/google_maps_flutter/google_maps_flutter/pubspec.yaml b/packages/google_maps_flutter/google_maps_flutter/pubspec.yaml index d1e577027b3..91bc476fda8 100644 --- a/packages/google_maps_flutter/google_maps_flutter/pubspec.yaml +++ b/packages/google_maps_flutter/google_maps_flutter/pubspec.yaml @@ -5,8 +5,8 @@ issue_tracker: https://github.com/flutter/flutter/issues?q=is%3Aissue+is%3Aopen+ version: 2.3.0 environment: - sdk: ">=2.18.0 <4.0.0" - flutter: ">=3.3.0" + sdk: ">=3.0.0 <4.0.0" + flutter: ">=3.10.0" flutter: plugin: diff --git a/packages/google_maps_flutter/google_maps_flutter/test/map_creation_test.dart b/packages/google_maps_flutter/google_maps_flutter/test/map_creation_test.dart index 10e118486a3..7f88b60ad6c 100644 --- a/packages/google_maps_flutter/google_maps_flutter/test/map_creation_test.dart +++ b/packages/google_maps_flutter/google_maps_flutter/test/map_creation_test.dart @@ -26,14 +26,10 @@ void main() { ) async { // Inject two map widgets... await tester.pumpWidget( - // TODO(goderbauer): Make this const when this package requires Flutter 3.8 or later. - // ignore: prefer_const_constructors - Directionality( + const Directionality( textDirection: TextDirection.ltr, - // TODO(goderbauer): Make this const when this package requires Flutter 3.8 or later. - // ignore: prefer_const_constructors child: Column( - children: const [ + children: [ GoogleMap( initialCameraPosition: CameraPosition( target: LatLng(43.362, -5.849), diff --git a/packages/local_auth/local_auth/CHANGELOG.md b/packages/local_auth/local_auth/CHANGELOG.md index b542eda207a..fb370ef1afb 100644 --- a/packages/local_auth/local_auth/CHANGELOG.md +++ b/packages/local_auth/local_auth/CHANGELOG.md @@ -1,7 +1,8 @@ ## NEXT -* Updates minimum Flutter version to 3.3. * Aligns Dart and Flutter SDK constraints. +* Fixes stale ignore: prefer_const_constructors. +* Updates minimum supported SDK version to Flutter 3.10/Dart 3.0. ## 2.1.6 diff --git a/packages/local_auth/local_auth/example/lib/main.dart b/packages/local_auth/local_auth/example/lib/main.dart index 8a99ee56b48..f8e08863b56 100644 --- a/packages/local_auth/local_auth/example/lib/main.dart +++ b/packages/local_auth/local_auth/example/lib/main.dart @@ -183,11 +183,9 @@ class _MyAppState extends State { if (_isAuthenticating) ElevatedButton( onPressed: _cancelAuthentication, - // TODO(goderbauer): Make this const when this package requires Flutter 3.8 or later. - // ignore: prefer_const_constructors - child: Row( + child: const Row( mainAxisSize: MainAxisSize.min, - children: const [ + children: [ Text('Cancel Authentication'), Icon(Icons.cancel), ], @@ -198,11 +196,9 @@ class _MyAppState extends State { children: [ ElevatedButton( onPressed: _authenticate, - // TODO(goderbauer): Make this const when this package requires Flutter 3.8 or later. - // ignore: prefer_const_constructors - child: Row( + child: const Row( mainAxisSize: MainAxisSize.min, - children: const [ + children: [ Text('Authenticate'), Icon(Icons.perm_device_information), ], diff --git a/packages/local_auth/local_auth/example/pubspec.yaml b/packages/local_auth/local_auth/example/pubspec.yaml index 53c5b88dbc0..7b5fb2322ef 100644 --- a/packages/local_auth/local_auth/example/pubspec.yaml +++ b/packages/local_auth/local_auth/example/pubspec.yaml @@ -3,8 +3,8 @@ description: Demonstrates how to use the local_auth plugin. publish_to: none environment: - sdk: ">=2.18.0 <4.0.0" - flutter: ">=3.3.0" + sdk: ">=3.0.0 <4.0.0" + flutter: ">=3.10.0" dependencies: flutter: diff --git a/packages/local_auth/local_auth/pubspec.yaml b/packages/local_auth/local_auth/pubspec.yaml index 89ec28846fd..f5812afa5ff 100644 --- a/packages/local_auth/local_auth/pubspec.yaml +++ b/packages/local_auth/local_auth/pubspec.yaml @@ -6,8 +6,8 @@ issue_tracker: https://github.com/flutter/flutter/issues?q=is%3Aissue+is%3Aopen+ version: 2.1.6 environment: - sdk: ">=2.18.0 <4.0.0" - flutter: ">=3.3.0" + sdk: ">=3.0.0 <4.0.0" + flutter: ">=3.10.0" flutter: plugin: diff --git a/packages/local_auth/local_auth_android/CHANGELOG.md b/packages/local_auth/local_auth_android/CHANGELOG.md index 614d21d1bb4..d34206069d6 100644 --- a/packages/local_auth/local_auth_android/CHANGELOG.md +++ b/packages/local_auth/local_auth_android/CHANGELOG.md @@ -1,3 +1,8 @@ +## NEXT + +* Fixes stale ignore: prefer_const_constructors. +* Updates minimum supported SDK version to Flutter 3.10/Dart 3.0. + ## 1.0.31 * Updates androidx.fragment version to 1.5.7. diff --git a/packages/local_auth/local_auth_android/example/lib/main.dart b/packages/local_auth/local_auth_android/example/lib/main.dart index db30c01cd4f..378ada594aa 100644 --- a/packages/local_auth/local_auth_android/example/lib/main.dart +++ b/packages/local_auth/local_auth_android/example/lib/main.dart @@ -188,11 +188,9 @@ class _MyAppState extends State { if (_isAuthenticating) ElevatedButton( onPressed: _cancelAuthentication, - // TODO(goderbauer): Make this const when this package requires Flutter 3.8 or later. - // ignore: prefer_const_constructors - child: Row( + child: const Row( mainAxisSize: MainAxisSize.min, - children: const [ + children: [ Text('Cancel Authentication'), Icon(Icons.cancel), ], @@ -203,11 +201,9 @@ class _MyAppState extends State { children: [ ElevatedButton( onPressed: _authenticate, - // TODO(goderbauer): Make this const when this package requires Flutter 3.8 or later. - // ignore: prefer_const_constructors - child: Row( + child: const Row( mainAxisSize: MainAxisSize.min, - children: const [ + children: [ Text('Authenticate'), Icon(Icons.perm_device_information), ], diff --git a/packages/local_auth/local_auth_android/example/pubspec.yaml b/packages/local_auth/local_auth_android/example/pubspec.yaml index d5801103e81..e0be107cc92 100644 --- a/packages/local_auth/local_auth_android/example/pubspec.yaml +++ b/packages/local_auth/local_auth_android/example/pubspec.yaml @@ -3,8 +3,8 @@ description: Demonstrates how to use the local_auth_android plugin. publish_to: none environment: - sdk: ">=2.18.0 <4.0.0" - flutter: ">=3.3.0" + sdk: ">=3.0.0 <4.0.0" + flutter: ">=3.10.0" dependencies: flutter: diff --git a/packages/local_auth/local_auth_android/pubspec.yaml b/packages/local_auth/local_auth_android/pubspec.yaml index 0a7063683a8..4a3e4f11035 100644 --- a/packages/local_auth/local_auth_android/pubspec.yaml +++ b/packages/local_auth/local_auth_android/pubspec.yaml @@ -5,8 +5,8 @@ issue_tracker: https://github.com/flutter/flutter/issues?q=is%3Aissue+is%3Aopen+ version: 1.0.31 environment: - sdk: ">=2.18.0 <4.0.0" - flutter: ">=3.3.0" + sdk: ">=3.0.0 <4.0.0" + flutter: ">=3.10.0" flutter: plugin: diff --git a/packages/local_auth/local_auth_ios/CHANGELOG.md b/packages/local_auth/local_auth_ios/CHANGELOG.md index 2d47acf2f01..867297555d8 100644 --- a/packages/local_auth/local_auth_ios/CHANGELOG.md +++ b/packages/local_auth/local_auth_ios/CHANGELOG.md @@ -1,3 +1,8 @@ +## NEXT + +* Fixes stale ignore: prefer_const_constructors. +* Updates minimum supported SDK version to Flutter 3.10/Dart 3.0. + ## 1.1.3 * Migrates internal implementation to Pigeon. diff --git a/packages/local_auth/local_auth_ios/example/lib/main.dart b/packages/local_auth/local_auth_ios/example/lib/main.dart index b7acc99f9d7..3e857bd88ef 100644 --- a/packages/local_auth/local_auth_ios/example/lib/main.dart +++ b/packages/local_auth/local_auth_ios/example/lib/main.dart @@ -187,11 +187,9 @@ class _MyAppState extends State { if (_isAuthenticating) ElevatedButton( onPressed: _cancelAuthentication, - // TODO(goderbauer): Make this const when this package requires Flutter 3.8 or later. - // ignore: prefer_const_constructors - child: Row( + child: const Row( mainAxisSize: MainAxisSize.min, - children: const [ + children: [ Text('Cancel Authentication'), Icon(Icons.cancel), ], @@ -202,11 +200,9 @@ class _MyAppState extends State { children: [ ElevatedButton( onPressed: _authenticate, - // TODO(goderbauer): Make this const when this package requires Flutter 3.8 or later. - // ignore: prefer_const_constructors - child: Row( + child: const Row( mainAxisSize: MainAxisSize.min, - children: const [ + children: [ Text('Authenticate'), Icon(Icons.perm_device_information), ], diff --git a/packages/local_auth/local_auth_ios/example/pubspec.yaml b/packages/local_auth/local_auth_ios/example/pubspec.yaml index 300f2ff967e..74d524743b6 100644 --- a/packages/local_auth/local_auth_ios/example/pubspec.yaml +++ b/packages/local_auth/local_auth_ios/example/pubspec.yaml @@ -3,8 +3,8 @@ description: Demonstrates how to use the local_auth_ios plugin. publish_to: none environment: - sdk: ">=2.18.0 <4.0.0" - flutter: ">=3.3.0" + sdk: ">=3.0.0 <4.0.0" + flutter: ">=3.10.0" dependencies: flutter: diff --git a/packages/local_auth/local_auth_ios/pubspec.yaml b/packages/local_auth/local_auth_ios/pubspec.yaml index 000a82e2683..cfdfc0b4e5a 100644 --- a/packages/local_auth/local_auth_ios/pubspec.yaml +++ b/packages/local_auth/local_auth_ios/pubspec.yaml @@ -5,8 +5,8 @@ issue_tracker: https://github.com/flutter/flutter/issues?q=is%3Aissue+is%3Aopen+ version: 1.1.3 environment: - sdk: ">=2.18.0 <4.0.0" - flutter: ">=3.3.0" + sdk: ">=3.0.0 <4.0.0" + flutter: ">=3.10.0" flutter: plugin: diff --git a/packages/local_auth/local_auth_windows/CHANGELOG.md b/packages/local_auth/local_auth_windows/CHANGELOG.md index d184e5509a7..ed9de2a1025 100644 --- a/packages/local_auth/local_auth_windows/CHANGELOG.md +++ b/packages/local_auth/local_auth_windows/CHANGELOG.md @@ -1,6 +1,7 @@ ## NEXT -* Updates minimum supported SDK version to Flutter 3.3/Dart 2.18. +* Fixes stale ignore: prefer_const_constructors. +* Updates minimum supported SDK version to Flutter 3.10/Dart 3.0. ## 1.0.8 diff --git a/packages/local_auth/local_auth_windows/example/lib/main.dart b/packages/local_auth/local_auth_windows/example/lib/main.dart index e2e7747d0e5..3f4ee19d686 100644 --- a/packages/local_auth/local_auth_windows/example/lib/main.dart +++ b/packages/local_auth/local_auth_windows/example/lib/main.dart @@ -150,11 +150,9 @@ class _MyAppState extends State { if (_isAuthenticating) ElevatedButton( onPressed: _cancelAuthentication, - // TODO(goderbauer): Make this const when this package requires Flutter 3.8 or later. - // ignore: prefer_const_constructors - child: Row( + child: const Row( mainAxisSize: MainAxisSize.min, - children: const [ + children: [ Text('Cancel Authentication'), Icon(Icons.cancel), ], @@ -165,11 +163,9 @@ class _MyAppState extends State { children: [ ElevatedButton( onPressed: _authenticate, - // TODO(goderbauer): Make this const when this package requires Flutter 3.8 or later. - // ignore: prefer_const_constructors - child: Row( + child: const Row( mainAxisSize: MainAxisSize.min, - children: const [ + children: [ Text('Authenticate'), Icon(Icons.perm_device_information), ], diff --git a/packages/local_auth/local_auth_windows/example/pubspec.yaml b/packages/local_auth/local_auth_windows/example/pubspec.yaml index 2b31020e075..30d4ec2ae37 100644 --- a/packages/local_auth/local_auth_windows/example/pubspec.yaml +++ b/packages/local_auth/local_auth_windows/example/pubspec.yaml @@ -3,8 +3,8 @@ description: Demonstrates how to use the local_auth_windows plugin. publish_to: none environment: - sdk: ">=2.18.0 <4.0.0" - flutter: ">=3.3.0" + sdk: ">=3.0.0 <4.0.0" + flutter: ">=3.10.0" dependencies: flutter: diff --git a/packages/local_auth/local_auth_windows/pubspec.yaml b/packages/local_auth/local_auth_windows/pubspec.yaml index f0b97d3a160..c40d11f9db0 100644 --- a/packages/local_auth/local_auth_windows/pubspec.yaml +++ b/packages/local_auth/local_auth_windows/pubspec.yaml @@ -5,8 +5,8 @@ issue_tracker: https://github.com/flutter/flutter/issues?q=is%3Aissue+is%3Aopen+ version: 1.0.8 environment: - sdk: ">=2.18.0 <4.0.0" - flutter: ">=3.3.0" + sdk: ">=3.0.0 <4.0.0" + flutter: ">=3.10.0" flutter: plugin: diff --git a/packages/rfw/CHANGELOG.md b/packages/rfw/CHANGELOG.md index 2a6e3a4e12b..347db107d36 100644 --- a/packages/rfw/CHANGELOG.md +++ b/packages/rfw/CHANGELOG.md @@ -1,3 +1,8 @@ +## NEXT + +* Fixes stale ignore: prefer_const_constructors. +* Updates minimum supported SDK version to Flutter 3.10/Dart 3.0. + ## 1.0.9 * Updates minimum supported SDK version to Flutter 3.3/Dart 2.18. diff --git a/packages/rfw/example/remote/lib/main.dart b/packages/rfw/example/remote/lib/main.dart index b6d409c8389..f0b5092511f 100644 --- a/packages/rfw/example/remote/lib/main.dart +++ b/packages/rfw/example/remote/lib/main.dart @@ -87,21 +87,13 @@ class _ExampleState extends State { }, ); } else { - // TODO(goderbauer): Make this const when this package requires Flutter 3.8 or later. - // ignore: prefer_const_constructors - result = Material( - // TODO(goderbauer): Make this const when this package requires Flutter 3.8 or later. - // ignore: prefer_const_constructors + result = const Material( child: SafeArea( - // TODO(goderbauer): Make this const when this package requires Flutter 3.8 or later. - // ignore: prefer_const_constructors child: Padding( - padding: const EdgeInsets.all(20.0), - // TODO(goderbauer): Make this const when this package requires Flutter 3.8 or later. - // ignore: prefer_const_constructors + padding: EdgeInsets.all(20.0), child: Column( crossAxisAlignment: CrossAxisAlignment.stretch, - children: const [ + children: [ Padding(padding: EdgeInsets.only(right: 100.0), child: Text('REMOTE', textAlign: TextAlign.center, style: TextStyle(letterSpacing: 12.0))), Expanded(child: DecoratedBox(decoration: FlutterLogoDecoration(style: FlutterLogoStyle.horizontal))), Padding(padding: EdgeInsets.only(left: 100.0), child: Text('WIDGETS', textAlign: TextAlign.center, style: TextStyle(letterSpacing: 12.0))), diff --git a/packages/rfw/example/remote/pubspec.yaml b/packages/rfw/example/remote/pubspec.yaml index 0b744cc987a..a801d881cc8 100644 --- a/packages/rfw/example/remote/pubspec.yaml +++ b/packages/rfw/example/remote/pubspec.yaml @@ -4,8 +4,8 @@ publish_to: 'none' # Remove this line if you wish to publish to pub.dev version: 1.0.0+1 environment: - sdk: ">=2.18.0 <4.0.0" - flutter: ">=3.3.0" + sdk: ">=3.0.0 <4.0.0" + flutter: ">=3.10.0" dependencies: flutter: diff --git a/packages/rfw/pubspec.yaml b/packages/rfw/pubspec.yaml index 5db6474642d..c15b97011cc 100644 --- a/packages/rfw/pubspec.yaml +++ b/packages/rfw/pubspec.yaml @@ -5,8 +5,8 @@ issue_tracker: https://github.com/flutter/flutter/issues?q=is%3Aissue+is%3Aopen+ version: 1.0.9 environment: - sdk: ">=2.18.0 <4.0.0" - flutter: ">=3.3.0" + sdk: ">=3.0.0 <4.0.0" + flutter: ">=3.10.0" dependencies: flutter: diff --git a/packages/url_launcher/url_launcher/CHANGELOG.md b/packages/url_launcher/url_launcher/CHANGELOG.md index ebb56fde949..7360ed63002 100644 --- a/packages/url_launcher/url_launcher/CHANGELOG.md +++ b/packages/url_launcher/url_launcher/CHANGELOG.md @@ -1,6 +1,8 @@ ## NEXT * Updates minimum supported macOS version to 10.14. +* Fixes stale ignore: prefer_const_constructors. +* Updates minimum supported SDK version to Flutter 3.10/Dart 3.0. ## 6.1.11 diff --git a/packages/url_launcher/url_launcher/example/lib/encoding.dart b/packages/url_launcher/url_launcher/example/lib/encoding.dart index 575eb5f4238..0875a858726 100644 --- a/packages/url_launcher/url_launcher/example/lib/encoding.dart +++ b/packages/url_launcher/url_launcher/example/lib/encoding.dart @@ -22,17 +22,11 @@ String? encodeQueryParameters(Map params) { // #enddocregion encode-query-parameters void main() => runApp( - // TODO(goderbauer): Make this const when this package requires Flutter 3.8 or later. - // ignore: prefer_const_constructors - MaterialApp( - // TODO(goderbauer): Make this const when this package requires Flutter 3.8 or later. - // ignore: prefer_const_constructors + const MaterialApp( home: Material( - // TODO(goderbauer): Make this const when this package requires Flutter 3.8 or later. - // ignore: prefer_const_constructors child: Column( mainAxisAlignment: MainAxisAlignment.spaceEvenly, - children: const [ + children: [ ElevatedButton( onPressed: _composeMail, child: Text('Compose an email'), diff --git a/packages/url_launcher/url_launcher/example/pubspec.yaml b/packages/url_launcher/url_launcher/example/pubspec.yaml index e6550de3784..28c8cc5c1c1 100644 --- a/packages/url_launcher/url_launcher/example/pubspec.yaml +++ b/packages/url_launcher/url_launcher/example/pubspec.yaml @@ -3,8 +3,8 @@ description: Demonstrates how to use the url_launcher plugin. publish_to: none environment: - sdk: ">=2.18.0 <4.0.0" - flutter: ">=3.3.0" + sdk: ">=3.0.0 <4.0.0" + flutter: ">=3.10.0" dependencies: flutter: diff --git a/packages/url_launcher/url_launcher/pubspec.yaml b/packages/url_launcher/url_launcher/pubspec.yaml index 029ad6603d2..6cf68a7210a 100644 --- a/packages/url_launcher/url_launcher/pubspec.yaml +++ b/packages/url_launcher/url_launcher/pubspec.yaml @@ -6,8 +6,8 @@ issue_tracker: https://github.com/flutter/flutter/issues?q=is%3Aissue+is%3Aopen+ version: 6.1.11 environment: - sdk: ">=2.18.0 <4.0.0" - flutter: ">=3.3.0" + sdk: ">=3.0.0 <4.0.0" + flutter: ">=3.10.0" flutter: plugin: