Bump lower Dart SDK constraints to 3.0 & add class modifiers (#122546)
Bump lower Dart SDK constraints to 3.0 & add class modifiers
diff --git a/dev/automated_tests/pubspec.yaml b/dev/automated_tests/pubspec.yaml
index 843aacb..ddadd9f 100644
--- a/dev/automated_tests/pubspec.yaml
+++ b/dev/automated_tests/pubspec.yaml
@@ -1,7 +1,7 @@
name: flutter_automated_tests
environment:
- sdk: '>=2.19.0-0 <4.0.0'
+ sdk: '>=3.0.0-0 <4.0.0'
dependencies:
flutter:
diff --git a/dev/benchmarks/complex_layout/pubspec.yaml b/dev/benchmarks/complex_layout/pubspec.yaml
index b8fb09a..3fc886a 100644
--- a/dev/benchmarks/complex_layout/pubspec.yaml
+++ b/dev/benchmarks/complex_layout/pubspec.yaml
@@ -2,7 +2,7 @@
description: A benchmark of a relatively complex layout.
environment:
- sdk: '>=2.19.0-0 <4.0.0'
+ sdk: '>=3.0.0-0 <4.0.0'
dependencies:
flutter:
diff --git a/dev/benchmarks/macrobenchmarks/pubspec.yaml b/dev/benchmarks/macrobenchmarks/pubspec.yaml
index b3b7b5d..3897319 100644
--- a/dev/benchmarks/macrobenchmarks/pubspec.yaml
+++ b/dev/benchmarks/macrobenchmarks/pubspec.yaml
@@ -2,7 +2,7 @@
description: Performance benchmarks using flutter drive.
environment:
- sdk: '>=2.19.0-0 <4.0.0'
+ sdk: '>=3.0.0-0 <4.0.0'
dependencies:
flutter:
diff --git a/dev/benchmarks/microbenchmarks/pubspec.yaml b/dev/benchmarks/microbenchmarks/pubspec.yaml
index c85f6c2..bb0632c 100644
--- a/dev/benchmarks/microbenchmarks/pubspec.yaml
+++ b/dev/benchmarks/microbenchmarks/pubspec.yaml
@@ -2,7 +2,7 @@
description: Small benchmarks for very specific parts of the Flutter framework.
environment:
- sdk: '>=2.19.0-0 <4.0.0'
+ sdk: '>=3.0.0-0 <4.0.0'
dependencies:
meta: 1.9.0
diff --git a/dev/benchmarks/multiple_flutters/module/pubspec.yaml b/dev/benchmarks/multiple_flutters/module/pubspec.yaml
index 4f002a3..2d1b55f 100644
--- a/dev/benchmarks/multiple_flutters/module/pubspec.yaml
+++ b/dev/benchmarks/multiple_flutters/module/pubspec.yaml
@@ -4,7 +4,7 @@
version: 1.0.0+1
environment:
- sdk: '>=2.19.0-0 <4.0.0'
+ sdk: '>=3.0.0-0 <4.0.0'
dependencies:
flutter:
diff --git a/dev/benchmarks/platform_channels_benchmarks/pubspec.yaml b/dev/benchmarks/platform_channels_benchmarks/pubspec.yaml
index f6e7cb5..59f2c7e 100644
--- a/dev/benchmarks/platform_channels_benchmarks/pubspec.yaml
+++ b/dev/benchmarks/platform_channels_benchmarks/pubspec.yaml
@@ -5,7 +5,7 @@
version: 1.0.0+1
environment:
- sdk: '>=2.19.0-0 <4.0.0'
+ sdk: '>=3.0.0-0 <4.0.0'
dependencies:
flutter:
diff --git a/dev/benchmarks/platform_views_layout/pubspec.yaml b/dev/benchmarks/platform_views_layout/pubspec.yaml
index 2c1fc97..d98f620 100644
--- a/dev/benchmarks/platform_views_layout/pubspec.yaml
+++ b/dev/benchmarks/platform_views_layout/pubspec.yaml
@@ -2,7 +2,7 @@
description: A benchmark for platform views.
environment:
- sdk: '>=2.19.0-0 <4.0.0'
+ sdk: '>=3.0.0-0 <4.0.0'
dependencies:
flutter:
diff --git a/dev/benchmarks/platform_views_layout_hybrid_composition/pubspec.yaml b/dev/benchmarks/platform_views_layout_hybrid_composition/pubspec.yaml
index e3976ce..9d8846e 100644
--- a/dev/benchmarks/platform_views_layout_hybrid_composition/pubspec.yaml
+++ b/dev/benchmarks/platform_views_layout_hybrid_composition/pubspec.yaml
@@ -2,7 +2,7 @@
description: A benchmark for platform views, using hybrid composition on android.
environment:
- sdk: '>=2.19.0-0 <4.0.0'
+ sdk: '>=3.0.0-0 <4.0.0'
dependencies:
flutter:
diff --git a/dev/benchmarks/test_apps/stocks/pubspec.yaml b/dev/benchmarks/test_apps/stocks/pubspec.yaml
index 0854fd4..085b185 100644
--- a/dev/benchmarks/test_apps/stocks/pubspec.yaml
+++ b/dev/benchmarks/test_apps/stocks/pubspec.yaml
@@ -1,7 +1,7 @@
name: stocks
environment:
- sdk: '>=2.19.0-0 <4.0.0'
+ sdk: '>=3.0.0-0 <4.0.0'
dependencies:
flutter:
diff --git a/dev/bots/pubspec.yaml b/dev/bots/pubspec.yaml
index 2f93585..2433f18 100644
--- a/dev/bots/pubspec.yaml
+++ b/dev/bots/pubspec.yaml
@@ -2,7 +2,7 @@
description: Scripts which run on bots.
environment:
- sdk: '>=2.19.0-0 <4.0.0'
+ sdk: '>=3.0.0-0 <4.0.0'
dependencies:
args: 2.4.0
diff --git a/dev/conductor/core/pubspec.yaml b/dev/conductor/core/pubspec.yaml
index 8626450..c01bc3c 100644
--- a/dev/conductor/core/pubspec.yaml
+++ b/dev/conductor/core/pubspec.yaml
@@ -4,7 +4,7 @@
publish_to: none
environment:
- sdk: '>=2.19.0-0 <4.0.0'
+ sdk: '>=3.0.0-0 <4.0.0'
dependencies:
archive: 3.3.2
diff --git a/dev/customer_testing/pubspec.yaml b/dev/customer_testing/pubspec.yaml
index 0404e38..54923e5 100644
--- a/dev/customer_testing/pubspec.yaml
+++ b/dev/customer_testing/pubspec.yaml
@@ -2,7 +2,7 @@
description: Tool to run the tests listed in the flutter/tests repository.
environment:
- sdk: '>=2.19.0-0 <4.0.0'
+ sdk: '>=3.0.0-0 <4.0.0'
dependencies:
args: 2.4.0
diff --git a/dev/devicelab/bin/tasks/plugin_dependencies_test.dart b/dev/devicelab/bin/tasks/plugin_dependencies_test.dart
index 86b116f..da77674 100644
--- a/dev/devicelab/bin/tasks/plugin_dependencies_test.dart
+++ b/dev/devicelab/bin/tasks/plugin_dependencies_test.dart
@@ -101,7 +101,7 @@
sdk: flutter
environment:
- sdk: ">=2.0.0-dev.28.0 <4.0.0"
+ sdk: '>=3.0.0-0 <4.0.0'
flutter: ">=1.5.0"
''', flush: true);
diff --git a/dev/devicelab/pubspec.yaml b/dev/devicelab/pubspec.yaml
index 5383be7..cef944b 100644
--- a/dev/devicelab/pubspec.yaml
+++ b/dev/devicelab/pubspec.yaml
@@ -3,7 +3,7 @@
homepage: https://github.com/flutter/flutter
environment:
- sdk: '>=2.19.0-0 <4.0.0'
+ sdk: '>=3.0.0-0 <4.0.0'
dependencies:
archive: 3.3.2
diff --git a/dev/integration_tests/deferred_components_test/pubspec.yaml b/dev/integration_tests/deferred_components_test/pubspec.yaml
index 575155d..6b60812 100644
--- a/dev/integration_tests/deferred_components_test/pubspec.yaml
+++ b/dev/integration_tests/deferred_components_test/pubspec.yaml
@@ -3,7 +3,7 @@
publish_to: 'none'
version: 1.0.0+1
environment:
- sdk: '>=2.19.0-0 <4.0.0'
+ sdk: '>=3.0.0-0 <4.0.0'
dependencies:
flutter:
diff --git a/dev/integration_tests/external_ui/pubspec.yaml b/dev/integration_tests/external_ui/pubspec.yaml
index 720f157..9c93fe6 100644
--- a/dev/integration_tests/external_ui/pubspec.yaml
+++ b/dev/integration_tests/external_ui/pubspec.yaml
@@ -2,7 +2,7 @@
description: A test of Flutter integrating external UIs.
environment:
- sdk: '>=2.19.0-0 <4.0.0'
+ sdk: '>=3.0.0-0 <4.0.0'
dependencies:
flutter:
diff --git a/dev/integration_tests/flavors/pubspec.yaml b/dev/integration_tests/flavors/pubspec.yaml
index 0110643..8880720 100644
--- a/dev/integration_tests/flavors/pubspec.yaml
+++ b/dev/integration_tests/flavors/pubspec.yaml
@@ -2,7 +2,7 @@
description: Integration test for build flavors.
environment:
- sdk: '>=2.19.0-0 <4.0.0'
+ sdk: '>=3.0.0-0 <4.0.0'
dependencies:
flutter:
diff --git a/dev/integration_tests/flutter_gallery/pubspec.yaml b/dev/integration_tests/flutter_gallery/pubspec.yaml
index 13bae98..08911a3 100644
--- a/dev/integration_tests/flutter_gallery/pubspec.yaml
+++ b/dev/integration_tests/flutter_gallery/pubspec.yaml
@@ -1,7 +1,7 @@
name: flutter_gallery
environment:
- sdk: '>=2.19.0-0 <4.0.0'
+ sdk: '>=3.0.0-0 <4.0.0'
dependencies:
flutter:
diff --git a/dev/integration_tests/gradle_deprecated_settings/pubspec.yaml b/dev/integration_tests/gradle_deprecated_settings/pubspec.yaml
index 49d77fd..3093449 100644
--- a/dev/integration_tests/gradle_deprecated_settings/pubspec.yaml
+++ b/dev/integration_tests/gradle_deprecated_settings/pubspec.yaml
@@ -2,7 +2,7 @@
description: Integration test for the current settings.gradle.
environment:
- sdk: '>=2.19.0-0 <4.0.0'
+ sdk: '>=3.0.0-0 <4.0.0'
dependencies:
flutter:
diff --git a/dev/integration_tests/hybrid_android_views/pubspec.yaml b/dev/integration_tests/hybrid_android_views/pubspec.yaml
index c62f97e..38924a3 100644
--- a/dev/integration_tests/hybrid_android_views/pubspec.yaml
+++ b/dev/integration_tests/hybrid_android_views/pubspec.yaml
@@ -4,7 +4,7 @@
description: An integration test for hybrid composition on Android
version: 1.0.0+1
environment:
- sdk: '>=2.19.0-0 <4.0.0'
+ sdk: '>=3.0.0-0 <4.0.0'
dependencies:
flutter:
diff --git a/dev/integration_tests/ios_add2app_life_cycle/flutterapp/pubspec.yaml b/dev/integration_tests/ios_add2app_life_cycle/flutterapp/pubspec.yaml
index bd4137f..6d88ddc 100644
--- a/dev/integration_tests/ios_add2app_life_cycle/flutterapp/pubspec.yaml
+++ b/dev/integration_tests/ios_add2app_life_cycle/flutterapp/pubspec.yaml
@@ -14,7 +14,7 @@
version: 1.0.0+1
environment:
- sdk: '>=2.19.0-0 <4.0.0'
+ sdk: '>=3.0.0-0 <4.0.0'
dependencies:
flutter:
diff --git a/dev/integration_tests/ios_app_with_extensions/pubspec.yaml b/dev/integration_tests/ios_app_with_extensions/pubspec.yaml
index f966323..c3e1c47 100644
--- a/dev/integration_tests/ios_app_with_extensions/pubspec.yaml
+++ b/dev/integration_tests/ios_app_with_extensions/pubspec.yaml
@@ -13,7 +13,7 @@
version: 1.0.0+1
environment:
- sdk: '>=2.19.0-0 <4.0.0'
+ sdk: '>=3.0.0-0 <4.0.0'
dependencies:
flutter:
diff --git a/dev/integration_tests/ios_platform_view_tests/pubspec.yaml b/dev/integration_tests/ios_platform_view_tests/pubspec.yaml
index 5d11e15..2272edf 100644
--- a/dev/integration_tests/ios_platform_view_tests/pubspec.yaml
+++ b/dev/integration_tests/ios_platform_view_tests/pubspec.yaml
@@ -3,7 +3,7 @@
version: 1.0.0+1
environment:
- sdk: '>=2.19.0-0 <4.0.0'
+ sdk: '>=3.0.0-0 <4.0.0'
dependencies:
flutter:
diff --git a/dev/integration_tests/non_nullable/pubspec.yaml b/dev/integration_tests/non_nullable/pubspec.yaml
index ea21f8e..d4871f0 100644
--- a/dev/integration_tests/non_nullable/pubspec.yaml
+++ b/dev/integration_tests/non_nullable/pubspec.yaml
@@ -5,7 +5,7 @@
version: 1.0.0+1
environment:
- sdk: '>=2.19.0-0 <4.0.0'
+ sdk: '>=3.0.0-0 <4.0.0'
dependencies:
flutter:
diff --git a/dev/integration_tests/platform_interaction/pubspec.yaml b/dev/integration_tests/platform_interaction/pubspec.yaml
index 7aec9d6..536f6de 100644
--- a/dev/integration_tests/platform_interaction/pubspec.yaml
+++ b/dev/integration_tests/platform_interaction/pubspec.yaml
@@ -2,7 +2,7 @@
description: Integration test for platform interactions.
environment:
- sdk: '>=2.19.0-0 <4.0.0'
+ sdk: '>=3.0.0-0 <4.0.0'
dependencies:
flutter:
diff --git a/dev/integration_tests/release_smoke_test/pubspec.yaml b/dev/integration_tests/release_smoke_test/pubspec.yaml
index 99abd80..07fbeb3 100644
--- a/dev/integration_tests/release_smoke_test/pubspec.yaml
+++ b/dev/integration_tests/release_smoke_test/pubspec.yaml
@@ -1,7 +1,7 @@
name: release_smoke_test
environment:
- sdk: '>=2.19.0-0 <4.0.0'
+ sdk: '>=3.0.0-0 <4.0.0'
dependencies:
flutter:
diff --git a/dev/integration_tests/spell_check/pubspec.yaml b/dev/integration_tests/spell_check/pubspec.yaml
index a0bd6ac..0950cb2 100644
--- a/dev/integration_tests/spell_check/pubspec.yaml
+++ b/dev/integration_tests/spell_check/pubspec.yaml
@@ -18,7 +18,7 @@
version: 1.0.0+1
environment:
- sdk: '>=2.19.0-0 <4.0.0'
+ sdk: '>=3.0.0-0 <4.0.0'
# Dependencies specify other packages that your package needs in order to work.
# To automatically upgrade your package dependencies to the latest versions
diff --git a/dev/integration_tests/ui/pubspec.yaml b/dev/integration_tests/ui/pubspec.yaml
index b8cb947..e79d363 100644
--- a/dev/integration_tests/ui/pubspec.yaml
+++ b/dev/integration_tests/ui/pubspec.yaml
@@ -2,7 +2,7 @@
description: Flutter non-plugin UI integration tests.
environment:
- sdk: '>=2.19.0-0 <4.0.0'
+ sdk: '>=3.0.0-0 <4.0.0'
dependencies:
flutter:
diff --git a/dev/integration_tests/web/pubspec.yaml b/dev/integration_tests/web/pubspec.yaml
index 8195718..3c053e3 100644
--- a/dev/integration_tests/web/pubspec.yaml
+++ b/dev/integration_tests/web/pubspec.yaml
@@ -2,7 +2,7 @@
description: Integration test for web compilation.
environment:
- sdk: '>=2.19.0-0 <4.0.0'
+ sdk: '>=3.0.0-0 <4.0.0'
flutter:
assets:
diff --git a/dev/integration_tests/web_compile_tests/pubspec.yaml b/dev/integration_tests/web_compile_tests/pubspec.yaml
index 83ef602..7e18e56 100644
--- a/dev/integration_tests/web_compile_tests/pubspec.yaml
+++ b/dev/integration_tests/web_compile_tests/pubspec.yaml
@@ -1,6 +1,6 @@
name: web_compile_tests
environment:
- sdk: '>=2.19.0-0 <4.0.0'
+ sdk: '>=3.0.0-0 <4.0.0'
dependencies:
flutter:
diff --git a/dev/integration_tests/web_e2e_tests/pubspec.yaml b/dev/integration_tests/web_e2e_tests/pubspec.yaml
index e2a7801..5312ae0 100644
--- a/dev/integration_tests/web_e2e_tests/pubspec.yaml
+++ b/dev/integration_tests/web_e2e_tests/pubspec.yaml
@@ -2,7 +2,7 @@
publish_to: none
environment:
- sdk: '>=2.19.0-0 <4.0.0'
+ sdk: '>=3.0.0-0 <4.0.0'
flutter:
assets:
diff --git a/dev/integration_tests/wide_gamut_test/pubspec.yaml b/dev/integration_tests/wide_gamut_test/pubspec.yaml
index a35963a..c0044d12 100644
--- a/dev/integration_tests/wide_gamut_test/pubspec.yaml
+++ b/dev/integration_tests/wide_gamut_test/pubspec.yaml
@@ -5,7 +5,7 @@
version: 1.0.0+1
environment:
- sdk: '>=3.0.0-157.0.dev <4.0.0'
+ sdk: '>=3.0.0-0 <4.0.0'
dependencies:
flutter:
diff --git a/dev/integration_tests/windows_startup_test/pubspec.yaml b/dev/integration_tests/windows_startup_test/pubspec.yaml
index ab5450c..eb0e639 100644
--- a/dev/integration_tests/windows_startup_test/pubspec.yaml
+++ b/dev/integration_tests/windows_startup_test/pubspec.yaml
@@ -2,7 +2,7 @@
description: Integration test for Windows app's startup.
environment:
- sdk: '>=2.19.0-0 <4.0.0'
+ sdk: '>=3.0.0-0 <4.0.0'
dependencies:
flutter:
diff --git a/dev/manual_tests/pubspec.yaml b/dev/manual_tests/pubspec.yaml
index c18a933..24c1ffd 100644
--- a/dev/manual_tests/pubspec.yaml
+++ b/dev/manual_tests/pubspec.yaml
@@ -1,7 +1,7 @@
name: manual_tests
environment:
- sdk: '>=2.19.0-0 <4.0.0'
+ sdk: '>=3.0.0-0 <4.0.0'
dependencies:
flutter:
diff --git a/dev/missing_dependency_tests/pubspec.yaml b/dev/missing_dependency_tests/pubspec.yaml
index 5dda1d8..a322c18 100644
--- a/dev/missing_dependency_tests/pubspec.yaml
+++ b/dev/missing_dependency_tests/pubspec.yaml
@@ -1,7 +1,7 @@
name: missing_dependency_tests
environment:
- sdk: '>=2.19.0-0 <4.0.0'
+ sdk: '>=3.0.0-0 <4.0.0'
dependencies:
flutter:
diff --git a/dev/tools/dartdoc.dart b/dev/tools/dartdoc.dart
index b3ea776..8bf6c48 100644
--- a/dev/tools/dartdoc.dart
+++ b/dev/tools/dartdoc.dart
@@ -59,7 +59,7 @@
buf.writeln('homepage: https://flutter.dev');
buf.writeln('version: 0.0.0');
buf.writeln('environment:');
- buf.writeln(" sdk: '>=2.19.0 <4.0.0'");
+ buf.writeln(" sdk: '>=3.0.0-0 <4.0.0'");
buf.writeln('dependencies:');
for (final String package in findPackageNames()) {
buf.writeln(' $package:');
diff --git a/dev/tools/gen_defaults/pubspec.yaml b/dev/tools/gen_defaults/pubspec.yaml
index 3d850f0..9c4c421 100644
--- a/dev/tools/gen_defaults/pubspec.yaml
+++ b/dev/tools/gen_defaults/pubspec.yaml
@@ -3,7 +3,7 @@
version: 1.0.0
environment:
- sdk: '>=2.19.0-0 <4.0.0'
+ sdk: '>=3.0.0-0 <4.0.0'
dependencies:
diff --git a/dev/tools/gen_keycodes/pubspec.yaml b/dev/tools/gen_keycodes/pubspec.yaml
index 861c783..2162499 100644
--- a/dev/tools/gen_keycodes/pubspec.yaml
+++ b/dev/tools/gen_keycodes/pubspec.yaml
@@ -2,7 +2,7 @@
description: Generates keycode source files from various resources.
environment:
- sdk: '>=2.19.0-0 <4.0.0'
+ sdk: '>=3.0.0-0 <4.0.0'
dependencies:
args: 2.4.0
diff --git a/dev/tools/pubspec.yaml b/dev/tools/pubspec.yaml
index cfa0366..3db47df 100644
--- a/dev/tools/pubspec.yaml
+++ b/dev/tools/pubspec.yaml
@@ -2,7 +2,7 @@
description: Various repository development tools for flutter.
environment:
- sdk: '>=2.19.0-0 <4.0.0'
+ sdk: '>=3.0.0-0 <4.0.0'
dependencies:
archive: 3.3.2
diff --git a/dev/tools/vitool/pubspec.yaml b/dev/tools/vitool/pubspec.yaml
index 99670d5..38ec905 100644
--- a/dev/tools/vitool/pubspec.yaml
+++ b/dev/tools/vitool/pubspec.yaml
@@ -4,7 +4,7 @@
homepage: https://flutter.dev
environment:
- sdk: '>=2.19.0-0 <4.0.0'
+ sdk: '>=3.0.0-0 <4.0.0'
dependencies:
flutter:
diff --git a/dev/tracing_tests/pubspec.yaml b/dev/tracing_tests/pubspec.yaml
index aaf8e88..df98482 100644
--- a/dev/tracing_tests/pubspec.yaml
+++ b/dev/tracing_tests/pubspec.yaml
@@ -2,7 +2,7 @@
description: Various tests for tracing in flutter/flutter
environment:
- sdk: '>=2.19.0-0 <4.0.0'
+ sdk: '>=3.0.0-0 <4.0.0'
dependencies:
flutter:
diff --git a/examples/api/pubspec.yaml b/examples/api/pubspec.yaml
index caacf8b..a3ce938 100644
--- a/examples/api/pubspec.yaml
+++ b/examples/api/pubspec.yaml
@@ -7,7 +7,7 @@
version: 1.0.0
environment:
- sdk: '>=2.19.0-0 <4.0.0'
+ sdk: '>=3.0.0-0 <4.0.0'
flutter: ">=2.5.0-6.0.pre.30 <3.0.0"
dependencies:
diff --git a/examples/flutter_view/pubspec.yaml b/examples/flutter_view/pubspec.yaml
index 02bd9e6..4d51791 100644
--- a/examples/flutter_view/pubspec.yaml
+++ b/examples/flutter_view/pubspec.yaml
@@ -2,7 +2,7 @@
description: A new flutter project.
environment:
- sdk: '>=2.19.0-0 <4.0.0'
+ sdk: '>=3.0.0-0 <4.0.0'
dependencies:
flutter:
diff --git a/examples/hello_world/pubspec.yaml b/examples/hello_world/pubspec.yaml
index 5e14002..340b891 100644
--- a/examples/hello_world/pubspec.yaml
+++ b/examples/hello_world/pubspec.yaml
@@ -1,7 +1,7 @@
name: hello_world
environment:
- sdk: '>=2.19.0-0 <4.0.0'
+ sdk: '>=3.0.0-0 <4.0.0'
dependencies:
flutter:
diff --git a/examples/image_list/pubspec.yaml b/examples/image_list/pubspec.yaml
index 03b3e27..b003e36 100644
--- a/examples/image_list/pubspec.yaml
+++ b/examples/image_list/pubspec.yaml
@@ -4,7 +4,7 @@
version: 1.0.0+1
environment:
- sdk: '>=2.19.0-0 <4.0.0'
+ sdk: '>=3.0.0-0 <4.0.0'
dependencies:
flutter:
diff --git a/examples/layers/pubspec.yaml b/examples/layers/pubspec.yaml
index 2971b99..8c6b0b0 100644
--- a/examples/layers/pubspec.yaml
+++ b/examples/layers/pubspec.yaml
@@ -1,7 +1,7 @@
name: flutter_examples_layers
environment:
- sdk: '>=2.19.0-0 <4.0.0'
+ sdk: '>=3.0.0-0 <4.0.0'
dependencies:
flutter:
diff --git a/examples/platform_channel/pubspec.yaml b/examples/platform_channel/pubspec.yaml
index 1db7994..e14eae2 100644
--- a/examples/platform_channel/pubspec.yaml
+++ b/examples/platform_channel/pubspec.yaml
@@ -1,7 +1,7 @@
name: platform_channel
environment:
- sdk: '>=2.19.0-0 <4.0.0'
+ sdk: '>=3.0.0-0 <4.0.0'
dependencies:
flutter:
diff --git a/examples/platform_channel_swift/pubspec.yaml b/examples/platform_channel_swift/pubspec.yaml
index 6428cfa..1c31a6c 100644
--- a/examples/platform_channel_swift/pubspec.yaml
+++ b/examples/platform_channel_swift/pubspec.yaml
@@ -1,7 +1,7 @@
name: platform_channel_swift
environment:
- sdk: '>=2.19.0-0 <4.0.0'
+ sdk: '>=3.0.0-0 <4.0.0'
dependencies:
flutter:
diff --git a/examples/platform_view/pubspec.yaml b/examples/platform_view/pubspec.yaml
index b5ca3b0..80567b0 100644
--- a/examples/platform_view/pubspec.yaml
+++ b/examples/platform_view/pubspec.yaml
@@ -1,7 +1,7 @@
name: platform_view
environment:
- sdk: '>=2.19.0-0 <4.0.0'
+ sdk: '>=3.0.0-0 <4.0.0'
dependencies:
flutter:
diff --git a/examples/splash/pubspec.yaml b/examples/splash/pubspec.yaml
index d3de45c..f8b8e72 100644
--- a/examples/splash/pubspec.yaml
+++ b/examples/splash/pubspec.yaml
@@ -1,7 +1,7 @@
name: splash
environment:
- sdk: '>=2.19.0-0 <4.0.0'
+ sdk: '>=3.0.0-0 <4.0.0'
dependencies:
flutter:
diff --git a/packages/flutter/lib/src/foundation/change_notifier.dart b/packages/flutter/lib/src/foundation/change_notifier.dart
index 01b9ac0..5fcb5d8 100644
--- a/packages/flutter/lib/src/foundation/change_notifier.dart
+++ b/packages/flutter/lib/src/foundation/change_notifier.dart
@@ -109,7 +109,7 @@
/// See also:
///
/// * [ValueNotifier], which is a [ChangeNotifier] that wraps a single value.
-class ChangeNotifier implements Listenable {
+mixin class ChangeNotifier implements Listenable {
int _count = 0;
// The _listeners is intentionally set to a fixed-length _GrowableList instead
// of const [].
diff --git a/packages/flutter/lib/src/material/app.dart b/packages/flutter/lib/src/material/app.dart
index 2ccb6c9..f70cd3b 100644
--- a/packages/flutter/lib/src/material/app.dart
+++ b/packages/flutter/lib/src/material/app.dart
@@ -865,17 +865,20 @@
child: child,
);
case AndroidOverscrollIndicator.glow:
- continue glow;
+ return _buildGlowingOverscrollIndicator(context, details, child);
}
- glow:
case TargetPlatform.fuchsia:
- return GlowingOverscrollIndicator(
- axisDirection: details.direction,
- color: Theme.of(context).colorScheme.secondary,
- child: child,
- );
+ return _buildGlowingOverscrollIndicator(context, details, child);
}
}
+
+ GlowingOverscrollIndicator _buildGlowingOverscrollIndicator(BuildContext context, ScrollableDetails details, Widget child) {
+ return GlowingOverscrollIndicator(
+ axisDirection: details.direction,
+ color: Theme.of(context).colorScheme.secondary,
+ child: child,
+ );
+ }
}
class _MaterialAppState extends State<MaterialApp> {
diff --git a/packages/flutter/lib/src/widgets/binding.dart b/packages/flutter/lib/src/widgets/binding.dart
index 9d7b51b..c472cfd 100644
--- a/packages/flutter/lib/src/widgets/binding.dart
+++ b/packages/flutter/lib/src/widgets/binding.dart
@@ -45,7 +45,7 @@
///
/// To respond to other notifications, replace the [didChangeAppLifecycleState]
/// method above with other methods from this class.
-abstract class WidgetsBindingObserver {
+abstract mixin class WidgetsBindingObserver {
/// Called when the system tells the app to pop the current route.
/// For example, on Android, this is called when the user presses
/// the back button.
diff --git a/packages/flutter/lib/src/widgets/overlay.dart b/packages/flutter/lib/src/widgets/overlay.dart
index e4314fe..c789775 100644
--- a/packages/flutter/lib/src/widgets/overlay.dart
+++ b/packages/flutter/lib/src/widgets/overlay.dart
@@ -1638,7 +1638,7 @@
//
// Since it can't implement operator== (it's mutable), the same `_OverlayEntryLocation`
// instance must not be used to represent more than one locations.
-class _OverlayEntryLocation extends LinkedListEntry<_OverlayEntryLocation> {
+final class _OverlayEntryLocation extends LinkedListEntry<_OverlayEntryLocation> {
_OverlayEntryLocation(this._zOrderIndex, this._childModel, this._theater);
final int _zOrderIndex;
@@ -1954,7 +1954,7 @@
// 3. When invoked from `PipelineOwner.flushLayout`, or
// `_layoutSurrogate.performLayout`, this `RenderObject` behaves like an
// `Overlay` that has only one entry.
-class _RenderDeferredLayoutBox extends RenderProxyBox with _RenderTheaterMixin, LinkedListEntry<_RenderDeferredLayoutBox> {
+final class _RenderDeferredLayoutBox extends RenderProxyBox with _RenderTheaterMixin, LinkedListEntry<_RenderDeferredLayoutBox> {
_RenderDeferredLayoutBox(this._layoutSurrogate);
StackParentData get stackParentData => parentData! as StackParentData;
diff --git a/packages/flutter/lib/src/widgets/routes.dart b/packages/flutter/lib/src/widgets/routes.dart
index ac35de4..da0a1c4 100644
--- a/packages/flutter/lib/src/widgets/routes.dart
+++ b/packages/flutter/lib/src/widgets/routes.dart
@@ -1959,7 +1959,7 @@
///
/// This is used with [RouteObserver] to make a widget aware of changes to the
/// [Navigator]'s session history.
-abstract class RouteAware {
+abstract mixin class RouteAware {
/// Called when the top route has been popped off, and the current route
/// shows up.
void didPopNext() { }
diff --git a/packages/flutter/lib/src/widgets/scroll_configuration.dart b/packages/flutter/lib/src/widgets/scroll_configuration.dart
index 97e4cc3..d70d71e 100644
--- a/packages/flutter/lib/src/widgets/scroll_configuration.dart
+++ b/packages/flutter/lib/src/widgets/scroll_configuration.dart
@@ -194,18 +194,21 @@
child: child,
);
case AndroidOverscrollIndicator.glow:
- continue glow;
+ return _buildGlowingOverscrollIndicator(details, child);
}
- glow:
case TargetPlatform.fuchsia:
- return GlowingOverscrollIndicator(
- axisDirection: details.direction,
- color: _kDefaultGlowColor,
- child: child,
- );
+ return _buildGlowingOverscrollIndicator(details, child);
}
}
+ GlowingOverscrollIndicator _buildGlowingOverscrollIndicator(ScrollableDetails details, Widget child) {
+ return GlowingOverscrollIndicator(
+ axisDirection: details.direction,
+ color: _kDefaultGlowColor,
+ child: child,
+ );
+ }
+
/// Specifies the type of velocity tracker to use in the descendant
/// [Scrollable]s' drag gesture recognizers, for estimating the velocity of a
/// drag gesture.
@@ -379,6 +382,11 @@
@override
String toString() => objectRuntimeType(this, '_WrappedScrollBehavior');
+
+ @override
+ GlowingOverscrollIndicator _buildGlowingOverscrollIndicator(ScrollableDetails details, Widget child) {
+ return delegate._buildGlowingOverscrollIndicator(details, child);
+ }
}
/// Controls how [Scrollable] widgets behave in a subtree.
diff --git a/packages/flutter/lib/src/widgets/scroll_notification_observer.dart b/packages/flutter/lib/src/widgets/scroll_notification_observer.dart
index 487f1d7..bdeca66 100644
--- a/packages/flutter/lib/src/widgets/scroll_notification_observer.dart
+++ b/packages/flutter/lib/src/widgets/scroll_notification_observer.dart
@@ -35,7 +35,7 @@
bool updateShouldNotify(_ScrollNotificationObserverScope old) => _scrollNotificationObserverState != old._scrollNotificationObserverState;
}
-class _ListenerEntry extends LinkedListEntry<_ListenerEntry> {
+final class _ListenerEntry extends LinkedListEntry<_ListenerEntry> {
_ListenerEntry(this.listener);
final ScrollNotificationCallback listener;
}
diff --git a/packages/flutter/lib/src/widgets/tap_region.dart b/packages/flutter/lib/src/widgets/tap_region.dart
index bba5b6a..c736f3a 100644
--- a/packages/flutter/lib/src/widgets/tap_region.dart
+++ b/packages/flutter/lib/src/widgets/tap_region.dart
@@ -174,7 +174,7 @@
/// the render tree.
/// * [TapRegionRegistry.of], which can find the nearest ancestor
/// [RenderTapRegionSurface], which is a [TapRegionRegistry].
-class RenderTapRegionSurface extends RenderProxyBoxWithHitTestBehavior with TapRegionRegistry {
+class RenderTapRegionSurface extends RenderProxyBoxWithHitTestBehavior implements TapRegionRegistry {
final Expando<BoxHitTestResult> _cachedResults = Expando<BoxHitTestResult>();
final Set<RenderTapRegion> _registeredRegions = <RenderTapRegion>{};
final Map<Object?, Set<RenderTapRegion>> _groupIdToRegions = <Object?, Set<RenderTapRegion>>{};
diff --git a/packages/flutter/pubspec.yaml b/packages/flutter/pubspec.yaml
index 0798971..4ccfd63 100644
--- a/packages/flutter/pubspec.yaml
+++ b/packages/flutter/pubspec.yaml
@@ -3,7 +3,7 @@
homepage: https://flutter.dev
environment:
- sdk: '>=2.19.0 <4.0.0'
+ sdk: '>=3.0.0-0 <4.0.0'
dependencies:
# To update these, use "flutter update-packages --force-upgrade".
diff --git a/packages/flutter/test/material/expansion_tile_test.dart b/packages/flutter/test/material/expansion_tile_test.dart
index 86e32b6..98e0631 100644
--- a/packages/flutter/test/material/expansion_tile_test.dart
+++ b/packages/flutter/test/material/expansion_tile_test.dart
@@ -329,10 +329,11 @@
const Key child0Key = Key('child0');
const Key child1Key = Key('child1');
- await tester.pumpWidget(MaterialApp(
- home: Material(
- child: Center(
- child: ExpansionTile(
+ // TODO(goderbauer): Reevaluate the following ignores when https://github.com/dart-lang/sdk/issues/51800 is fixed.
+ await tester.pumpWidget(MaterialApp( // ignore: prefer_const_constructors
+ home: Material( // ignore: prefer_const_constructors
+ child: Center( // ignore: prefer_const_constructors
+ child: ExpansionTile( // ignore: prefer_const_constructors
title: const Text('title'),
// Set the column's alignment to Alignment.centerRight to test CrossAxisAlignment
// of children widgets. This helps distinguish the effect of expandedAlignment
diff --git a/packages/flutter/test/widgets/selectable_region_context_menu_test.dart b/packages/flutter/test/widgets/selectable_region_context_menu_test.dart
index 11bb65c..794ddd0 100644
--- a/packages/flutter/test/widgets/selectable_region_context_menu_test.dart
+++ b/packages/flutter/test/widgets/selectable_region_context_menu_test.dart
@@ -144,7 +144,8 @@
@override
SelectionGeometry get value => _value;
- SelectionGeometry _value = SelectionGeometry(
+ // TODO(goderbauer): Reevaluate the ignore when https://github.com/dart-lang/sdk/issues/51800 is fixed.
+ SelectionGeometry _value = SelectionGeometry( // ignore: prefer_const_constructors
hasContent: true,
status: SelectionStatus.uncollapsed,
startSelectionPoint: const SelectionPoint(
diff --git a/packages/flutter/test/widgets/selectable_region_test.dart b/packages/flutter/test/widgets/selectable_region_test.dart
index 035c034..3b20180 100644
--- a/packages/flutter/test/widgets/selectable_region_test.dart
+++ b/packages/flutter/test/widgets/selectable_region_test.dart
@@ -1995,7 +1995,8 @@
@override
SelectionGeometry get value => _value;
- SelectionGeometry _value = SelectionGeometry(
+ // TODO(goderbauer): Reevaluate the ignore when https://github.com/dart-lang/sdk/issues/51800 is fixed.
+ SelectionGeometry _value = SelectionGeometry( // ignore: prefer_const_constructors
hasContent: true,
status: SelectionStatus.uncollapsed,
startSelectionPoint: const SelectionPoint(
@@ -2084,7 +2085,8 @@
@override
SelectionGeometry get value => _value;
- SelectionGeometry _value = SelectionGeometry(
+ // TODO(goderbauer): Reevaluate the ignore when https://github.com/dart-lang/sdk/issues/51800 is fixed.
+ SelectionGeometry _value = SelectionGeometry( // ignore: prefer_const_constructors
hasContent: true,
status: SelectionStatus.uncollapsed,
startSelectionPoint: const SelectionPoint(
diff --git a/packages/flutter/test_private/pubspec.yaml b/packages/flutter/test_private/pubspec.yaml
index 68f7e00..7c4ab81 100644
--- a/packages/flutter/test_private/pubspec.yaml
+++ b/packages/flutter/test_private/pubspec.yaml
@@ -2,7 +2,7 @@
description: Tests private interfaces of the flutter
environment:
- sdk: '>=2.19.0-0 <4.0.0'
+ sdk: '>=3.0.0-0 <4.0.0'
dependencies:
# To update these, use "flutter update-packages --force-upgrade".
diff --git a/packages/flutter/test_private/test/pubspec.yaml b/packages/flutter/test_private/test/pubspec.yaml
index 549a9a6..2e1bec9 100644
--- a/packages/flutter/test_private/test/pubspec.yaml
+++ b/packages/flutter/test_private/test/pubspec.yaml
@@ -1,7 +1,7 @@
name: animated_icons_private_test
environment:
- sdk: '>=2.19.0-0 <4.0.0'
+ sdk: '>=3.0.0-0 <4.0.0'
dependencies:
# To update these, use "flutter update-packages --force-upgrade".
diff --git a/packages/flutter_driver/pubspec.yaml b/packages/flutter_driver/pubspec.yaml
index a4a78db..1b5e4d6 100644
--- a/packages/flutter_driver/pubspec.yaml
+++ b/packages/flutter_driver/pubspec.yaml
@@ -3,7 +3,7 @@
homepage: https://flutter.dev
environment:
- sdk: '>=2.19.0-0 <4.0.0'
+ sdk: '>=3.0.0-0 <4.0.0'
dependencies:
file: 6.1.4
diff --git a/packages/flutter_goldens/pubspec.yaml b/packages/flutter_goldens/pubspec.yaml
index 6cfadbc..aac60b2 100644
--- a/packages/flutter_goldens/pubspec.yaml
+++ b/packages/flutter_goldens/pubspec.yaml
@@ -1,7 +1,7 @@
name: flutter_goldens
environment:
- sdk: '>=2.19.0-0 <4.0.0'
+ sdk: '>=3.0.0-0 <4.0.0'
dependencies:
# To update these, use "flutter update-packages --force-upgrade".
diff --git a/packages/flutter_goldens_client/pubspec.yaml b/packages/flutter_goldens_client/pubspec.yaml
index 9e10ba2..650145b 100644
--- a/packages/flutter_goldens_client/pubspec.yaml
+++ b/packages/flutter_goldens_client/pubspec.yaml
@@ -1,7 +1,7 @@
name: flutter_goldens_client
environment:
- sdk: '>=2.19.0-0 <4.0.0'
+ sdk: '>=3.0.0-0 <4.0.0'
dependencies:
# To update these, use "flutter update-packages --force-upgrade".
diff --git a/packages/flutter_localizations/pubspec.yaml b/packages/flutter_localizations/pubspec.yaml
index 482b38a..7945b7e 100644
--- a/packages/flutter_localizations/pubspec.yaml
+++ b/packages/flutter_localizations/pubspec.yaml
@@ -1,7 +1,7 @@
name: flutter_localizations
environment:
- sdk: '>=2.19.0-0 <4.0.0'
+ sdk: '>=3.0.0-0 <4.0.0'
dependencies:
# To update these, use "flutter update-packages --force-upgrade".
diff --git a/packages/flutter_test/pubspec.yaml b/packages/flutter_test/pubspec.yaml
index 6b6120c..2b94488 100644
--- a/packages/flutter_test/pubspec.yaml
+++ b/packages/flutter_test/pubspec.yaml
@@ -1,7 +1,7 @@
name: flutter_test
environment:
- sdk: '>=2.19.0-0 <4.0.0'
+ sdk: '>=3.0.0-0 <4.0.0'
dependencies:
# To update these, use "flutter update-packages --force-upgrade".
diff --git a/packages/flutter_test/test/test_config/project_root/pubspec.yaml b/packages/flutter_test/test/test_config/project_root/pubspec.yaml
index 2af26f7..f4d908c 100644
--- a/packages/flutter_test/test/test_config/project_root/pubspec.yaml
+++ b/packages/flutter_test/test/test_config/project_root/pubspec.yaml
@@ -4,6 +4,6 @@
name: dummy
environment:
- sdk: '>=2.19.0-0 <4.0.0'
+ sdk: '>=3.0.0-0 <4.0.0'
# PUBSPEC CHECKSUM: 0000
diff --git a/packages/flutter_tools/lib/src/commands/update_packages.dart b/packages/flutter_tools/lib/src/commands/update_packages.dart
index 69e2b2e..eb81136 100644
--- a/packages/flutter_tools/lib/src/commands/update_packages.dart
+++ b/packages/flutter_tools/lib/src/commands/update_packages.dart
@@ -1648,7 +1648,7 @@
// Fill in SDK dependency constraint.
output.write('''
environment:
- sdk: ">=2.7.0 <4.0.0"
+ sdk: '>=3.0.0-0 <4.0.0'
''');
output.writeln('dependencies:');
@@ -1680,7 +1680,7 @@
homepage: http://flutter.io
# sky_engine requires sdk_ext support in the analyzer which was added in 1.11.x
environment:
- sdk: '>=1.11.0 <4.0.0'
+ sdk: '>=3.0.0-0 <4.0.0'
''');
return directory;
diff --git a/packages/flutter_tools/pubspec.yaml b/packages/flutter_tools/pubspec.yaml
index d24daa6..32956d5 100644
--- a/packages/flutter_tools/pubspec.yaml
+++ b/packages/flutter_tools/pubspec.yaml
@@ -3,7 +3,7 @@
homepage: https://flutter.dev
environment:
- sdk: '>=2.19.0-0 <4.0.0'
+ sdk: '>=3.0.0-0 <4.0.0'
dependencies:
# To update these, use "flutter update-packages --force-upgrade".
diff --git a/packages/flutter_tools/test/commands.shard/hermetic/analyze_continuously_test.dart b/packages/flutter_tools/test/commands.shard/hermetic/analyze_continuously_test.dart
index 31d0e63..6de8ee8 100644
--- a/packages/flutter_tools/test/commands.shard/hermetic/analyze_continuously_test.dart
+++ b/packages/flutter_tools/test/commands.shard/hermetic/analyze_continuously_test.dart
@@ -60,7 +60,7 @@
pubspecFile.writeAsStringSync('''
name: foo_project
environment:
- sdk: '>=2.12.0 <4.0.0'
+ sdk: '>=3.0.0-0 <4.0.0'
''');
final File dartFile = fileSystem.file(fileSystem.path.join(directory.path, 'lib', 'main.dart'));
diff --git a/packages/flutter_tools/test/commands.shard/hermetic/update_packages_test.dart b/packages/flutter_tools/test/commands.shard/hermetic/update_packages_test.dart
index a67e38d..971afe7 100644
--- a/packages/flutter_tools/test/commands.shard/hermetic/update_packages_test.dart
+++ b/packages/flutter_tools/test/commands.shard/hermetic/update_packages_test.dart
@@ -23,7 +23,7 @@
homepage: http://flutter.dev
environment:
- sdk: ">=2.2.2 <4.0.0"
+ sdk: '>=3.0.0-0 <4.0.0'
dependencies:
# To update these, use "flutter update-packages --force-upgrade".
@@ -60,7 +60,7 @@
version: 1.0.0
environment:
- sdk: ">=2.14.0-383.0.dev <4.0.0"
+ sdk: '>=3.0.0-0 <4.0.0'
flutter: ">=2.5.0-6.0.pre.30 <3.0.0"
dependencies:
diff --git a/packages/flutter_tools/test/data/asset_test/font/pubspec.yaml b/packages/flutter_tools/test/data/asset_test/font/pubspec.yaml
index 9059ad1..4408e2a 100644
--- a/packages/flutter_tools/test/data/asset_test/font/pubspec.yaml
+++ b/packages/flutter_tools/test/data/asset_test/font/pubspec.yaml
@@ -2,7 +2,7 @@
description: A test project that contains a font.
environment:
- sdk: '>=2.19.0-0 <4.0.0'
+ sdk: '>=3.0.0-0 <4.0.0'
flutter:
uses-material-design: true
diff --git a/packages/flutter_tools/test/data/asset_test/main/pubspec.yaml b/packages/flutter_tools/test/data/asset_test/main/pubspec.yaml
index b310461..8611c6d 100644
--- a/packages/flutter_tools/test/data/asset_test/main/pubspec.yaml
+++ b/packages/flutter_tools/test/data/asset_test/main/pubspec.yaml
@@ -2,7 +2,7 @@
description: A test project that has a package with a font as a dependency.
environment:
- sdk: '>=2.19.0-0 <4.0.0'
+ sdk: '>=3.0.0-0 <4.0.0'
dependencies:
font:
diff --git a/packages/flutter_tools/test/general.shard/build_system/targets/dart_plugin_registrant_test.dart b/packages/flutter_tools/test/general.shard/build_system/targets/dart_plugin_registrant_test.dart
index 67d79aa..aed5fcb 100644
--- a/packages/flutter_tools/test/general.shard/build_system/targets/dart_plugin_registrant_test.dart
+++ b/packages/flutter_tools/test/general.shard/build_system/targets/dart_plugin_registrant_test.dart
@@ -86,7 +86,7 @@
pluginClass: none
environment:
- sdk: ">=2.12.0-259.9.beta <4.0.0"
+ sdk: '>=3.0.0-0 <4.0.0'
flutter: ">=1.20.0"
''';
diff --git a/packages/flutter_tools/test/general.shard/test/test_compiler_test.dart b/packages/flutter_tools/test/general.shard/test/test_compiler_test.dart
index 9d2da36..7aa5bbb 100644
--- a/packages/flutter_tools/test/general.shard/test/test_compiler_test.dart
+++ b/packages/flutter_tools/test/general.shard/test/test_compiler_test.dart
@@ -166,7 +166,7 @@
linux:
dartPluginClass: APlugin
environment:
- sdk: ">=2.14.0 <4.0.0"
+ sdk: '>=3.0.0-0 <4.0.0'
flutter: ">=2.5.0"
''');
diff --git a/packages/flutter_tools/test/general.shard/update_packages_test.dart b/packages/flutter_tools/test/general.shard/update_packages_test.dart
index 540501b..93deb41 100644
--- a/packages/flutter_tools/test/general.shard/update_packages_test.dart
+++ b/packages/flutter_tools/test/general.shard/update_packages_test.dart
@@ -17,7 +17,7 @@
homepage: http://flutter.dev
environment:
- sdk: '>=2.2.2 <4.0.0'
+ sdk: '>=3.0.0-0 <4.0.0'
dependencies:
# To update these, use "flutter update-packages --force-upgrade".
@@ -51,7 +51,7 @@
homepage: http://flutter.dev
environment:
- sdk: ">=2.2.2 <4.0.0"
+ sdk: '>=3.0.0-0 <4.0.0'
''';
const String kInvalidGitPubspec = '''
@@ -60,7 +60,7 @@
homepage: http://flutter.dev
environment:
- sdk: ">=2.2.2 <4.0.0"
+ sdk: '>=3.0.0-0 <4.0.0'
dependencies:
# To update these, use "flutter update-packages --force-upgrade".
diff --git a/packages/flutter_tools/test/integration.shard/analyze_once_test.dart b/packages/flutter_tools/test/integration.shard/analyze_once_test.dart
index 8fc3b84..7424bd4 100644
--- a/packages/flutter_tools/test/integration.shard/analyze_once_test.dart
+++ b/packages/flutter_tools/test/integration.shard/analyze_once_test.dart
@@ -484,7 +484,7 @@
const String pubspecYamlSrc = r'''
name: flutter_project
environment:
- sdk: ">=2.1.0 <4.0.0"
+ sdk: '>=3.0.0-0 <4.0.0'
dependencies:
flutter:
diff --git a/packages/flutter_tools/test/integration.shard/break_on_framework_exceptions_test.dart b/packages/flutter_tools/test/integration.shard/break_on_framework_exceptions_test.dart
index e147aa6..151789c 100644
--- a/packages/flutter_tools/test/integration.shard/break_on_framework_exceptions_test.dart
+++ b/packages/flutter_tools/test/integration.shard/break_on_framework_exceptions_test.dart
@@ -732,7 +732,7 @@
final String pubspec = '''
name: test
environment:
- sdk: '>=2.12.0-0 <4.0.0'
+ sdk: '>=3.0.0-0 <4.0.0'
dependencies:
flutter:
diff --git a/packages/flutter_tools/test/integration.shard/test_data/background_project.dart b/packages/flutter_tools/test/integration.shard/test_data/background_project.dart
index 0fccff3..783004b 100644
--- a/packages/flutter_tools/test/integration.shard/test_data/background_project.dart
+++ b/packages/flutter_tools/test/integration.shard/test_data/background_project.dart
@@ -12,7 +12,7 @@
final String pubspec = '''
name: test
environment:
- sdk: ">=2.12.0-0 <4.0.0"
+ sdk: '>=3.0.0-0 <4.0.0'
dependencies:
flutter:
@@ -63,7 +63,7 @@
final String pubspec = '''
name: test
environment:
- sdk: ">=2.12.0-0 <4.0.0"
+ sdk: '>=3.0.0-0 <4.0.0'
dependencies:
flutter:
diff --git a/packages/flutter_tools/test/integration.shard/test_data/basic_project.dart b/packages/flutter_tools/test/integration.shard/test_data/basic_project.dart
index 3f3c031..93a2d09 100644
--- a/packages/flutter_tools/test/integration.shard/test_data/basic_project.dart
+++ b/packages/flutter_tools/test/integration.shard/test_data/basic_project.dart
@@ -10,7 +10,7 @@
final String pubspec = '''
name: test
environment:
- sdk: '>=2.12.0-0 <4.0.0'
+ sdk: '>=3.0.0-0 <4.0.0'
dependencies:
flutter:
@@ -63,7 +63,7 @@
final String pubspec = '''
name: test
environment:
- sdk: '>=2.12.0-0 <4.0.0'
+ sdk: '>=3.0.0-0 <4.0.0'
dependencies:
flutter:
@@ -120,7 +120,7 @@
final String pubspec = '''
name: test
environment:
- sdk: '>=2.12.0-0 <4.0.0'
+ sdk: '>=3.0.0-0 <4.0.0'
dependencies:
flutter:
@@ -169,7 +169,7 @@
final String pubspec = '''
name: test
environment:
- sdk: '>=2.12.0-0 <4.0.0'
+ sdk: '>=3.0.0-0 <4.0.0'
dependencies:
flutter:
@@ -194,7 +194,7 @@
final String pubspec = '''
name: test
environment:
- sdk: '>=2.12.0-0 <4.0.0'
+ sdk: '>=3.0.0-0 <4.0.0'
dependencies:
flutter:
sdk: flutter
diff --git a/packages/flutter_tools/test/integration.shard/test_data/compile_error_project.dart b/packages/flutter_tools/test/integration.shard/test_data/compile_error_project.dart
index 1ba2f5b..3232d7f 100644
--- a/packages/flutter_tools/test/integration.shard/test_data/compile_error_project.dart
+++ b/packages/flutter_tools/test/integration.shard/test_data/compile_error_project.dart
@@ -10,7 +10,7 @@
final String pubspec = '''
name: test
environment:
- sdk: '>=2.12.0-0 <4.0.0'
+ sdk: '>=3.0.0-0 <4.0.0'
dependencies:
flutter:
diff --git a/packages/flutter_tools/test/integration.shard/test_data/deferred_components_project.dart b/packages/flutter_tools/test/integration.shard/test_data/deferred_components_project.dart
index b135962..92173fd 100644
--- a/packages/flutter_tools/test/integration.shard/test_data/deferred_components_project.dart
+++ b/packages/flutter_tools/test/integration.shard/test_data/deferred_components_project.dart
@@ -13,7 +13,7 @@
final String pubspec = '''
name: test
environment:
- sdk: ">=2.12.0-0 <4.0.0"
+ sdk: '>=3.0.0-0 <4.0.0'
dependencies:
flutter:
diff --git a/packages/flutter_tools/test/integration.shard/test_data/gen_l10n_project.dart b/packages/flutter_tools/test/integration.shard/test_data/gen_l10n_project.dart
index b3c55ab..46d2a51 100644
--- a/packages/flutter_tools/test/integration.shard/test_data/gen_l10n_project.dart
+++ b/packages/flutter_tools/test/integration.shard/test_data/gen_l10n_project.dart
@@ -34,7 +34,7 @@
final String pubspec = '''
name: test_l10n_project
environment:
- sdk: ">=2.12.0-0 <4.0.0"
+ sdk: '>=3.0.0-0 <4.0.0'
dependencies:
flutter:
diff --git a/packages/flutter_tools/test/integration.shard/test_data/hot_reload_const_project.dart b/packages/flutter_tools/test/integration.shard/test_data/hot_reload_const_project.dart
index d6d9c08..355919f 100644
--- a/packages/flutter_tools/test/integration.shard/test_data/hot_reload_const_project.dart
+++ b/packages/flutter_tools/test/integration.shard/test_data/hot_reload_const_project.dart
@@ -10,7 +10,7 @@
final String pubspec = '''
name: test
environment:
- sdk: ">=2.12.0-0 <4.0.0"
+ sdk: '>=3.0.0-0 <4.0.0'
dependencies:
flutter:
diff --git a/packages/flutter_tools/test/integration.shard/test_data/hot_reload_project.dart b/packages/flutter_tools/test/integration.shard/test_data/hot_reload_project.dart
index c61082b..7e188c0 100644
--- a/packages/flutter_tools/test/integration.shard/test_data/hot_reload_project.dart
+++ b/packages/flutter_tools/test/integration.shard/test_data/hot_reload_project.dart
@@ -12,7 +12,7 @@
final String pubspec = '''
name: test
environment:
- sdk: ">=2.12.0-0 <4.0.0"
+ sdk: '>=3.0.0-0 <4.0.0'
dependencies:
flutter:
diff --git a/packages/flutter_tools/test/integration.shard/test_data/hot_reload_with_asset.dart b/packages/flutter_tools/test/integration.shard/test_data/hot_reload_with_asset.dart
index ae26ac4..27d3665 100644
--- a/packages/flutter_tools/test/integration.shard/test_data/hot_reload_with_asset.dart
+++ b/packages/flutter_tools/test/integration.shard/test_data/hot_reload_with_asset.dart
@@ -10,7 +10,7 @@
final String pubspec = '''
name: test
environment:
- sdk: '>=2.12.0-0 <4.0.0'
+ sdk: '>=3.0.0-0 <4.0.0'
dependencies:
flutter:
diff --git a/packages/flutter_tools/test/integration.shard/test_data/integration_tests_project.dart b/packages/flutter_tools/test/integration.shard/test_data/integration_tests_project.dart
index 1a5c0ad..a67f1bb 100644
--- a/packages/flutter_tools/test/integration.shard/test_data/integration_tests_project.dart
+++ b/packages/flutter_tools/test/integration.shard/test_data/integration_tests_project.dart
@@ -14,7 +14,7 @@
final String pubspec = '''
name: test
environment:
- sdk: '>=2.12.0-0 <4.0.0'
+ sdk: '>=3.0.0-0 <4.0.0'
dependencies:
flutter:
diff --git a/packages/flutter_tools/test/integration.shard/test_data/migrate_project.dart b/packages/flutter_tools/test/integration.shard/test_data/migrate_project.dart
index bcbc640..d4a3ca3 100644
--- a/packages/flutter_tools/test/integration.shard/test_data/migrate_project.dart
+++ b/packages/flutter_tools/test/integration.shard/test_data/migrate_project.dart
@@ -175,7 +175,7 @@
version: 1.0.0+1
environment:
- sdk: ">=2.6.0 <4.0.0"
+ sdk: '>=3.0.0-0 <4.0.0'
dependencies:
flutter:
diff --git a/packages/flutter_tools/test/integration.shard/test_data/multidex_project.dart b/packages/flutter_tools/test/integration.shard/test_data/multidex_project.dart
index d175dd9..c3bc25f 100644
--- a/packages/flutter_tools/test/integration.shard/test_data/multidex_project.dart
+++ b/packages/flutter_tools/test/integration.shard/test_data/multidex_project.dart
@@ -38,7 +38,7 @@
final String pubspec = '''
name: test
environment:
- sdk: ">=2.12.0-0 <4.0.0"
+ sdk: '>=3.0.0-0 <4.0.0'
dependencies:
flutter:
diff --git a/packages/flutter_tools/test/integration.shard/test_data/project_with_early_error.dart b/packages/flutter_tools/test/integration.shard/test_data/project_with_early_error.dart
index 9c90f49..6d37629 100644
--- a/packages/flutter_tools/test/integration.shard/test_data/project_with_early_error.dart
+++ b/packages/flutter_tools/test/integration.shard/test_data/project_with_early_error.dart
@@ -10,7 +10,7 @@
final String pubspec = '''
name: test
environment:
- sdk: ">=2.12.0-0 <4.0.0"
+ sdk: '>=3.0.0-0 <4.0.0'
dependencies:
flutter:
diff --git a/packages/flutter_tools/test/integration.shard/test_data/single_widget_reload_project.dart b/packages/flutter_tools/test/integration.shard/test_data/single_widget_reload_project.dart
index 690c71a..2a48a09 100644
--- a/packages/flutter_tools/test/integration.shard/test_data/single_widget_reload_project.dart
+++ b/packages/flutter_tools/test/integration.shard/test_data/single_widget_reload_project.dart
@@ -10,7 +10,7 @@
final String pubspec = '''
name: test
environment:
- sdk: ">=2.12.0-0 <4.0.0"
+ sdk: '>=3.0.0-0 <4.0.0'
dependencies:
flutter:
diff --git a/packages/flutter_tools/test/integration.shard/test_data/stateless_stateful_project.dart b/packages/flutter_tools/test/integration.shard/test_data/stateless_stateful_project.dart
index e1c312c..ecf1834 100644
--- a/packages/flutter_tools/test/integration.shard/test_data/stateless_stateful_project.dart
+++ b/packages/flutter_tools/test/integration.shard/test_data/stateless_stateful_project.dart
@@ -10,7 +10,7 @@
final String pubspec = '''
name: test
environment:
- sdk: ">=2.12.0-0 <4.0.0"
+ sdk: '>=3.0.0-0 <4.0.0'
dependencies:
flutter:
diff --git a/packages/flutter_tools/test/integration.shard/test_data/stepping_project.dart b/packages/flutter_tools/test/integration.shard/test_data/stepping_project.dart
index 902ce79..87bc6a2 100644
--- a/packages/flutter_tools/test/integration.shard/test_data/stepping_project.dart
+++ b/packages/flutter_tools/test/integration.shard/test_data/stepping_project.dart
@@ -9,7 +9,7 @@
final String pubspec = '''
name: test
environment:
- sdk: '>=2.12.0-0 <4.0.0'
+ sdk: '>=3.0.0-0 <4.0.0'
dependencies:
flutter:
sdk: flutter
@@ -65,7 +65,7 @@
final String pubspec = '''
name: test
environment:
- sdk: '>=2.12.0 <4.0.0'
+ sdk: '>=3.0.0-0 <4.0.0'
dependencies:
flutter:
sdk: flutter
diff --git a/packages/flutter_tools/test/integration.shard/test_data/test_project.dart b/packages/flutter_tools/test/integration.shard/test_data/test_project.dart
index 77b62a4..436a86e 100644
--- a/packages/flutter_tools/test/integration.shard/test_data/test_project.dart
+++ b/packages/flutter_tools/test/integration.shard/test_data/test_project.dart
@@ -10,7 +10,7 @@
final String pubspec = '''
name: test
environment:
- sdk: '>=2.12.0-0 <4.0.0'
+ sdk: '>=3.0.0-0 <4.0.0'
dependencies:
flutter:
diff --git a/packages/flutter_tools/test/integration.shard/test_data/tests_project.dart b/packages/flutter_tools/test/integration.shard/test_data/tests_project.dart
index 308e16a..45ee250 100644
--- a/packages/flutter_tools/test/integration.shard/test_data/tests_project.dart
+++ b/packages/flutter_tools/test/integration.shard/test_data/tests_project.dart
@@ -13,7 +13,7 @@
final String pubspec = '''
name: test
environment:
- sdk: '>=2.12.0-0 <4.0.0'
+ sdk: '>=3.0.0-0 <4.0.0'
dependencies:
flutter:
diff --git a/packages/flutter_web_plugins/pubspec.yaml b/packages/flutter_web_plugins/pubspec.yaml
index 7133e6b..f863a43 100644
--- a/packages/flutter_web_plugins/pubspec.yaml
+++ b/packages/flutter_web_plugins/pubspec.yaml
@@ -3,7 +3,7 @@
homepage: https://flutter.dev
environment:
- sdk: '>=2.19.0-0 <4.0.0'
+ sdk: '>=3.0.0-0 <4.0.0'
dependencies:
flutter:
diff --git a/packages/fuchsia_remote_debug_protocol/pubspec.yaml b/packages/fuchsia_remote_debug_protocol/pubspec.yaml
index f583e41..0a27d2f 100644
--- a/packages/fuchsia_remote_debug_protocol/pubspec.yaml
+++ b/packages/fuchsia_remote_debug_protocol/pubspec.yaml
@@ -4,7 +4,7 @@
homepage: https://flutter.dev
environment:
- sdk: '>=2.19.0-0 <4.0.0'
+ sdk: '>=3.0.0-0 <4.0.0'
dependencies:
process: 4.2.4
diff --git a/packages/integration_test/example/pubspec.yaml b/packages/integration_test/example/pubspec.yaml
index 516dab3..34703f1 100644
--- a/packages/integration_test/example/pubspec.yaml
+++ b/packages/integration_test/example/pubspec.yaml
@@ -3,7 +3,7 @@
publish_to: 'none'
environment:
- sdk: '>=2.19.0-0 <4.0.0'
+ sdk: '>=3.0.0-0 <4.0.0'
flutter: ">=1.6.7"
dependencies:
diff --git a/packages/integration_test/integration_test_macos/pubspec.yaml b/packages/integration_test/integration_test_macos/pubspec.yaml
index a0dcc17..6d5600e 100644
--- a/packages/integration_test/integration_test_macos/pubspec.yaml
+++ b/packages/integration_test/integration_test_macos/pubspec.yaml
@@ -10,7 +10,7 @@
pluginClass: IntegrationTestPlugin
environment:
- sdk: '>=2.19.0-0 <4.0.0'
+ sdk: '>=3.0.0-0 <4.0.0'
dependencies:
flutter:
diff --git a/packages/integration_test/pubspec.yaml b/packages/integration_test/pubspec.yaml
index a4d72a5..4bc7e27 100644
--- a/packages/integration_test/pubspec.yaml
+++ b/packages/integration_test/pubspec.yaml
@@ -3,7 +3,7 @@
publish_to: none
environment:
- sdk: '>=2.19.0-0 <4.0.0'
+ sdk: '>=3.0.0-0 <4.0.0'
dependencies:
flutter: