From d1f762cfa30afdb7fdca475c4f2d7ed79541ab0c Mon Sep 17 00:00:00 2001 From: Parker Lougheed Date: Mon, 18 May 2026 13:08:56 -0500 Subject: [PATCH] Update SDK constraints and code for Dart 3.12 --- examples/_animation/basic_hero_animation/pubspec.yaml | 2 +- .../basic_radial_hero_animation/pubspec.yaml | 2 +- .../_animation/basic_staggered_animation/pubspec.yaml | 2 +- examples/_animation/hero_animation/pubspec.yaml | 2 +- examples/_animation/radial_hero_animation/pubspec.yaml | 2 +- .../pubspec.yaml | 2 +- .../_animation/staggered_pic_selection/pubspec.yaml | 2 +- examples/accessibility/pubspec.yaml | 2 +- examples/analysis_options.yaml | 1 + examples/animation/animate0/pubspec.yaml | 2 +- examples/animation/animate1/pubspec.yaml | 2 +- examples/animation/animate2/pubspec.yaml | 2 +- examples/animation/animate3/pubspec.yaml | 2 +- examples/animation/animate4/pubspec.yaml | 2 +- examples/animation/animate5/pubspec.yaml | 2 +- examples/app-architecture/command/pubspec.yaml | 2 +- .../lib/data/repositories/user_profile_repository.dart | 7 +++---- .../lib/ui/user_profile/user_profile_viewmodel.dart | 3 +-- examples/app-architecture/offline_first/pubspec.yaml | 2 +- .../app-architecture/optimistic_state/pubspec.yaml | 2 +- examples/app-architecture/result/pubspec.yaml | 2 +- .../lib/data/repositories/todo_repository.dart | 2 +- .../ui/todo_list/viewmodel/todo_list_viewmodel.dart | 3 +-- .../app-architecture/todo_data_service/pubspec.yaml | 2 +- .../cookbook/animation/animated_container/pubspec.yaml | 2 +- .../cookbook/animation/opacity_animation/pubspec.yaml | 2 +- .../animation/page_route_animation/pubspec.yaml | 2 +- .../cookbook/animation/physics_simulation/pubspec.yaml | 2 +- examples/cookbook/design/cupertino_sheets/pubspec.yaml | 2 +- examples/cookbook/design/drawer/pubspec.yaml | 2 +- examples/cookbook/design/fonts/pubspec.yaml | 2 +- examples/cookbook/design/orientation/pubspec.yaml | 2 +- examples/cookbook/design/package_fonts/pubspec.yaml | 2 +- examples/cookbook/design/snackbars/pubspec.yaml | 2 +- examples/cookbook/design/tabs/pubspec.yaml | 2 +- examples/cookbook/design/themes/pubspec.yaml | 2 +- .../cookbook/effects/download_button/lib/main.dart | 10 ++++------ examples/cookbook/effects/download_button/pubspec.yaml | 2 +- examples/cookbook/effects/drag_a_widget/pubspec.yaml | 2 +- examples/cookbook/effects/expandable_fab/pubspec.yaml | 2 +- examples/cookbook/effects/nested_nav/pubspec.yaml | 2 +- .../cookbook/effects/parallax_scrolling/lib/main.dart | 3 +-- .../cookbook/effects/parallax_scrolling/pubspec.yaml | 2 +- examples/cookbook/effects/shimmer_loading/pubspec.yaml | 2 +- .../effects/staggered_menu_animation/pubspec.yaml | 2 +- examples/cookbook/forms/focus/pubspec.yaml | 2 +- examples/cookbook/forms/retrieve_input/pubspec.yaml | 2 +- .../cookbook/forms/text_field_changes/pubspec.yaml | 2 +- examples/cookbook/forms/text_input/pubspec.yaml | 2 +- examples/cookbook/forms/validation/pubspec.yaml | 2 +- .../games/achievements_leaderboards/pubspec.yaml | 2 +- .../cookbook/games/firestore_multiplayer/pubspec.yaml | 2 +- examples/cookbook/gestures/dismissible/pubspec.yaml | 2 +- examples/cookbook/gestures/handling_taps/pubspec.yaml | 2 +- examples/cookbook/gestures/ripples/pubspec.yaml | 2 +- examples/cookbook/images/cached_images/pubspec.yaml | 2 +- examples/cookbook/images/fading_in_images/pubspec.yaml | 2 +- examples/cookbook/images/network_image/pubspec.yaml | 2 +- examples/cookbook/lists/basic_list/pubspec.yaml | 2 +- examples/cookbook/lists/floating_app_bar/pubspec.yaml | 2 +- examples/cookbook/lists/grid_lists/pubspec.yaml | 2 +- examples/cookbook/lists/horizontal_list/pubspec.yaml | 2 +- examples/cookbook/lists/long_lists/pubspec.yaml | 2 +- examples/cookbook/lists/mixed_list/pubspec.yaml | 2 +- examples/cookbook/lists/spaced_items/pubspec.yaml | 2 +- .../cookbook/maintenance/error_reporting/pubspec.yaml | 2 +- .../cookbook/navigation/hero_animations/pubspec.yaml | 2 +- examples/cookbook/navigation/named_routes/pubspec.yaml | 2 +- .../navigation/navigate_with_arguments/pubspec.yaml | 2 +- .../cookbook/navigation/navigation_basics/pubspec.yaml | 2 +- examples/cookbook/navigation/passing_data/pubspec.yaml | 2 +- .../cookbook/navigation/returning_data/pubspec.yaml | 2 +- .../networking/authenticated_requests/pubspec.yaml | 2 +- .../networking/background_parsing/pubspec.yaml | 2 +- examples/cookbook/networking/delete_data/pubspec.yaml | 2 +- examples/cookbook/networking/fetch_data/pubspec.yaml | 2 +- examples/cookbook/networking/send_data/pubspec.yaml | 2 +- examples/cookbook/networking/update_data/pubspec.yaml | 2 +- examples/cookbook/networking/web_sockets/pubspec.yaml | 2 +- examples/cookbook/persistence/key_value/pubspec.yaml | 2 +- .../persistence/reading_writing_files/pubspec.yaml | 2 +- examples/cookbook/persistence/sqlite/pubspec.yaml | 2 +- .../cookbook/plugins/google_mobile_ads/pubspec.yaml | 2 +- .../cookbook/plugins/picture_using_camera/pubspec.yaml | 2 +- examples/cookbook/plugins/play_video/pubspec.yaml | 2 +- .../testing/integration/introduction/pubspec.yaml | 2 +- .../testing/integration/profiling/pubspec.yaml | 2 +- .../cookbook/testing/unit/counter_app/pubspec.yaml | 2 +- examples/cookbook/testing/unit/mocking/pubspec.yaml | 2 +- examples/cookbook/testing/widget/finders/pubspec.yaml | 2 +- .../cookbook/testing/widget/introduction/pubspec.yaml | 2 +- .../testing/widget/orientation_tests/pubspec.yaml | 2 +- .../cookbook/testing/widget/scrolling/pubspec.yaml | 2 +- examples/cookbook/testing/widget/tap_drag/pubspec.yaml | 2 +- examples/data-and-backend/json/pubspec.yaml | 2 +- examples/deployment/obfuscate/pubspec.yaml | 2 +- examples/fwe/birdle/pubspec.yaml | 2 +- examples/fwe/rolodex/pubspec.yaml | 2 +- examples/fwe/wikipedia_reader/pubspec.yaml | 2 +- .../get-started/flutter-for/android_devs/pubspec.yaml | 2 +- .../get-started/flutter-for/declarative/pubspec.yaml | 2 +- examples/get-started/flutter-for/ios_devs/pubspec.yaml | 2 +- .../react_native_devs/my_widgets/pubspec.yaml | 2 +- .../flutter-for/react_native_devs/pubspec.yaml | 2 +- examples/get-started/flutter-for/web_devs/pubspec.yaml | 2 +- .../get-started/flutter-for/xamarin_devs/pubspec.yaml | 2 +- examples/googleapis/pubspec.yaml | 2 +- examples/integration_test/pubspec.yaml | 2 +- examples/integration_test_migration/pubspec.yaml | 2 +- .../internationalization/add_language/pubspec.yaml | 2 +- .../internationalization/gen_l10n_example/pubspec.yaml | 2 +- .../internationalization/intl_example/pubspec.yaml | 2 +- examples/internationalization/minimal/pubspec.yaml | 2 +- examples/layout/base/pubspec.yaml | 2 +- examples/layout/card_and_stack/pubspec.yaml | 2 +- examples/layout/constraints/pubspec.yaml | 2 +- examples/layout/container/pubspec.yaml | 2 +- examples/layout/gallery/pubspec.yaml | 2 +- examples/layout/grid_and_list/pubspec.yaml | 2 +- examples/layout/lakes/interactive/pubspec.yaml | 2 +- examples/layout/lakes/step2/pubspec.yaml | 2 +- examples/layout/lakes/step3/pubspec.yaml | 2 +- examples/layout/lakes/step4/pubspec.yaml | 2 +- examples/layout/lakes/step5/pubspec.yaml | 2 +- examples/layout/lakes/step6/pubspec.yaml | 2 +- examples/layout/non_material/pubspec.yaml | 2 +- examples/layout/pavlova/pubspec.yaml | 2 +- examples/layout/row_column/pubspec.yaml | 2 +- examples/layout/sizing/pubspec.yaml | 2 +- examples/perf/concurrency/isolates/pubspec.yaml | 2 +- examples/perf/deferred_components/pubspec.yaml | 2 +- .../compose_activities/pubspec.yaml | 2 +- examples/platform_integration/pigeon/pubspec.yaml | 2 +- .../platform_channels/pubspec.yaml | 2 +- .../platform_integration/platform_views/pubspec.yaml | 2 +- .../plugin_api_migration/pubspec.yaml | 2 +- examples/pubspec.yaml | 2 +- examples/resources/architectural_overview/pubspec.yaml | 2 +- examples/resources/dart_swift_concurrency/pubspec.yaml | 2 +- examples/state_mgmt/simple/pubspec.yaml | 2 +- examples/testing/code_debugging/pubspec.yaml | 2 +- examples/testing/common_errors/pubspec.yaml | 2 +- examples/testing/errors/lib/excerpts.dart | 2 +- examples/testing/errors/lib/main.dart | 2 +- examples/testing/errors/lib/quit_immediate.dart | 2 +- examples/testing/errors/pubspec.yaml | 2 +- examples/testing/integration_tests/how_to/pubspec.yaml | 2 +- examples/testing/native_debugging/pubspec.yaml | 2 +- examples/tools/pubspec.yaml | 2 +- examples/ui/actions_and_shortcuts/pubspec.yaml | 2 +- examples/ui/adaptive_app_demos/pubspec.yaml | 2 +- examples/ui/assets_and_images/pubspec.yaml | 2 +- examples/ui/focus/pubspec.yaml | 2 +- examples/ui/interactive/pubspec.yaml | 2 +- examples/ui/navigation/pubspec.yaml | 2 +- examples/ui/widgets_intro/pubspec.yaml | 2 +- examples/visual_debugging/pubspec.yaml | 2 +- packages/analysis_defaults/pubspec.yaml | 2 +- packages/excerpter/pubspec.yaml | 2 +- pubspec.yaml | 2 +- .../lib/src/components/dartpad/embedded_dartpad.dart | 6 +++--- sites/docs/pubspec.yaml | 2 +- .../content/app-architecture/design-patterns/sql.md | 2 +- .../src/content/cookbook/effects/download-button.md | 10 ++++------ .../src/content/cookbook/effects/parallax-scrolling.md | 3 +-- sites/docs/src/content/tools/pubspec.md | 2 +- sites/docs/src/data/site.yml | 2 +- tool/dash_site/pubspec.yaml | 2 +- 168 files changed, 178 insertions(+), 186 deletions(-) diff --git a/examples/_animation/basic_hero_animation/pubspec.yaml b/examples/_animation/basic_hero_animation/pubspec.yaml index 452cb540e7a..c7c6f716d90 100644 --- a/examples/_animation/basic_hero_animation/pubspec.yaml +++ b/examples/_animation/basic_hero_animation/pubspec.yaml @@ -5,7 +5,7 @@ description: >- resolution: workspace environment: - sdk: ^3.11.0 + sdk: ^3.12.0-0 dependencies: flutter: diff --git a/examples/_animation/basic_radial_hero_animation/pubspec.yaml b/examples/_animation/basic_radial_hero_animation/pubspec.yaml index e09286c618b..f7734ebdc01 100644 --- a/examples/_animation/basic_radial_hero_animation/pubspec.yaml +++ b/examples/_animation/basic_radial_hero_animation/pubspec.yaml @@ -6,7 +6,7 @@ description: >- resolution: workspace environment: - sdk: ^3.11.0 + sdk: ^3.12.0-0 dependencies: flutter: diff --git a/examples/_animation/basic_staggered_animation/pubspec.yaml b/examples/_animation/basic_staggered_animation/pubspec.yaml index e5eadb49c2d..21d9d663823 100644 --- a/examples/_animation/basic_staggered_animation/pubspec.yaml +++ b/examples/_animation/basic_staggered_animation/pubspec.yaml @@ -4,7 +4,7 @@ description: An introductory example to staggered animations. resolution: workspace environment: - sdk: ^3.11.0 + sdk: ^3.12.0-0 dependencies: flutter: diff --git a/examples/_animation/hero_animation/pubspec.yaml b/examples/_animation/hero_animation/pubspec.yaml index 8e00c7d92bd..07a12156081 100644 --- a/examples/_animation/hero_animation/pubspec.yaml +++ b/examples/_animation/hero_animation/pubspec.yaml @@ -4,7 +4,7 @@ description: Shows how to create a simple Hero transition. resolution: workspace environment: - sdk: ^3.11.0 + sdk: ^3.12.0-0 dependencies: flutter: diff --git a/examples/_animation/radial_hero_animation/pubspec.yaml b/examples/_animation/radial_hero_animation/pubspec.yaml index f0a50efef70..4bc3d297126 100644 --- a/examples/_animation/radial_hero_animation/pubspec.yaml +++ b/examples/_animation/radial_hero_animation/pubspec.yaml @@ -6,7 +6,7 @@ description: >- resolution: workspace environment: - sdk: ^3.11.0 + sdk: ^3.12.0-0 dependencies: flutter: diff --git a/examples/_animation/radial_hero_animation_animate_rectclip/pubspec.yaml b/examples/_animation/radial_hero_animation_animate_rectclip/pubspec.yaml index 140956d18b5..c23d4656904 100644 --- a/examples/_animation/radial_hero_animation_animate_rectclip/pubspec.yaml +++ b/examples/_animation/radial_hero_animation_animate_rectclip/pubspec.yaml @@ -6,7 +6,7 @@ description: >- resolution: workspace environment: - sdk: ^3.11.0 + sdk: ^3.12.0-0 dependencies: flutter: diff --git a/examples/_animation/staggered_pic_selection/pubspec.yaml b/examples/_animation/staggered_pic_selection/pubspec.yaml index 0b86b29dece..2b64c84e2db 100644 --- a/examples/_animation/staggered_pic_selection/pubspec.yaml +++ b/examples/_animation/staggered_pic_selection/pubspec.yaml @@ -4,7 +4,7 @@ description: A more complex staggered animation example. resolution: workspace environment: - sdk: ^3.11.0 + sdk: ^3.12.0-0 dependencies: flutter: diff --git a/examples/accessibility/pubspec.yaml b/examples/accessibility/pubspec.yaml index 08ac73ef9b3..c47638aebf8 100644 --- a/examples/accessibility/pubspec.yaml +++ b/examples/accessibility/pubspec.yaml @@ -5,7 +5,7 @@ publish_to: none resolution: workspace environment: - sdk: ^3.11.0 + sdk: ^3.12.0-0 dependencies: flutter: diff --git a/examples/analysis_options.yaml b/examples/analysis_options.yaml index a53c0054de3..ec6294795d2 100644 --- a/examples/analysis_options.yaml +++ b/examples/analysis_options.yaml @@ -37,6 +37,7 @@ linter: - prefer_final_fields - prefer_relative_imports - prefer_single_quotes + - simple_directive_paths - simplify_variable_pattern - sort_unnamed_constructors_first - specify_nonobvious_property_types diff --git a/examples/animation/animate0/pubspec.yaml b/examples/animation/animate0/pubspec.yaml index c7bd2694c89..7d9cfea0d7e 100644 --- a/examples/animation/animate0/pubspec.yaml +++ b/examples/animation/animate0/pubspec.yaml @@ -6,7 +6,7 @@ version: 1.0.0 resolution: workspace environment: - sdk: ^3.11.0 + sdk: ^3.12.0-0 dependencies: flutter: diff --git a/examples/animation/animate1/pubspec.yaml b/examples/animation/animate1/pubspec.yaml index 026e6dde106..c78a25b317a 100644 --- a/examples/animation/animate1/pubspec.yaml +++ b/examples/animation/animate1/pubspec.yaml @@ -6,7 +6,7 @@ version: 1.0.0 resolution: workspace environment: - sdk: ^3.11.0 + sdk: ^3.12.0-0 dependencies: flutter: diff --git a/examples/animation/animate2/pubspec.yaml b/examples/animation/animate2/pubspec.yaml index 2c85add160f..aed1bd0823d 100644 --- a/examples/animation/animate2/pubspec.yaml +++ b/examples/animation/animate2/pubspec.yaml @@ -6,7 +6,7 @@ version: 1.0.0 resolution: workspace environment: - sdk: ^3.11.0 + sdk: ^3.12.0-0 dependencies: flutter: diff --git a/examples/animation/animate3/pubspec.yaml b/examples/animation/animate3/pubspec.yaml index 99639d6afb1..450cc9bbe25 100644 --- a/examples/animation/animate3/pubspec.yaml +++ b/examples/animation/animate3/pubspec.yaml @@ -6,7 +6,7 @@ version: 1.0.0 resolution: workspace environment: - sdk: ^3.11.0 + sdk: ^3.12.0-0 dependencies: flutter: diff --git a/examples/animation/animate4/pubspec.yaml b/examples/animation/animate4/pubspec.yaml index add514f1ff4..b7f752d81d3 100644 --- a/examples/animation/animate4/pubspec.yaml +++ b/examples/animation/animate4/pubspec.yaml @@ -6,7 +6,7 @@ version: 1.0.0 resolution: workspace environment: - sdk: ^3.11.0 + sdk: ^3.12.0-0 dependencies: flutter: diff --git a/examples/animation/animate5/pubspec.yaml b/examples/animation/animate5/pubspec.yaml index b5aa9b8e782..ecaf770cc02 100644 --- a/examples/animation/animate5/pubspec.yaml +++ b/examples/animation/animate5/pubspec.yaml @@ -6,7 +6,7 @@ version: 1.0.0 resolution: workspace environment: - sdk: ^3.11.0 + sdk: ^3.12.0-0 dependencies: flutter: diff --git a/examples/app-architecture/command/pubspec.yaml b/examples/app-architecture/command/pubspec.yaml index 9d3625d102a..e0ff9553504 100644 --- a/examples/app-architecture/command/pubspec.yaml +++ b/examples/app-architecture/command/pubspec.yaml @@ -3,7 +3,7 @@ description: Example for command cookbook recipe resolution: workspace environment: - sdk: ^3.11.0 + sdk: ^3.12.0-0 dependencies: flutter: diff --git a/examples/app-architecture/offline_first/lib/data/repositories/user_profile_repository.dart b/examples/app-architecture/offline_first/lib/data/repositories/user_profile_repository.dart index b0ae409cdc8..dfc6f8e9400 100644 --- a/examples/app-architecture/offline_first/lib/data/repositories/user_profile_repository.dart +++ b/examples/app-architecture/offline_first/lib/data/repositories/user_profile_repository.dart @@ -6,10 +6,9 @@ import '../services/database_service.dart'; class UserProfileRepository { UserProfileRepository({ - required ApiClientService apiClientService, - required DatabaseService databaseService, - }) : _apiClientService = apiClientService, - _databaseService = databaseService { + required this._apiClientService, + required this._databaseService, + }) { // #docregion Timer Timer.periodic(const Duration(minutes: 5), (timer) => sync()); // #enddocregion Timer diff --git a/examples/app-architecture/offline_first/lib/ui/user_profile/user_profile_viewmodel.dart b/examples/app-architecture/offline_first/lib/ui/user_profile/user_profile_viewmodel.dart index 6a96c891bfe..6ec62646d5c 100644 --- a/examples/app-architecture/offline_first/lib/ui/user_profile/user_profile_viewmodel.dart +++ b/examples/app-architecture/offline_first/lib/ui/user_profile/user_profile_viewmodel.dart @@ -5,8 +5,7 @@ import '../../domain/model/user_profile.dart'; // #docregion UserProfileViewModel class UserProfileViewModel extends ChangeNotifier { // #enddocregion UserProfileViewModel - UserProfileViewModel({required UserProfileRepository userProfileRepository}) - : _userProfileRepository = userProfileRepository { + UserProfileViewModel({required this._userProfileRepository}) { load(); } diff --git a/examples/app-architecture/offline_first/pubspec.yaml b/examples/app-architecture/offline_first/pubspec.yaml index 10423847802..5be1c19f1af 100644 --- a/examples/app-architecture/offline_first/pubspec.yaml +++ b/examples/app-architecture/offline_first/pubspec.yaml @@ -3,7 +3,7 @@ description: Example for offline_first cookbook recipe resolution: workspace environment: - sdk: ^3.11.0 + sdk: ^3.12.0-0 dependencies: flutter: diff --git a/examples/app-architecture/optimistic_state/pubspec.yaml b/examples/app-architecture/optimistic_state/pubspec.yaml index 0bbe011daff..576b5eb80ee 100644 --- a/examples/app-architecture/optimistic_state/pubspec.yaml +++ b/examples/app-architecture/optimistic_state/pubspec.yaml @@ -3,7 +3,7 @@ description: Example for optimistic_state cookbook recipe resolution: workspace environment: - sdk: ^3.11.0 + sdk: ^3.12.0-0 dependencies: flutter: diff --git a/examples/app-architecture/result/pubspec.yaml b/examples/app-architecture/result/pubspec.yaml index 53579891250..22490b9a903 100644 --- a/examples/app-architecture/result/pubspec.yaml +++ b/examples/app-architecture/result/pubspec.yaml @@ -3,7 +3,7 @@ description: Example for result cookbook recipe resolution: workspace environment: - sdk: ^3.11.0 + sdk: ^3.12.0-0 dependencies: flutter: diff --git a/examples/app-architecture/todo_data_service/lib/data/repositories/todo_repository.dart b/examples/app-architecture/todo_data_service/lib/data/repositories/todo_repository.dart index d66a80fb2d4..d836daa205d 100644 --- a/examples/app-architecture/todo_data_service/lib/data/repositories/todo_repository.dart +++ b/examples/app-architecture/todo_data_service/lib/data/repositories/todo_repository.dart @@ -4,7 +4,7 @@ import '../services/database_service.dart'; // #docregion TodoRepository class TodoRepository { - TodoRepository({required DatabaseService database}) : _database = database; + TodoRepository({required this._database}); final DatabaseService _database; diff --git a/examples/app-architecture/todo_data_service/lib/ui/todo_list/viewmodel/todo_list_viewmodel.dart b/examples/app-architecture/todo_data_service/lib/ui/todo_list/viewmodel/todo_list_viewmodel.dart index c7ed7c8161c..e76dd81d997 100644 --- a/examples/app-architecture/todo_data_service/lib/ui/todo_list/viewmodel/todo_list_viewmodel.dart +++ b/examples/app-architecture/todo_data_service/lib/ui/todo_list/viewmodel/todo_list_viewmodel.dart @@ -6,8 +6,7 @@ import '../../../utils/command.dart'; import '../../../utils/result.dart'; class TodoListViewModel extends ChangeNotifier { - TodoListViewModel({required TodoRepository todoRepository}) - : _todoRepository = todoRepository { + TodoListViewModel({required this._todoRepository}) { load = Command0(_load)..execute(); add = Command1(_add); delete = Command1(_delete); diff --git a/examples/app-architecture/todo_data_service/pubspec.yaml b/examples/app-architecture/todo_data_service/pubspec.yaml index d20f7801329..b399211c300 100644 --- a/examples/app-architecture/todo_data_service/pubspec.yaml +++ b/examples/app-architecture/todo_data_service/pubspec.yaml @@ -3,7 +3,7 @@ description: Example for key_value_data cookbook recipe resolution: workspace environment: - sdk: ^3.11.0 + sdk: ^3.12.0-0 dependencies: flutter: diff --git a/examples/cookbook/animation/animated_container/pubspec.yaml b/examples/cookbook/animation/animated_container/pubspec.yaml index f43c4febd7a..7e86ba13571 100644 --- a/examples/cookbook/animation/animated_container/pubspec.yaml +++ b/examples/cookbook/animation/animated_container/pubspec.yaml @@ -3,7 +3,7 @@ description: Sample code for cookbook. resolution: workspace environment: - sdk: ^3.11.0 + sdk: ^3.12.0-0 dependencies: flutter: diff --git a/examples/cookbook/animation/opacity_animation/pubspec.yaml b/examples/cookbook/animation/opacity_animation/pubspec.yaml index ae343964a53..d265804e556 100644 --- a/examples/cookbook/animation/opacity_animation/pubspec.yaml +++ b/examples/cookbook/animation/opacity_animation/pubspec.yaml @@ -3,7 +3,7 @@ description: Sample code for cookbook. resolution: workspace environment: - sdk: ^3.11.0 + sdk: ^3.12.0-0 dependencies: flutter: diff --git a/examples/cookbook/animation/page_route_animation/pubspec.yaml b/examples/cookbook/animation/page_route_animation/pubspec.yaml index 647f1aefe80..532d9a75f74 100644 --- a/examples/cookbook/animation/page_route_animation/pubspec.yaml +++ b/examples/cookbook/animation/page_route_animation/pubspec.yaml @@ -3,7 +3,7 @@ description: Sample code for cookbook. resolution: workspace environment: - sdk: ^3.11.0 + sdk: ^3.12.0-0 dependencies: flutter: diff --git a/examples/cookbook/animation/physics_simulation/pubspec.yaml b/examples/cookbook/animation/physics_simulation/pubspec.yaml index 3355fc0989a..a6e728cdd81 100644 --- a/examples/cookbook/animation/physics_simulation/pubspec.yaml +++ b/examples/cookbook/animation/physics_simulation/pubspec.yaml @@ -3,7 +3,7 @@ description: Sample code for cookbook. resolution: workspace environment: - sdk: ^3.11.0 + sdk: ^3.12.0-0 dependencies: flutter: diff --git a/examples/cookbook/design/cupertino_sheets/pubspec.yaml b/examples/cookbook/design/cupertino_sheets/pubspec.yaml index 8b957bbf009..73ea2fa241d 100644 --- a/examples/cookbook/design/cupertino_sheets/pubspec.yaml +++ b/examples/cookbook/design/cupertino_sheets/pubspec.yaml @@ -3,7 +3,7 @@ description: Sample code for cupertino sheets cookbook recipe. resolution: workspace environment: - sdk: ^3.11.0 + sdk: ^3.12.0-0 dependencies: flutter: diff --git a/examples/cookbook/design/drawer/pubspec.yaml b/examples/cookbook/design/drawer/pubspec.yaml index 11b935bdb4a..6bd1dc6d21e 100644 --- a/examples/cookbook/design/drawer/pubspec.yaml +++ b/examples/cookbook/design/drawer/pubspec.yaml @@ -3,7 +3,7 @@ description: Sample code for drawer cookbook recipe. resolution: workspace environment: - sdk: ^3.11.0 + sdk: ^3.12.0-0 dependencies: flutter: diff --git a/examples/cookbook/design/fonts/pubspec.yaml b/examples/cookbook/design/fonts/pubspec.yaml index d329b5580c8..e4bcf7c63bc 100644 --- a/examples/cookbook/design/fonts/pubspec.yaml +++ b/examples/cookbook/design/fonts/pubspec.yaml @@ -5,7 +5,7 @@ version: 1.0.0+1 resolution: workspace environment: - sdk: ^3.11.0 + sdk: ^3.12.0-0 dependencies: flutter: diff --git a/examples/cookbook/design/orientation/pubspec.yaml b/examples/cookbook/design/orientation/pubspec.yaml index b7c08105482..e79dfa74776 100644 --- a/examples/cookbook/design/orientation/pubspec.yaml +++ b/examples/cookbook/design/orientation/pubspec.yaml @@ -3,7 +3,7 @@ description: Sample code for orientation cookbook recipe. resolution: workspace environment: - sdk: ^3.11.0 + sdk: ^3.12.0-0 dependencies: flutter: diff --git a/examples/cookbook/design/package_fonts/pubspec.yaml b/examples/cookbook/design/package_fonts/pubspec.yaml index 750cb218bd3..79b70f82587 100644 --- a/examples/cookbook/design/package_fonts/pubspec.yaml +++ b/examples/cookbook/design/package_fonts/pubspec.yaml @@ -5,7 +5,7 @@ version: 1.0.0+1 resolution: workspace environment: - sdk: ^3.11.0 + sdk: ^3.12.0-0 dependencies: flutter: diff --git a/examples/cookbook/design/snackbars/pubspec.yaml b/examples/cookbook/design/snackbars/pubspec.yaml index 049b7568ca7..ecdbd128497 100644 --- a/examples/cookbook/design/snackbars/pubspec.yaml +++ b/examples/cookbook/design/snackbars/pubspec.yaml @@ -3,7 +3,7 @@ description: Sample code for snackbars cookbook recipe. resolution: workspace environment: - sdk: ^3.11.0 + sdk: ^3.12.0-0 dependencies: flutter: diff --git a/examples/cookbook/design/tabs/pubspec.yaml b/examples/cookbook/design/tabs/pubspec.yaml index dd805ef130c..8872dda7f71 100644 --- a/examples/cookbook/design/tabs/pubspec.yaml +++ b/examples/cookbook/design/tabs/pubspec.yaml @@ -3,7 +3,7 @@ description: Sample code for tabs cookbook recipe. resolution: workspace environment: - sdk: ^3.11.0 + sdk: ^3.12.0-0 dependencies: flutter: diff --git a/examples/cookbook/design/themes/pubspec.yaml b/examples/cookbook/design/themes/pubspec.yaml index 1aae8bf2e82..6b7747dcd53 100644 --- a/examples/cookbook/design/themes/pubspec.yaml +++ b/examples/cookbook/design/themes/pubspec.yaml @@ -3,7 +3,7 @@ description: Sample code for themes cookbook recipe. resolution: workspace environment: - sdk: ^3.11.0 + sdk: ^3.12.0-0 dependencies: flutter: diff --git a/examples/cookbook/effects/download_button/lib/main.dart b/examples/cookbook/effects/download_button/lib/main.dart index d8a1bec416e..a22876e2722 100644 --- a/examples/cookbook/effects/download_button/lib/main.dart +++ b/examples/cookbook/effects/download_button/lib/main.dart @@ -130,12 +130,10 @@ abstract class DownloadController implements ChangeNotifier { class SimulatedDownloadController extends DownloadController with ChangeNotifier { SimulatedDownloadController({ - DownloadStatus downloadStatus = DownloadStatus.notDownloaded, - double progress = 0.0, - required VoidCallback onOpenDownload, - }) : _downloadStatus = downloadStatus, - _progress = progress, - _onOpenDownload = onOpenDownload; + this._downloadStatus = DownloadStatus.notDownloaded, + this._progress = 0.0, + required this._onOpenDownload, + }); DownloadStatus _downloadStatus; @override diff --git a/examples/cookbook/effects/download_button/pubspec.yaml b/examples/cookbook/effects/download_button/pubspec.yaml index 5d1a3aff6f8..416c8cfcab9 100644 --- a/examples/cookbook/effects/download_button/pubspec.yaml +++ b/examples/cookbook/effects/download_button/pubspec.yaml @@ -5,7 +5,7 @@ version: 1.0.0+1 resolution: workspace environment: - sdk: ^3.11.0 + sdk: ^3.12.0-0 dependencies: flutter: diff --git a/examples/cookbook/effects/drag_a_widget/pubspec.yaml b/examples/cookbook/effects/drag_a_widget/pubspec.yaml index 401a966e752..26a91cc0300 100644 --- a/examples/cookbook/effects/drag_a_widget/pubspec.yaml +++ b/examples/cookbook/effects/drag_a_widget/pubspec.yaml @@ -7,7 +7,7 @@ version: 1.0.0+1 resolution: workspace environment: - sdk: ^3.11.0 + sdk: ^3.12.0-0 dependencies: flutter: diff --git a/examples/cookbook/effects/expandable_fab/pubspec.yaml b/examples/cookbook/effects/expandable_fab/pubspec.yaml index 7963d1092f8..475ec921253 100644 --- a/examples/cookbook/effects/expandable_fab/pubspec.yaml +++ b/examples/cookbook/effects/expandable_fab/pubspec.yaml @@ -6,7 +6,7 @@ version: 1.0.0+1 resolution: workspace environment: - sdk: ^3.11.0 + sdk: ^3.12.0-0 dependencies: flutter: diff --git a/examples/cookbook/effects/nested_nav/pubspec.yaml b/examples/cookbook/effects/nested_nav/pubspec.yaml index fe6c2cd61d9..7a3f5d7aa50 100644 --- a/examples/cookbook/effects/nested_nav/pubspec.yaml +++ b/examples/cookbook/effects/nested_nav/pubspec.yaml @@ -7,7 +7,7 @@ version: 1.0.0+1 resolution: workspace environment: - sdk: ^3.11.0 + sdk: ^3.12.0-0 dependencies: flutter: diff --git a/examples/cookbook/effects/parallax_scrolling/lib/main.dart b/examples/cookbook/effects/parallax_scrolling/lib/main.dart index 7b318f5b77e..f523039ff6a 100644 --- a/examples/cookbook/effects/parallax_scrolling/lib/main.dart +++ b/examples/cookbook/effects/parallax_scrolling/lib/main.dart @@ -223,8 +223,7 @@ class ParallaxParentData extends ContainerBoxParentData {} class RenderParallax extends RenderBox with RenderObjectWithChildMixin, RenderProxyBoxMixin { - RenderParallax({required ScrollableState scrollable}) - : _scrollable = scrollable; + RenderParallax({required this._scrollable}); ScrollableState _scrollable; diff --git a/examples/cookbook/effects/parallax_scrolling/pubspec.yaml b/examples/cookbook/effects/parallax_scrolling/pubspec.yaml index 3d8b960b578..d064c4a1362 100644 --- a/examples/cookbook/effects/parallax_scrolling/pubspec.yaml +++ b/examples/cookbook/effects/parallax_scrolling/pubspec.yaml @@ -7,7 +7,7 @@ version: 1.0.0+1 resolution: workspace environment: - sdk: ^3.11.0 + sdk: ^3.12.0-0 dependencies: flutter: diff --git a/examples/cookbook/effects/shimmer_loading/pubspec.yaml b/examples/cookbook/effects/shimmer_loading/pubspec.yaml index 601103143cb..ae7f9f12f8a 100644 --- a/examples/cookbook/effects/shimmer_loading/pubspec.yaml +++ b/examples/cookbook/effects/shimmer_loading/pubspec.yaml @@ -7,7 +7,7 @@ version: 1.0.0+1 resolution: workspace environment: - sdk: ^3.11.0 + sdk: ^3.12.0-0 dependencies: flutter: diff --git a/examples/cookbook/effects/staggered_menu_animation/pubspec.yaml b/examples/cookbook/effects/staggered_menu_animation/pubspec.yaml index 5efea85222f..d1970aac2a4 100644 --- a/examples/cookbook/effects/staggered_menu_animation/pubspec.yaml +++ b/examples/cookbook/effects/staggered_menu_animation/pubspec.yaml @@ -7,7 +7,7 @@ version: 1.0.0+1 resolution: workspace environment: - sdk: ^3.11.0 + sdk: ^3.12.0-0 dependencies: flutter: diff --git a/examples/cookbook/forms/focus/pubspec.yaml b/examples/cookbook/forms/focus/pubspec.yaml index 1ad5e388e0f..e5ceceded71 100644 --- a/examples/cookbook/forms/focus/pubspec.yaml +++ b/examples/cookbook/forms/focus/pubspec.yaml @@ -3,7 +3,7 @@ description: Sample code for focus cookbook recipe. resolution: workspace environment: - sdk: ^3.11.0 + sdk: ^3.12.0-0 dependencies: flutter: diff --git a/examples/cookbook/forms/retrieve_input/pubspec.yaml b/examples/cookbook/forms/retrieve_input/pubspec.yaml index baf3ca58664..9dde2284c60 100644 --- a/examples/cookbook/forms/retrieve_input/pubspec.yaml +++ b/examples/cookbook/forms/retrieve_input/pubspec.yaml @@ -3,7 +3,7 @@ description: Sample code for retrieve_input cookbook recipe. resolution: workspace environment: - sdk: ^3.11.0 + sdk: ^3.12.0-0 dependencies: flutter: diff --git a/examples/cookbook/forms/text_field_changes/pubspec.yaml b/examples/cookbook/forms/text_field_changes/pubspec.yaml index efb7cc39fd1..9566630d5e4 100644 --- a/examples/cookbook/forms/text_field_changes/pubspec.yaml +++ b/examples/cookbook/forms/text_field_changes/pubspec.yaml @@ -3,7 +3,7 @@ description: Sample code for text_field_changes resolution: workspace environment: - sdk: ^3.11.0 + sdk: ^3.12.0-0 dependencies: flutter: diff --git a/examples/cookbook/forms/text_input/pubspec.yaml b/examples/cookbook/forms/text_input/pubspec.yaml index ef20a535032..92f3dc28b9a 100644 --- a/examples/cookbook/forms/text_input/pubspec.yaml +++ b/examples/cookbook/forms/text_input/pubspec.yaml @@ -7,7 +7,7 @@ version: 1.0.0+1 resolution: workspace environment: - sdk: ^3.11.0 + sdk: ^3.12.0-0 dependencies: flutter: diff --git a/examples/cookbook/forms/validation/pubspec.yaml b/examples/cookbook/forms/validation/pubspec.yaml index 70b41e7748e..b92ec8943bb 100644 --- a/examples/cookbook/forms/validation/pubspec.yaml +++ b/examples/cookbook/forms/validation/pubspec.yaml @@ -3,7 +3,7 @@ description: Use Form widget to perform form validation. resolution: workspace environment: - sdk: ^3.11.0 + sdk: ^3.12.0-0 dependencies: flutter: diff --git a/examples/cookbook/games/achievements_leaderboards/pubspec.yaml b/examples/cookbook/games/achievements_leaderboards/pubspec.yaml index bd37990e9bd..cdc85a20522 100644 --- a/examples/cookbook/games/achievements_leaderboards/pubspec.yaml +++ b/examples/cookbook/games/achievements_leaderboards/pubspec.yaml @@ -3,7 +3,7 @@ description: Games services resolution: workspace environment: - sdk: ^3.11.0 + sdk: ^3.12.0-0 dependencies: flutter: diff --git a/examples/cookbook/games/firestore_multiplayer/pubspec.yaml b/examples/cookbook/games/firestore_multiplayer/pubspec.yaml index 0ab6675f304..82d69d3759c 100644 --- a/examples/cookbook/games/firestore_multiplayer/pubspec.yaml +++ b/examples/cookbook/games/firestore_multiplayer/pubspec.yaml @@ -3,7 +3,7 @@ description: Firestore multiplayer resolution: workspace environment: - sdk: ^3.11.0 + sdk: ^3.12.0-0 dependencies: flutter: diff --git a/examples/cookbook/gestures/dismissible/pubspec.yaml b/examples/cookbook/gestures/dismissible/pubspec.yaml index 378e6d96583..2cee70eb0b9 100644 --- a/examples/cookbook/gestures/dismissible/pubspec.yaml +++ b/examples/cookbook/gestures/dismissible/pubspec.yaml @@ -3,7 +3,7 @@ description: Sample code for dismissible cookbook recipe. resolution: workspace environment: - sdk: ^3.11.0 + sdk: ^3.12.0-0 dependencies: flutter: diff --git a/examples/cookbook/gestures/handling_taps/pubspec.yaml b/examples/cookbook/gestures/handling_taps/pubspec.yaml index 95eaa9232f1..d3e4c32ecfd 100644 --- a/examples/cookbook/gestures/handling_taps/pubspec.yaml +++ b/examples/cookbook/gestures/handling_taps/pubspec.yaml @@ -3,7 +3,7 @@ description: Example on handling_taps cookbook recipe. resolution: workspace environment: - sdk: ^3.11.0 + sdk: ^3.12.0-0 dependencies: flutter: diff --git a/examples/cookbook/gestures/ripples/pubspec.yaml b/examples/cookbook/gestures/ripples/pubspec.yaml index a82c2f06ed0..0e996979d67 100644 --- a/examples/cookbook/gestures/ripples/pubspec.yaml +++ b/examples/cookbook/gestures/ripples/pubspec.yaml @@ -3,7 +3,7 @@ description: Example for ripples cookbook recipe resolution: workspace environment: - sdk: ^3.11.0 + sdk: ^3.12.0-0 dependencies: flutter: diff --git a/examples/cookbook/images/cached_images/pubspec.yaml b/examples/cookbook/images/cached_images/pubspec.yaml index a092e575bca..6423b6a2ba3 100644 --- a/examples/cookbook/images/cached_images/pubspec.yaml +++ b/examples/cookbook/images/cached_images/pubspec.yaml @@ -7,7 +7,7 @@ version: 1.0.0+1 resolution: workspace environment: - sdk: ^3.11.0 + sdk: ^3.12.0-0 dependencies: flutter: diff --git a/examples/cookbook/images/fading_in_images/pubspec.yaml b/examples/cookbook/images/fading_in_images/pubspec.yaml index 3011f28a21a..8c57d526ace 100644 --- a/examples/cookbook/images/fading_in_images/pubspec.yaml +++ b/examples/cookbook/images/fading_in_images/pubspec.yaml @@ -7,7 +7,7 @@ version: 1.0.0+1 resolution: workspace environment: - sdk: ^3.11.0 + sdk: ^3.12.0-0 dependencies: flutter: diff --git a/examples/cookbook/images/network_image/pubspec.yaml b/examples/cookbook/images/network_image/pubspec.yaml index f3a207ebc9f..cfbe13d5827 100644 --- a/examples/cookbook/images/network_image/pubspec.yaml +++ b/examples/cookbook/images/network_image/pubspec.yaml @@ -7,7 +7,7 @@ version: 1.0.0+1 resolution: workspace environment: - sdk: ^3.11.0 + sdk: ^3.12.0-0 dependencies: flutter: diff --git a/examples/cookbook/lists/basic_list/pubspec.yaml b/examples/cookbook/lists/basic_list/pubspec.yaml index 0620ad3b5bd..5f6461b8a75 100644 --- a/examples/cookbook/lists/basic_list/pubspec.yaml +++ b/examples/cookbook/lists/basic_list/pubspec.yaml @@ -7,7 +7,7 @@ version: 1.0.0+1 resolution: workspace environment: - sdk: ^3.11.0 + sdk: ^3.12.0-0 dependencies: flutter: diff --git a/examples/cookbook/lists/floating_app_bar/pubspec.yaml b/examples/cookbook/lists/floating_app_bar/pubspec.yaml index d297055c430..da693b86114 100644 --- a/examples/cookbook/lists/floating_app_bar/pubspec.yaml +++ b/examples/cookbook/lists/floating_app_bar/pubspec.yaml @@ -3,7 +3,7 @@ description: Example for floating_app_bar cookbook recipe resolution: workspace environment: - sdk: ^3.11.0 + sdk: ^3.12.0-0 dependencies: flutter: diff --git a/examples/cookbook/lists/grid_lists/pubspec.yaml b/examples/cookbook/lists/grid_lists/pubspec.yaml index 35a02544f31..372fbd14667 100644 --- a/examples/cookbook/lists/grid_lists/pubspec.yaml +++ b/examples/cookbook/lists/grid_lists/pubspec.yaml @@ -7,7 +7,7 @@ version: 1.0.0+1 resolution: workspace environment: - sdk: ^3.11.0 + sdk: ^3.12.0-0 dependencies: flutter: diff --git a/examples/cookbook/lists/horizontal_list/pubspec.yaml b/examples/cookbook/lists/horizontal_list/pubspec.yaml index be94a25b14a..d23114b6315 100644 --- a/examples/cookbook/lists/horizontal_list/pubspec.yaml +++ b/examples/cookbook/lists/horizontal_list/pubspec.yaml @@ -7,7 +7,7 @@ version: 1.0.0+1 resolution: workspace environment: - sdk: ^3.11.0 + sdk: ^3.12.0-0 dependencies: flutter: diff --git a/examples/cookbook/lists/long_lists/pubspec.yaml b/examples/cookbook/lists/long_lists/pubspec.yaml index 63957af6bb7..75b7dfb829c 100644 --- a/examples/cookbook/lists/long_lists/pubspec.yaml +++ b/examples/cookbook/lists/long_lists/pubspec.yaml @@ -3,7 +3,7 @@ description: Example for long_lists cookbook recipe resolution: workspace environment: - sdk: ^3.11.0 + sdk: ^3.12.0-0 dependencies: flutter: diff --git a/examples/cookbook/lists/mixed_list/pubspec.yaml b/examples/cookbook/lists/mixed_list/pubspec.yaml index d7b17f2772b..67ffd18e1b9 100644 --- a/examples/cookbook/lists/mixed_list/pubspec.yaml +++ b/examples/cookbook/lists/mixed_list/pubspec.yaml @@ -3,7 +3,7 @@ description: Example for mixed_lists cookbook recipe resolution: workspace environment: - sdk: ^3.11.0 + sdk: ^3.12.0-0 dependencies: flutter: diff --git a/examples/cookbook/lists/spaced_items/pubspec.yaml b/examples/cookbook/lists/spaced_items/pubspec.yaml index fc02c27a955..4086f0dc978 100644 --- a/examples/cookbook/lists/spaced_items/pubspec.yaml +++ b/examples/cookbook/lists/spaced_items/pubspec.yaml @@ -3,7 +3,7 @@ description: Example for spaced_items cookbook recipe resolution: workspace environment: - sdk: ^3.11.0 + sdk: ^3.12.0-0 dependencies: flutter: diff --git a/examples/cookbook/maintenance/error_reporting/pubspec.yaml b/examples/cookbook/maintenance/error_reporting/pubspec.yaml index 5a843124101..b89db58467b 100644 --- a/examples/cookbook/maintenance/error_reporting/pubspec.yaml +++ b/examples/cookbook/maintenance/error_reporting/pubspec.yaml @@ -4,7 +4,7 @@ publish_to: none resolution: workspace environment: - sdk: ^3.11.0 + sdk: ^3.12.0-0 dependencies: flutter: diff --git a/examples/cookbook/navigation/hero_animations/pubspec.yaml b/examples/cookbook/navigation/hero_animations/pubspec.yaml index 8871b0abf0e..ad0c36178e0 100644 --- a/examples/cookbook/navigation/hero_animations/pubspec.yaml +++ b/examples/cookbook/navigation/hero_animations/pubspec.yaml @@ -3,7 +3,7 @@ description: Hero animations resolution: workspace environment: - sdk: ^3.11.0 + sdk: ^3.12.0-0 dependencies: flutter: diff --git a/examples/cookbook/navigation/named_routes/pubspec.yaml b/examples/cookbook/navigation/named_routes/pubspec.yaml index 37f509b98a2..1aa58c32236 100644 --- a/examples/cookbook/navigation/named_routes/pubspec.yaml +++ b/examples/cookbook/navigation/named_routes/pubspec.yaml @@ -3,7 +3,7 @@ description: Named route example snippets. resolution: workspace environment: - sdk: ^3.11.0 + sdk: ^3.12.0-0 dependencies: flutter: diff --git a/examples/cookbook/navigation/navigate_with_arguments/pubspec.yaml b/examples/cookbook/navigation/navigate_with_arguments/pubspec.yaml index d4cf141d039..ef19dcc7b89 100644 --- a/examples/cookbook/navigation/navigate_with_arguments/pubspec.yaml +++ b/examples/cookbook/navigation/navigate_with_arguments/pubspec.yaml @@ -3,7 +3,7 @@ description: Use Form widget to perform form validation. resolution: workspace environment: - sdk: ^3.11.0 + sdk: ^3.12.0-0 dependencies: flutter: diff --git a/examples/cookbook/navigation/navigation_basics/pubspec.yaml b/examples/cookbook/navigation/navigation_basics/pubspec.yaml index ba4cd9fef08..e3428bb59b7 100644 --- a/examples/cookbook/navigation/navigation_basics/pubspec.yaml +++ b/examples/cookbook/navigation/navigation_basics/pubspec.yaml @@ -7,7 +7,7 @@ version: 1.0.0+1 resolution: workspace environment: - sdk: ^3.11.0 + sdk: ^3.12.0-0 dependencies: flutter: diff --git a/examples/cookbook/navigation/passing_data/pubspec.yaml b/examples/cookbook/navigation/passing_data/pubspec.yaml index 1018d698830..697a87ed8ab 100644 --- a/examples/cookbook/navigation/passing_data/pubspec.yaml +++ b/examples/cookbook/navigation/passing_data/pubspec.yaml @@ -3,7 +3,7 @@ description: Passing data resolution: workspace environment: - sdk: ^3.11.0 + sdk: ^3.12.0-0 dependencies: flutter: diff --git a/examples/cookbook/navigation/returning_data/pubspec.yaml b/examples/cookbook/navigation/returning_data/pubspec.yaml index 2801c4ef589..c00e4df4880 100644 --- a/examples/cookbook/navigation/returning_data/pubspec.yaml +++ b/examples/cookbook/navigation/returning_data/pubspec.yaml @@ -3,7 +3,7 @@ description: Returning data resolution: workspace environment: - sdk: ^3.11.0 + sdk: ^3.12.0-0 dependencies: flutter: diff --git a/examples/cookbook/networking/authenticated_requests/pubspec.yaml b/examples/cookbook/networking/authenticated_requests/pubspec.yaml index 374a94f4013..dd2bb810037 100644 --- a/examples/cookbook/networking/authenticated_requests/pubspec.yaml +++ b/examples/cookbook/networking/authenticated_requests/pubspec.yaml @@ -3,7 +3,7 @@ description: Authenticated HTTP request example snippets. resolution: workspace environment: - sdk: ^3.11.0 + sdk: ^3.12.0-0 dependencies: flutter: diff --git a/examples/cookbook/networking/background_parsing/pubspec.yaml b/examples/cookbook/networking/background_parsing/pubspec.yaml index eea62c3f94c..4894893d7f9 100644 --- a/examples/cookbook/networking/background_parsing/pubspec.yaml +++ b/examples/cookbook/networking/background_parsing/pubspec.yaml @@ -3,7 +3,7 @@ description: Background parsing resolution: workspace environment: - sdk: ^3.11.0 + sdk: ^3.12.0-0 dependencies: flutter: diff --git a/examples/cookbook/networking/delete_data/pubspec.yaml b/examples/cookbook/networking/delete_data/pubspec.yaml index 44776f17d3f..210e738ee46 100644 --- a/examples/cookbook/networking/delete_data/pubspec.yaml +++ b/examples/cookbook/networking/delete_data/pubspec.yaml @@ -3,7 +3,7 @@ description: Delete Data resolution: workspace environment: - sdk: ^3.11.0 + sdk: ^3.12.0-0 dependencies: flutter: diff --git a/examples/cookbook/networking/fetch_data/pubspec.yaml b/examples/cookbook/networking/fetch_data/pubspec.yaml index 25493bff61a..70d3e803bec 100644 --- a/examples/cookbook/networking/fetch_data/pubspec.yaml +++ b/examples/cookbook/networking/fetch_data/pubspec.yaml @@ -3,7 +3,7 @@ description: Fetch Data resolution: workspace environment: - sdk: ^3.11.0 + sdk: ^3.12.0-0 dependencies: flutter: diff --git a/examples/cookbook/networking/send_data/pubspec.yaml b/examples/cookbook/networking/send_data/pubspec.yaml index 4272b5efe1b..ce34ba4aa49 100644 --- a/examples/cookbook/networking/send_data/pubspec.yaml +++ b/examples/cookbook/networking/send_data/pubspec.yaml @@ -3,7 +3,7 @@ description: Send data resolution: workspace environment: - sdk: ^3.11.0 + sdk: ^3.12.0-0 dependencies: flutter: diff --git a/examples/cookbook/networking/update_data/pubspec.yaml b/examples/cookbook/networking/update_data/pubspec.yaml index fc33f66c24d..a5c81800de2 100644 --- a/examples/cookbook/networking/update_data/pubspec.yaml +++ b/examples/cookbook/networking/update_data/pubspec.yaml @@ -3,7 +3,7 @@ description: Update Data resolution: workspace environment: - sdk: ^3.11.0 + sdk: ^3.12.0-0 dependencies: flutter: diff --git a/examples/cookbook/networking/web_sockets/pubspec.yaml b/examples/cookbook/networking/web_sockets/pubspec.yaml index 560d1ff952e..0d6fbcff578 100644 --- a/examples/cookbook/networking/web_sockets/pubspec.yaml +++ b/examples/cookbook/networking/web_sockets/pubspec.yaml @@ -3,7 +3,7 @@ description: Web Sockets resolution: workspace environment: - sdk: ^3.11.0 + sdk: ^3.12.0-0 dependencies: flutter: diff --git a/examples/cookbook/persistence/key_value/pubspec.yaml b/examples/cookbook/persistence/key_value/pubspec.yaml index 0af68667a06..5f5e6f754a4 100644 --- a/examples/cookbook/persistence/key_value/pubspec.yaml +++ b/examples/cookbook/persistence/key_value/pubspec.yaml @@ -6,7 +6,7 @@ description: >- resolution: workspace environment: - sdk: ^3.11.0 + sdk: ^3.12.0-0 dependencies: flutter: diff --git a/examples/cookbook/persistence/reading_writing_files/pubspec.yaml b/examples/cookbook/persistence/reading_writing_files/pubspec.yaml index 27d994ee976..cce71675ec7 100644 --- a/examples/cookbook/persistence/reading_writing_files/pubspec.yaml +++ b/examples/cookbook/persistence/reading_writing_files/pubspec.yaml @@ -3,7 +3,7 @@ description: Reading and Writing Files resolution: workspace environment: - sdk: ^3.11.0 + sdk: ^3.12.0-0 dependencies: flutter: diff --git a/examples/cookbook/persistence/sqlite/pubspec.yaml b/examples/cookbook/persistence/sqlite/pubspec.yaml index 5f450f11350..6b6240f7419 100644 --- a/examples/cookbook/persistence/sqlite/pubspec.yaml +++ b/examples/cookbook/persistence/sqlite/pubspec.yaml @@ -3,7 +3,7 @@ description: Example of using sqflite plugin to access SQLite database. resolution: workspace environment: - sdk: ^3.11.0 + sdk: ^3.12.0-0 dependencies: flutter: diff --git a/examples/cookbook/plugins/google_mobile_ads/pubspec.yaml b/examples/cookbook/plugins/google_mobile_ads/pubspec.yaml index 8e46d6236eb..6db3d9051cf 100644 --- a/examples/cookbook/plugins/google_mobile_ads/pubspec.yaml +++ b/examples/cookbook/plugins/google_mobile_ads/pubspec.yaml @@ -3,7 +3,7 @@ description: Google mobile ads resolution: workspace environment: - sdk: ^3.11.0 + sdk: ^3.12.0-0 dependencies: flutter: diff --git a/examples/cookbook/plugins/picture_using_camera/pubspec.yaml b/examples/cookbook/plugins/picture_using_camera/pubspec.yaml index 7f217a355ee..28fcebf2efe 100644 --- a/examples/cookbook/plugins/picture_using_camera/pubspec.yaml +++ b/examples/cookbook/plugins/picture_using_camera/pubspec.yaml @@ -3,7 +3,7 @@ description: A new Flutter project. resolution: workspace environment: - sdk: ^3.11.0 + sdk: ^3.12.0-0 dependencies: flutter: diff --git a/examples/cookbook/plugins/play_video/pubspec.yaml b/examples/cookbook/plugins/play_video/pubspec.yaml index 525487a2d5b..99955fa499b 100644 --- a/examples/cookbook/plugins/play_video/pubspec.yaml +++ b/examples/cookbook/plugins/play_video/pubspec.yaml @@ -5,7 +5,7 @@ version: 1.0.0+1 resolution: workspace environment: - sdk: ^3.11.0 + sdk: ^3.12.0-0 dependencies: flutter: diff --git a/examples/cookbook/testing/integration/introduction/pubspec.yaml b/examples/cookbook/testing/integration/introduction/pubspec.yaml index 6c2ef6efbbd..f19bbc05da9 100644 --- a/examples/cookbook/testing/integration/introduction/pubspec.yaml +++ b/examples/cookbook/testing/integration/introduction/pubspec.yaml @@ -4,7 +4,7 @@ publish_to: none resolution: workspace environment: - sdk: ^3.11.0 + sdk: ^3.12.0-0 dependencies: flutter: diff --git a/examples/cookbook/testing/integration/profiling/pubspec.yaml b/examples/cookbook/testing/integration/profiling/pubspec.yaml index 3117c9620cb..f9171d89a0e 100644 --- a/examples/cookbook/testing/integration/profiling/pubspec.yaml +++ b/examples/cookbook/testing/integration/profiling/pubspec.yaml @@ -3,7 +3,7 @@ description: Integration test profiling examples. resolution: workspace environment: - sdk: ^3.11.0 + sdk: ^3.12.0-0 dependencies: flutter: diff --git a/examples/cookbook/testing/unit/counter_app/pubspec.yaml b/examples/cookbook/testing/unit/counter_app/pubspec.yaml index 00cfb02445c..a2ca8a4e70e 100644 --- a/examples/cookbook/testing/unit/counter_app/pubspec.yaml +++ b/examples/cookbook/testing/unit/counter_app/pubspec.yaml @@ -6,7 +6,7 @@ version: 1.0.0+1 resolution: workspace environment: - sdk: ^3.11.0 + sdk: ^3.12.0-0 dependencies: flutter: diff --git a/examples/cookbook/testing/unit/mocking/pubspec.yaml b/examples/cookbook/testing/unit/mocking/pubspec.yaml index 1df7c0a0ba6..add5eec47d3 100644 --- a/examples/cookbook/testing/unit/mocking/pubspec.yaml +++ b/examples/cookbook/testing/unit/mocking/pubspec.yaml @@ -3,7 +3,7 @@ description: Use the Mockito package to mimic the behavior of services for testi resolution: workspace environment: - sdk: ^3.11.0 + sdk: ^3.12.0-0 dependencies: flutter: diff --git a/examples/cookbook/testing/widget/finders/pubspec.yaml b/examples/cookbook/testing/widget/finders/pubspec.yaml index 463e61ce665..e687327c0a8 100644 --- a/examples/cookbook/testing/widget/finders/pubspec.yaml +++ b/examples/cookbook/testing/widget/finders/pubspec.yaml @@ -3,7 +3,7 @@ description: A new Flutter project. resolution: workspace environment: - sdk: ^3.11.0 + sdk: ^3.12.0-0 dependencies: flutter: diff --git a/examples/cookbook/testing/widget/introduction/pubspec.yaml b/examples/cookbook/testing/widget/introduction/pubspec.yaml index d5d3c4ecd0c..e5091fb3aef 100644 --- a/examples/cookbook/testing/widget/introduction/pubspec.yaml +++ b/examples/cookbook/testing/widget/introduction/pubspec.yaml @@ -3,7 +3,7 @@ description: Widget testing example snippets. resolution: workspace environment: - sdk: ^3.11.0 + sdk: ^3.12.0-0 dependencies: flutter: diff --git a/examples/cookbook/testing/widget/orientation_tests/pubspec.yaml b/examples/cookbook/testing/widget/orientation_tests/pubspec.yaml index 6f873bd68d2..6e0d01f487f 100644 --- a/examples/cookbook/testing/widget/orientation_tests/pubspec.yaml +++ b/examples/cookbook/testing/widget/orientation_tests/pubspec.yaml @@ -4,7 +4,7 @@ publish_to: none resolution: workspace environment: - sdk: ^3.11.0 + sdk: ^3.12.0-0 dependencies: flutter: diff --git a/examples/cookbook/testing/widget/scrolling/pubspec.yaml b/examples/cookbook/testing/widget/scrolling/pubspec.yaml index e5df2a05749..c5f706bbf0d 100644 --- a/examples/cookbook/testing/widget/scrolling/pubspec.yaml +++ b/examples/cookbook/testing/widget/scrolling/pubspec.yaml @@ -3,7 +3,7 @@ description: Scrollable widget testing. resolution: workspace environment: - sdk: ^3.11.0 + sdk: ^3.12.0-0 dependencies: flutter: diff --git a/examples/cookbook/testing/widget/tap_drag/pubspec.yaml b/examples/cookbook/testing/widget/tap_drag/pubspec.yaml index 0ae2f1e6ade..eba8d8f0683 100644 --- a/examples/cookbook/testing/widget/tap_drag/pubspec.yaml +++ b/examples/cookbook/testing/widget/tap_drag/pubspec.yaml @@ -3,7 +3,7 @@ description: Tap drag widget testing examples. resolution: workspace environment: - sdk: ^3.11.0 + sdk: ^3.12.0-0 dependencies: flutter: diff --git a/examples/data-and-backend/json/pubspec.yaml b/examples/data-and-backend/json/pubspec.yaml index dadd5faedb5..33fd38410b9 100644 --- a/examples/data-and-backend/json/pubspec.yaml +++ b/examples/data-and-backend/json/pubspec.yaml @@ -6,7 +6,7 @@ version: 1.0.0+1 resolution: workspace environment: - sdk: ^3.11.0 + sdk: ^3.12.0-0 dependencies: json_annotation: ^4.9.0 diff --git a/examples/deployment/obfuscate/pubspec.yaml b/examples/deployment/obfuscate/pubspec.yaml index 2eaa2f5b5ab..dd2624c1bc1 100644 --- a/examples/deployment/obfuscate/pubspec.yaml +++ b/examples/deployment/obfuscate/pubspec.yaml @@ -6,7 +6,7 @@ version: 1.0.0+1 resolution: workspace environment: - sdk: ^3.11.0 + sdk: ^3.12.0-0 dependencies: flutter: diff --git a/examples/fwe/birdle/pubspec.yaml b/examples/fwe/birdle/pubspec.yaml index 09999ff4de8..d2bebbbc06c 100644 --- a/examples/fwe/birdle/pubspec.yaml +++ b/examples/fwe/birdle/pubspec.yaml @@ -5,7 +5,7 @@ publish_to: none resolution: workspace environment: - sdk: ^3.11.0 + sdk: ^3.12.0-0 dependencies: flutter: diff --git a/examples/fwe/rolodex/pubspec.yaml b/examples/fwe/rolodex/pubspec.yaml index f3d34939328..016bf47e1ee 100644 --- a/examples/fwe/rolodex/pubspec.yaml +++ b/examples/fwe/rolodex/pubspec.yaml @@ -5,7 +5,7 @@ publish_to: none resolution: workspace environment: - sdk: ^3.11.0 + sdk: ^3.12.0-0 dependencies: flutter: diff --git a/examples/fwe/wikipedia_reader/pubspec.yaml b/examples/fwe/wikipedia_reader/pubspec.yaml index 3910df12408..30ee9cca222 100644 --- a/examples/fwe/wikipedia_reader/pubspec.yaml +++ b/examples/fwe/wikipedia_reader/pubspec.yaml @@ -5,7 +5,7 @@ publish_to: none resolution: workspace environment: - sdk: ^3.11.0 + sdk: ^3.12.0-0 dependencies: flutter: diff --git a/examples/get-started/flutter-for/android_devs/pubspec.yaml b/examples/get-started/flutter-for/android_devs/pubspec.yaml index d7571df7610..5231c574c7d 100644 --- a/examples/get-started/flutter-for/android_devs/pubspec.yaml +++ b/examples/get-started/flutter-for/android_devs/pubspec.yaml @@ -7,7 +7,7 @@ version: 1.0.0+1 resolution: workspace environment: - sdk: ^3.11.0 + sdk: ^3.12.0-0 dependencies: flutter: diff --git a/examples/get-started/flutter-for/declarative/pubspec.yaml b/examples/get-started/flutter-for/declarative/pubspec.yaml index 426207fca27..2a877d52961 100644 --- a/examples/get-started/flutter-for/declarative/pubspec.yaml +++ b/examples/get-started/flutter-for/declarative/pubspec.yaml @@ -6,7 +6,7 @@ version: 1.0.0+1 resolution: workspace environment: - sdk: ^3.11.0 + sdk: ^3.12.0-0 dependencies: flutter: diff --git a/examples/get-started/flutter-for/ios_devs/pubspec.yaml b/examples/get-started/flutter-for/ios_devs/pubspec.yaml index ff56336dac2..2ee9cfde830 100644 --- a/examples/get-started/flutter-for/ios_devs/pubspec.yaml +++ b/examples/get-started/flutter-for/ios_devs/pubspec.yaml @@ -6,7 +6,7 @@ version: 1.0.0+1 resolution: workspace environment: - sdk: ^3.11.0 + sdk: ^3.12.0-0 dependencies: flutter: diff --git a/examples/get-started/flutter-for/react_native_devs/my_widgets/pubspec.yaml b/examples/get-started/flutter-for/react_native_devs/my_widgets/pubspec.yaml index 2f17ed340ac..8e22875a2f0 100644 --- a/examples/get-started/flutter-for/react_native_devs/my_widgets/pubspec.yaml +++ b/examples/get-started/flutter-for/react_native_devs/my_widgets/pubspec.yaml @@ -4,4 +4,4 @@ version: 1.0.0 resolution: workspace environment: - sdk: ^3.11.0 + sdk: ^3.12.0-0 diff --git a/examples/get-started/flutter-for/react_native_devs/pubspec.yaml b/examples/get-started/flutter-for/react_native_devs/pubspec.yaml index 40e12dcbcde..50646cd015d 100644 --- a/examples/get-started/flutter-for/react_native_devs/pubspec.yaml +++ b/examples/get-started/flutter-for/react_native_devs/pubspec.yaml @@ -6,7 +6,7 @@ version: 1.0.0+1 resolution: workspace environment: - sdk: ^3.11.0 + sdk: ^3.12.0-0 workspace: - my_widgets diff --git a/examples/get-started/flutter-for/web_devs/pubspec.yaml b/examples/get-started/flutter-for/web_devs/pubspec.yaml index ecf0bcaa1cd..89841614102 100644 --- a/examples/get-started/flutter-for/web_devs/pubspec.yaml +++ b/examples/get-started/flutter-for/web_devs/pubspec.yaml @@ -6,7 +6,7 @@ version: 1.0.0+1 resolution: workspace environment: - sdk: ^3.11.0 + sdk: ^3.12.0-0 dependencies: flutter: diff --git a/examples/get-started/flutter-for/xamarin_devs/pubspec.yaml b/examples/get-started/flutter-for/xamarin_devs/pubspec.yaml index bf0c113be1c..a24b53af4dc 100644 --- a/examples/get-started/flutter-for/xamarin_devs/pubspec.yaml +++ b/examples/get-started/flutter-for/xamarin_devs/pubspec.yaml @@ -6,7 +6,7 @@ version: 1.0.0+1 resolution: workspace environment: - sdk: ^3.11.0 + sdk: ^3.12.0-0 dependencies: flutter: diff --git a/examples/googleapis/pubspec.yaml b/examples/googleapis/pubspec.yaml index 035d0e01c3d..25e5f3bfc97 100644 --- a/examples/googleapis/pubspec.yaml +++ b/examples/googleapis/pubspec.yaml @@ -3,7 +3,7 @@ publish_to: none resolution: workspace environment: - sdk: ^3.11.0 + sdk: ^3.12.0-0 dependencies: collection: any # Pull the version of package:collection from Flutter. diff --git a/examples/integration_test/pubspec.yaml b/examples/integration_test/pubspec.yaml index d6156628b43..bd96d3e8362 100644 --- a/examples/integration_test/pubspec.yaml +++ b/examples/integration_test/pubspec.yaml @@ -4,7 +4,7 @@ version: 0.0.1 resolution: workspace environment: - sdk: ^3.11.0 + sdk: ^3.12.0-0 dependencies: flutter: diff --git a/examples/integration_test_migration/pubspec.yaml b/examples/integration_test_migration/pubspec.yaml index 6015641ad9e..33ceb0759c2 100644 --- a/examples/integration_test_migration/pubspec.yaml +++ b/examples/integration_test_migration/pubspec.yaml @@ -6,7 +6,7 @@ version: 1.0.0+1 resolution: workspace environment: - sdk: ^3.11.0 + sdk: ^3.12.0-0 dependencies: flutter: diff --git a/examples/internationalization/add_language/pubspec.yaml b/examples/internationalization/add_language/pubspec.yaml index 0243772c466..f323ca80216 100644 --- a/examples/internationalization/add_language/pubspec.yaml +++ b/examples/internationalization/add_language/pubspec.yaml @@ -3,7 +3,7 @@ description: An i18n app example that adds a supported language resolution: workspace environment: - sdk: ^3.11.0 + sdk: ^3.12.0-0 dependencies: flutter: diff --git a/examples/internationalization/gen_l10n_example/pubspec.yaml b/examples/internationalization/gen_l10n_example/pubspec.yaml index f30b1e4d4a9..af3ec816f94 100644 --- a/examples/internationalization/gen_l10n_example/pubspec.yaml +++ b/examples/internationalization/gen_l10n_example/pubspec.yaml @@ -5,7 +5,7 @@ description: >- resolution: workspace environment: - sdk: ^3.11.0 + sdk: ^3.12.0-0 # #docregion flutter-localizations dependencies: diff --git a/examples/internationalization/intl_example/pubspec.yaml b/examples/internationalization/intl_example/pubspec.yaml index c267678a67c..d4d93df67be 100644 --- a/examples/internationalization/intl_example/pubspec.yaml +++ b/examples/internationalization/intl_example/pubspec.yaml @@ -3,7 +3,7 @@ description: Example of a Flutter app using the intl library services. resolution: workspace environment: - sdk: ^3.11.0 + sdk: ^3.12.0-0 dependencies: flutter: diff --git a/examples/internationalization/minimal/pubspec.yaml b/examples/internationalization/minimal/pubspec.yaml index eb845ff4f22..92814c098ad 100644 --- a/examples/internationalization/minimal/pubspec.yaml +++ b/examples/internationalization/minimal/pubspec.yaml @@ -3,7 +3,7 @@ description: A minimal example of a localized Flutter app resolution: workspace environment: - sdk: ^3.11.0 + sdk: ^3.12.0-0 dependencies: flutter: diff --git a/examples/layout/base/pubspec.yaml b/examples/layout/base/pubspec.yaml index e430dad6b40..d39f9b1e907 100644 --- a/examples/layout/base/pubspec.yaml +++ b/examples/layout/base/pubspec.yaml @@ -5,7 +5,7 @@ version: 1.0.0 resolution: workspace environment: - sdk: ^3.11.0 + sdk: ^3.12.0-0 dependencies: flutter: diff --git a/examples/layout/card_and_stack/pubspec.yaml b/examples/layout/card_and_stack/pubspec.yaml index f855ee91cdd..a3349e3d504 100644 --- a/examples/layout/card_and_stack/pubspec.yaml +++ b/examples/layout/card_and_stack/pubspec.yaml @@ -5,7 +5,7 @@ version: 1.0.0 resolution: workspace environment: - sdk: ^3.11.0 + sdk: ^3.12.0-0 dependencies: flutter: diff --git a/examples/layout/constraints/pubspec.yaml b/examples/layout/constraints/pubspec.yaml index 6df5d7b51af..1458d69ed89 100644 --- a/examples/layout/constraints/pubspec.yaml +++ b/examples/layout/constraints/pubspec.yaml @@ -4,7 +4,7 @@ version: 1.0.0 resolution: workspace environment: - sdk: ^3.11.0 + sdk: ^3.12.0-0 dependencies: flutter: diff --git a/examples/layout/container/pubspec.yaml b/examples/layout/container/pubspec.yaml index e7eaa85278d..6440de723f2 100644 --- a/examples/layout/container/pubspec.yaml +++ b/examples/layout/container/pubspec.yaml @@ -5,7 +5,7 @@ version: 1.0.0 resolution: workspace environment: - sdk: ^3.11.0 + sdk: ^3.12.0-0 dependencies: flutter: diff --git a/examples/layout/gallery/pubspec.yaml b/examples/layout/gallery/pubspec.yaml index 5e63b7e1611..8ef432185e8 100644 --- a/examples/layout/gallery/pubspec.yaml +++ b/examples/layout/gallery/pubspec.yaml @@ -6,7 +6,7 @@ version: 1.0.0 resolution: workspace environment: - sdk: ^3.11.0 + sdk: ^3.12.0-0 dependencies: animations: ^2.0.11 diff --git a/examples/layout/grid_and_list/pubspec.yaml b/examples/layout/grid_and_list/pubspec.yaml index 8e0179ee444..188cb3a7790 100644 --- a/examples/layout/grid_and_list/pubspec.yaml +++ b/examples/layout/grid_and_list/pubspec.yaml @@ -5,7 +5,7 @@ version: 1.0.0 resolution: workspace environment: - sdk: ^3.11.0 + sdk: ^3.12.0-0 dependencies: flutter: diff --git a/examples/layout/lakes/interactive/pubspec.yaml b/examples/layout/lakes/interactive/pubspec.yaml index 989669353aa..4e64643af2d 100644 --- a/examples/layout/lakes/interactive/pubspec.yaml +++ b/examples/layout/lakes/interactive/pubspec.yaml @@ -6,7 +6,7 @@ version: 1.0.0 resolution: workspace environment: - sdk: ^3.11.0 + sdk: ^3.12.0-0 dependencies: flutter: diff --git a/examples/layout/lakes/step2/pubspec.yaml b/examples/layout/lakes/step2/pubspec.yaml index ac5bdd470ad..9be1dba502c 100644 --- a/examples/layout/lakes/step2/pubspec.yaml +++ b/examples/layout/lakes/step2/pubspec.yaml @@ -5,7 +5,7 @@ version: 1.0.0 resolution: workspace environment: - sdk: ^3.11.0 + sdk: ^3.12.0-0 dependencies: flutter: diff --git a/examples/layout/lakes/step3/pubspec.yaml b/examples/layout/lakes/step3/pubspec.yaml index 0f6d17ddedb..0667a946fd3 100644 --- a/examples/layout/lakes/step3/pubspec.yaml +++ b/examples/layout/lakes/step3/pubspec.yaml @@ -5,7 +5,7 @@ version: 1.0.0 resolution: workspace environment: - sdk: ^3.11.0 + sdk: ^3.12.0-0 dependencies: flutter: diff --git a/examples/layout/lakes/step4/pubspec.yaml b/examples/layout/lakes/step4/pubspec.yaml index d331ae3b053..fa5a9542162 100644 --- a/examples/layout/lakes/step4/pubspec.yaml +++ b/examples/layout/lakes/step4/pubspec.yaml @@ -5,7 +5,7 @@ version: 1.0.0 resolution: workspace environment: - sdk: ^3.11.0 + sdk: ^3.12.0-0 dependencies: flutter: diff --git a/examples/layout/lakes/step5/pubspec.yaml b/examples/layout/lakes/step5/pubspec.yaml index ce0445c4af8..9e03d0d8b31 100644 --- a/examples/layout/lakes/step5/pubspec.yaml +++ b/examples/layout/lakes/step5/pubspec.yaml @@ -5,7 +5,7 @@ version: 1.0.0 resolution: workspace environment: - sdk: ^3.11.0 + sdk: ^3.12.0-0 dependencies: flutter: diff --git a/examples/layout/lakes/step6/pubspec.yaml b/examples/layout/lakes/step6/pubspec.yaml index 930535164b0..82c98a1c1e5 100644 --- a/examples/layout/lakes/step6/pubspec.yaml +++ b/examples/layout/lakes/step6/pubspec.yaml @@ -5,7 +5,7 @@ version: 1.0.0 resolution: workspace environment: - sdk: ^3.11.0 + sdk: ^3.12.0-0 dependencies: flutter: diff --git a/examples/layout/non_material/pubspec.yaml b/examples/layout/non_material/pubspec.yaml index 76d2b91d092..3fa2a4b2218 100644 --- a/examples/layout/non_material/pubspec.yaml +++ b/examples/layout/non_material/pubspec.yaml @@ -5,7 +5,7 @@ version: 1.0.0 resolution: workspace environment: - sdk: ^3.11.0 + sdk: ^3.12.0-0 dependencies: flutter: diff --git a/examples/layout/pavlova/pubspec.yaml b/examples/layout/pavlova/pubspec.yaml index e968a1a3069..291c2879ac2 100644 --- a/examples/layout/pavlova/pubspec.yaml +++ b/examples/layout/pavlova/pubspec.yaml @@ -5,7 +5,7 @@ version: 1.0.0 resolution: workspace environment: - sdk: ^3.11.0 + sdk: ^3.12.0-0 dependencies: flutter: diff --git a/examples/layout/row_column/pubspec.yaml b/examples/layout/row_column/pubspec.yaml index 97630e10955..1c0023aaf57 100644 --- a/examples/layout/row_column/pubspec.yaml +++ b/examples/layout/row_column/pubspec.yaml @@ -5,7 +5,7 @@ version: 1.0.0 resolution: workspace environment: - sdk: ^3.11.0 + sdk: ^3.12.0-0 dependencies: flutter: diff --git a/examples/layout/sizing/pubspec.yaml b/examples/layout/sizing/pubspec.yaml index 490a2aae360..5e3645dc37d 100644 --- a/examples/layout/sizing/pubspec.yaml +++ b/examples/layout/sizing/pubspec.yaml @@ -5,7 +5,7 @@ version: 1.0.0 resolution: workspace environment: - sdk: ^3.11.0 + sdk: ^3.12.0-0 dependencies: flutter: diff --git a/examples/perf/concurrency/isolates/pubspec.yaml b/examples/perf/concurrency/isolates/pubspec.yaml index 1765394076b..eb187c172a5 100644 --- a/examples/perf/concurrency/isolates/pubspec.yaml +++ b/examples/perf/concurrency/isolates/pubspec.yaml @@ -6,7 +6,7 @@ version: 1.0.0+1 resolution: workspace environment: - sdk: ^3.11.0 + sdk: ^3.12.0-0 dependencies: flutter: diff --git a/examples/perf/deferred_components/pubspec.yaml b/examples/perf/deferred_components/pubspec.yaml index 086db234988..03887415ab8 100644 --- a/examples/perf/deferred_components/pubspec.yaml +++ b/examples/perf/deferred_components/pubspec.yaml @@ -4,7 +4,7 @@ publish_to: none resolution: workspace environment: - sdk: ^3.11.0 + sdk: ^3.12.0-0 dependencies: flutter: diff --git a/examples/platform_integration/compose_activities/pubspec.yaml b/examples/platform_integration/compose_activities/pubspec.yaml index eff123fc1c8..af13b81e6e0 100644 --- a/examples/platform_integration/compose_activities/pubspec.yaml +++ b/examples/platform_integration/compose_activities/pubspec.yaml @@ -7,7 +7,7 @@ version: 1.0.0+1 resolution: workspace environment: - sdk: ^3.11.0 + sdk: ^3.12.0-0 dependencies: flutter: diff --git a/examples/platform_integration/pigeon/pubspec.yaml b/examples/platform_integration/pigeon/pubspec.yaml index 61bb624e334..30d2215a9ab 100644 --- a/examples/platform_integration/pigeon/pubspec.yaml +++ b/examples/platform_integration/pigeon/pubspec.yaml @@ -7,7 +7,7 @@ version: 1.0.0+1 resolution: workspace environment: - sdk: ^3.11.0 + sdk: ^3.12.0-0 dependencies: flutter: diff --git a/examples/platform_integration/platform_channels/pubspec.yaml b/examples/platform_integration/platform_channels/pubspec.yaml index e6c350f14bf..85f5f37306b 100644 --- a/examples/platform_integration/platform_channels/pubspec.yaml +++ b/examples/platform_integration/platform_channels/pubspec.yaml @@ -9,7 +9,7 @@ version: 1.0.0+1 resolution: workspace environment: - sdk: ^3.11.0 + sdk: ^3.12.0-0 dependencies: flutter: diff --git a/examples/platform_integration/platform_views/pubspec.yaml b/examples/platform_integration/platform_views/pubspec.yaml index f697fca2e28..c37f5028c35 100644 --- a/examples/platform_integration/platform_views/pubspec.yaml +++ b/examples/platform_integration/platform_views/pubspec.yaml @@ -7,7 +7,7 @@ version: 1.0.0+1 resolution: workspace environment: - sdk: ^3.11.0 + sdk: ^3.12.0-0 dependencies: flutter: diff --git a/examples/platform_integration/plugin_api_migration/pubspec.yaml b/examples/platform_integration/plugin_api_migration/pubspec.yaml index b7966e52536..b706b92d888 100644 --- a/examples/platform_integration/plugin_api_migration/pubspec.yaml +++ b/examples/platform_integration/plugin_api_migration/pubspec.yaml @@ -7,7 +7,7 @@ version: 1.0.0+1 resolution: workspace environment: - sdk: ^3.11.0 + sdk: ^3.12.0-0 dependencies: flutter: diff --git a/examples/pubspec.yaml b/examples/pubspec.yaml index cb57c6b650d..3c3dc5334eb 100644 --- a/examples/pubspec.yaml +++ b/examples/pubspec.yaml @@ -2,7 +2,7 @@ name: flutter_docs_examples publish_to: none environment: - sdk: ^3.11.0 + sdk: ^3.12.0-0 workspace: - _animation/basic_hero_animation diff --git a/examples/resources/architectural_overview/pubspec.yaml b/examples/resources/architectural_overview/pubspec.yaml index c598856dc0b..9b91f570aa1 100644 --- a/examples/resources/architectural_overview/pubspec.yaml +++ b/examples/resources/architectural_overview/pubspec.yaml @@ -4,7 +4,7 @@ publish_to: none resolution: workspace environment: - sdk: ^3.11.0 + sdk: ^3.12.0-0 dependencies: flutter: diff --git a/examples/resources/dart_swift_concurrency/pubspec.yaml b/examples/resources/dart_swift_concurrency/pubspec.yaml index 1f35a42ac39..000f248cc13 100644 --- a/examples/resources/dart_swift_concurrency/pubspec.yaml +++ b/examples/resources/dart_swift_concurrency/pubspec.yaml @@ -4,7 +4,7 @@ publish_to: none resolution: workspace environment: - sdk: ^3.11.0 + sdk: ^3.12.0-0 dependencies: flutter: diff --git a/examples/state_mgmt/simple/pubspec.yaml b/examples/state_mgmt/simple/pubspec.yaml index 294557d15a7..de65b891663 100644 --- a/examples/state_mgmt/simple/pubspec.yaml +++ b/examples/state_mgmt/simple/pubspec.yaml @@ -4,7 +4,7 @@ publish_to: none resolution: workspace environment: - sdk: ^3.11.0 + sdk: ^3.12.0-0 dependencies: flutter: diff --git a/examples/testing/code_debugging/pubspec.yaml b/examples/testing/code_debugging/pubspec.yaml index a834e893a84..1ba0443f87e 100644 --- a/examples/testing/code_debugging/pubspec.yaml +++ b/examples/testing/code_debugging/pubspec.yaml @@ -4,7 +4,7 @@ publish_to: none resolution: workspace environment: - sdk: ^3.11.0 + sdk: ^3.12.0-0 dependencies: flutter: diff --git a/examples/testing/common_errors/pubspec.yaml b/examples/testing/common_errors/pubspec.yaml index ef32a56a216..fc3f83df0cb 100644 --- a/examples/testing/common_errors/pubspec.yaml +++ b/examples/testing/common_errors/pubspec.yaml @@ -4,7 +4,7 @@ publish_to: none resolution: workspace environment: - sdk: ^3.11.0 + sdk: ^3.12.0-0 dependencies: flutter: diff --git a/examples/testing/errors/lib/excerpts.dart b/examples/testing/errors/lib/excerpts.dart index 98468ddb948..1487c3e7f9f 100644 --- a/examples/testing/errors/lib/excerpts.dart +++ b/examples/testing/errors/lib/excerpts.dart @@ -1,6 +1,6 @@ // ignore_for_file: directives_ordering -import './backend.dart'; +import 'backend.dart'; import 'package:flutter/services.dart'; diff --git a/examples/testing/errors/lib/main.dart b/examples/testing/errors/lib/main.dart index 3b11a024da1..2cc2ea82deb 100644 --- a/examples/testing/errors/lib/main.dart +++ b/examples/testing/errors/lib/main.dart @@ -1,6 +1,6 @@ // ignore_for_file: directives_ordering -import './error_handler.dart'; +import 'error_handler.dart'; // #docregion all-errors import 'package:flutter/material.dart'; import 'dart:ui'; diff --git a/examples/testing/errors/lib/quit_immediate.dart b/examples/testing/errors/lib/quit_immediate.dart index 231093d1984..e3da9751b5f 100644 --- a/examples/testing/errors/lib/quit_immediate.dart +++ b/examples/testing/errors/lib/quit_immediate.dart @@ -1,6 +1,6 @@ // ignore_for_file: directives_ordering -import './my_app.dart'; +import 'my_app.dart'; // #docregion on-error-main import 'dart:io'; diff --git a/examples/testing/errors/pubspec.yaml b/examples/testing/errors/pubspec.yaml index 54cd00fc0f0..619ddeaaae9 100644 --- a/examples/testing/errors/pubspec.yaml +++ b/examples/testing/errors/pubspec.yaml @@ -4,7 +4,7 @@ publish_to: none resolution: workspace environment: - sdk: ^3.11.0 + sdk: ^3.12.0-0 dependencies: flutter: diff --git a/examples/testing/integration_tests/how_to/pubspec.yaml b/examples/testing/integration_tests/how_to/pubspec.yaml index 61c34c4669e..557ba3a9ba2 100644 --- a/examples/testing/integration_tests/how_to/pubspec.yaml +++ b/examples/testing/integration_tests/how_to/pubspec.yaml @@ -4,7 +4,7 @@ publish_to: none resolution: workspace environment: - sdk: ^3.11.0 + sdk: ^3.12.0-0 dependencies: flutter: diff --git a/examples/testing/native_debugging/pubspec.yaml b/examples/testing/native_debugging/pubspec.yaml index 6483cd8472b..5343869dfe2 100644 --- a/examples/testing/native_debugging/pubspec.yaml +++ b/examples/testing/native_debugging/pubspec.yaml @@ -5,7 +5,7 @@ version: 1.0.0+1 resolution: workspace environment: - sdk: ^3.11.0 + sdk: ^3.12.0-0 dependencies: flutter: diff --git a/examples/tools/pubspec.yaml b/examples/tools/pubspec.yaml index f4484444073..e847e0e8c31 100644 --- a/examples/tools/pubspec.yaml +++ b/examples/tools/pubspec.yaml @@ -7,7 +7,7 @@ version: 1.0.0+1 resolution: workspace environment: - sdk: ^3.11.0 + sdk: ^3.12.0-0 dependencies: flutter: diff --git a/examples/ui/actions_and_shortcuts/pubspec.yaml b/examples/ui/actions_and_shortcuts/pubspec.yaml index e373510d40a..05efe01e950 100644 --- a/examples/ui/actions_and_shortcuts/pubspec.yaml +++ b/examples/ui/actions_and_shortcuts/pubspec.yaml @@ -4,7 +4,7 @@ publish_to: none resolution: workspace environment: - sdk: ^3.11.0 + sdk: ^3.12.0-0 dependencies: flutter: diff --git a/examples/ui/adaptive_app_demos/pubspec.yaml b/examples/ui/adaptive_app_demos/pubspec.yaml index 7a466a4e1de..fa03b2e129d 100644 --- a/examples/ui/adaptive_app_demos/pubspec.yaml +++ b/examples/ui/adaptive_app_demos/pubspec.yaml @@ -4,7 +4,7 @@ publish_to: none resolution: workspace environment: - sdk: ^3.11.0 + sdk: ^3.12.0-0 dependencies: flutter: diff --git a/examples/ui/assets_and_images/pubspec.yaml b/examples/ui/assets_and_images/pubspec.yaml index 31e8cc3542b..b41396a6e1f 100644 --- a/examples/ui/assets_and_images/pubspec.yaml +++ b/examples/ui/assets_and_images/pubspec.yaml @@ -4,7 +4,7 @@ publish_to: none resolution: workspace environment: - sdk: ^3.11.0 + sdk: ^3.12.0-0 dependencies: flutter: diff --git a/examples/ui/focus/pubspec.yaml b/examples/ui/focus/pubspec.yaml index 2c134233514..a2cc7789f1c 100644 --- a/examples/ui/focus/pubspec.yaml +++ b/examples/ui/focus/pubspec.yaml @@ -4,7 +4,7 @@ publish_to: none resolution: workspace environment: - sdk: ^3.11.0 + sdk: ^3.12.0-0 dependencies: flutter: diff --git a/examples/ui/interactive/pubspec.yaml b/examples/ui/interactive/pubspec.yaml index 65d4a388d0d..fc52dbc79e8 100644 --- a/examples/ui/interactive/pubspec.yaml +++ b/examples/ui/interactive/pubspec.yaml @@ -3,7 +3,7 @@ description: Sample code for interactive.md resolution: workspace environment: - sdk: ^3.11.0 + sdk: ^3.12.0-0 dependencies: flutter: diff --git a/examples/ui/navigation/pubspec.yaml b/examples/ui/navigation/pubspec.yaml index 442d5d683f9..6c33618229e 100644 --- a/examples/ui/navigation/pubspec.yaml +++ b/examples/ui/navigation/pubspec.yaml @@ -4,7 +4,7 @@ publish_to: none resolution: workspace environment: - sdk: ^3.11.0 + sdk: ^3.12.0-0 dependencies: flutter: diff --git a/examples/ui/widgets_intro/pubspec.yaml b/examples/ui/widgets_intro/pubspec.yaml index 3fd65854b98..35c9b754336 100644 --- a/examples/ui/widgets_intro/pubspec.yaml +++ b/examples/ui/widgets_intro/pubspec.yaml @@ -4,7 +4,7 @@ publish_to: none resolution: workspace environment: - sdk: ^3.11.0 + sdk: ^3.12.0-0 dependencies: flutter: diff --git a/examples/visual_debugging/pubspec.yaml b/examples/visual_debugging/pubspec.yaml index 73c889985eb..f124c4eed07 100644 --- a/examples/visual_debugging/pubspec.yaml +++ b/examples/visual_debugging/pubspec.yaml @@ -4,7 +4,7 @@ description: Examples of visual debugging. resolution: workspace environment: - sdk: ^3.11.0 + sdk: ^3.12.0-0 dependencies: flutter: diff --git a/packages/analysis_defaults/pubspec.yaml b/packages/analysis_defaults/pubspec.yaml index bbf8f5f2e21..27177f7e1d6 100644 --- a/packages/analysis_defaults/pubspec.yaml +++ b/packages/analysis_defaults/pubspec.yaml @@ -4,7 +4,7 @@ publish_to: none resolution: workspace environment: - sdk: ^3.11.0 + sdk: ^3.12.0-0 # NOTE: Code isn't allowed in this package. # Don't add dependencies besides the underlying lints package. diff --git a/packages/excerpter/pubspec.yaml b/packages/excerpter/pubspec.yaml index 9c4208deabf..c4b58ccd692 100644 --- a/packages/excerpter/pubspec.yaml +++ b/packages/excerpter/pubspec.yaml @@ -5,7 +5,7 @@ publish_to: none resolution: workspace environment: - sdk: ^3.11.0 + sdk: ^3.12.0-0 dependencies: args: ^2.6.0 diff --git a/pubspec.yaml b/pubspec.yaml index 22ccee33cb9..a3d2f1b3e23 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -4,7 +4,7 @@ description: >- publish_to: none environment: - sdk: ^3.11.0 + sdk: ^3.12.0-0 workspace: - packages/analysis_defaults diff --git a/sites/docs/lib/src/components/dartpad/embedded_dartpad.dart b/sites/docs/lib/src/components/dartpad/embedded_dartpad.dart index 6158fe48677..1aa7b0d3e88 100644 --- a/sites/docs/lib/src/components/dartpad/embedded_dartpad.dart +++ b/sites/docs/lib/src/components/dartpad/embedded_dartpad.dart @@ -27,12 +27,12 @@ final class EmbeddedDartPad extends StatefulComponent { final String code; /// Creates an embedded DartPad instance with - /// the specified [iframeId] and [iframeUrl]. + /// the specified [iframeId] and [_iframeUrl]. EmbeddedDartPad._({ required this.iframeId, - required String iframeUrl, + required this._iframeUrl, required this.code, - }) : _iframeUrl = iframeUrl; + }); /// Creates a new embedded DartPad element with the specified configuration. /// diff --git a/sites/docs/pubspec.yaml b/sites/docs/pubspec.yaml index 040d7ad96c3..082ea54709b 100644 --- a/sites/docs/pubspec.yaml +++ b/sites/docs/pubspec.yaml @@ -4,7 +4,7 @@ homepage: https://docs.flutter.dev resolution: workspace environment: - sdk: ^3.11.0 + sdk: ^3.12.0-0 dependencies: build: ^4.0.6 diff --git a/sites/docs/src/content/app-architecture/design-patterns/sql.md b/sites/docs/src/content/app-architecture/design-patterns/sql.md index 012d61a3de8..f205946e62b 100644 --- a/sites/docs/src/content/app-architecture/design-patterns/sql.md +++ b/sites/docs/src/content/app-architecture/design-patterns/sql.md @@ -277,7 +277,7 @@ It implements the `fetchTodos()`, `createTodo()`, and `deleteTodo()` methods. ```dart class TodoRepository { - TodoRepository({required DatabaseService database}) : _database = database; + TodoRepository({required this._database}); final DatabaseService _database; diff --git a/sites/docs/src/content/cookbook/effects/download-button.md b/sites/docs/src/content/cookbook/effects/download-button.md index f8e4a5c7ad8..bc0354e614e 100644 --- a/sites/docs/src/content/cookbook/effects/download-button.md +++ b/sites/docs/src/content/cookbook/effects/download-button.md @@ -593,12 +593,10 @@ abstract class DownloadController implements ChangeNotifier { class SimulatedDownloadController extends DownloadController with ChangeNotifier { SimulatedDownloadController({ - DownloadStatus downloadStatus = DownloadStatus.notDownloaded, - double progress = 0.0, - required VoidCallback onOpenDownload, - }) : _downloadStatus = downloadStatus, - _progress = progress, - _onOpenDownload = onOpenDownload; + this._downloadStatus = DownloadStatus.notDownloaded, + this._progress = 0.0, + required this._onOpenDownload, + }); DownloadStatus _downloadStatus; @override diff --git a/sites/docs/src/content/cookbook/effects/parallax-scrolling.md b/sites/docs/src/content/cookbook/effects/parallax-scrolling.md index 8a17ccda1cc..49075e7a09b 100644 --- a/sites/docs/src/content/cookbook/effects/parallax-scrolling.md +++ b/sites/docs/src/content/cookbook/effects/parallax-scrolling.md @@ -776,8 +776,7 @@ class ParallaxParentData extends ContainerBoxParentData {} class RenderParallax extends RenderBox with RenderObjectWithChildMixin, RenderProxyBoxMixin { - RenderParallax({required ScrollableState scrollable}) - : _scrollable = scrollable; + RenderParallax({required this._scrollable}); ScrollableState _scrollable; diff --git a/sites/docs/src/content/tools/pubspec.md b/sites/docs/src/content/tools/pubspec.md index 958827fccc6..16f5c9aa376 100644 --- a/sites/docs/src/content/tools/pubspec.md +++ b/sites/docs/src/content/tools/pubspec.md @@ -63,7 +63,7 @@ publish_to: none version: 1.0.0+1 environment: - sdk: ^3.11.0 + sdk: ^3.12.0 dependencies: [!flutter:!] # Required for every Flutter project diff --git a/sites/docs/src/data/site.yml b/sites/docs/src/data/site.yml index f0b17a38e6e..081f1370086 100644 --- a/sites/docs/src/data/site.yml +++ b/sites/docs/src/data/site.yml @@ -58,7 +58,7 @@ yt: watch: 'https://www.youtube.com/watch' playlist: 'https://www.youtube.com/playlist?list=' -currentFlutterVersion: '3.41.5' +currentFlutterVersion: '3.44.0' # Settings for Jaspr. diff --git a/tool/dash_site/pubspec.yaml b/tool/dash_site/pubspec.yaml index 8ebe90d7d2d..1907d314d1c 100644 --- a/tool/dash_site/pubspec.yaml +++ b/tool/dash_site/pubspec.yaml @@ -4,7 +4,7 @@ publish_to: none resolution: workspace environment: - sdk: ^3.11.0 + sdk: ^3.12.0-0 dependencies: args: ^2.7.0