From a858f4701ee4f5c6e645080d2a7eaf1005fd4743 Mon Sep 17 00:00:00 2001 From: Kevin Moore Date: Tue, 14 May 2024 22:33:41 -0700 Subject: [PATCH] Bump deps and min SDKs, move web apps to new bootstrapping logic (#2292) Also removed the web measurement experiment from the material 3 demo --- .../flutter_module_using_plugin/pubspec.yaml | 2 +- .../books/flutter_module_books/pubspec.yaml | 2 +- .../fullscreen/flutter_module/pubspec.yaml | 2 +- .../multiple_flutters_module/pubspec.yaml | 2 +- .../flutter_module_using_plugin/pubspec.yaml | 2 +- .../flutter_module/pubspec.yaml | 2 +- ai_recipe_generation/pubspec.yaml | 4 +-- ai_recipe_generation/web/index.html | 23 +------------- analysis_defaults/pubspec.yaml | 2 +- android_splash_screen/pubspec.yaml | 2 +- animations/pubspec.yaml | 2 +- animations/web/index.html | 23 +------------- .../grayscale_transformer/pubspec.yaml | 4 +-- asset_transformation/pubspec.yaml | 4 +-- background_isolate_channels/pubspec.yaml | 2 +- code_sharing/client/pubspec.yaml | 2 +- code_sharing/client/web/index.html | 23 +------------- code_sharing/server/pubspec.yaml | 2 +- code_sharing/shared/pubspec.yaml | 2 +- context_menus/pubspec.yaml | 2 +- context_menus/web/index.html | 23 +------------- deeplink_store_example/pubspec.yaml | 2 +- deeplink_store_example/web/index.html | 23 +------------- desktop_photo_search/fluent_ui/pubspec.yaml | 2 +- desktop_photo_search/material/pubspec.yaml | 2 +- dynamic_theme/pubspec.yaml | 4 +-- dynamic_theme/web/index.html | 23 +------------- .../federated_plugin/example/pubspec.yaml | 2 +- .../federated_plugin/pubspec.yaml | 2 +- .../federated_plugin_macos/pubspec.yaml | 2 +- .../pubspec.yaml | 2 +- .../federated_plugin_web/pubspec.yaml | 2 +- .../federated_plugin_windows/pubspec.yaml | 2 +- experimental/linting_tool/pubspec.yaml | 2 +- experimental/pedometer/example/pubspec.yaml | 2 +- experimental/pedometer/pubspec.yaml | 2 +- .../varfont_shader_puzzle/pubspec.yaml | 2 +- experimental/web_dashboard/pubspec.yaml | 2 +- flutter_maps_firestore/pubspec.yaml | 2 +- form_app/pubspec.yaml | 2 +- form_app/web/index.html | 23 +------------- game_template/pubspec.yaml | 2 +- game_template/web/index.html | 22 +------------ gemini_tasks/pubspec.yaml | 4 +-- gemini_tasks/web/index.html | 23 +------------- google_maps/pubspec.yaml | 2 +- google_maps/web/index.html | 22 +------------ infinite_list/pubspec.yaml | 2 +- infinite_list/web/index.html | 23 +------------- ios_app_clip/pubspec.yaml | 2 +- isolate_example/pubspec.yaml | 2 +- material_3_demo/.gitignore | 3 -- material_3_demo/lib/main.dart | 23 +------------- material_3_demo/pubspec.yaml | 2 -- material_3_demo/web/index.html | 31 +------------------ navigation_and_routing/pubspec.yaml | 2 +- navigation_and_routing/web/index.html | 23 +------------- place_tracker/pubspec.yaml | 2 +- place_tracker/web/index.html | 23 +------------- platform_channels/pubspec.yaml | 2 +- platform_design/pubspec.yaml | 2 +- platform_design/web/index.html | 23 +------------- platform_view_swift/pubspec.yaml | 2 +- provider_counter/pubspec.yaml | 2 +- provider_counter/web/index.html | 22 +------------ provider_shopper/pubspec.yaml | 2 +- provider_shopper/web/index.html | 23 +------------- simple_shader/pubspec.yaml | 2 +- simple_shader/web/index.html | 22 +------------ simplistic_calculator/pubspec.yaml | 2 +- simplistic_calculator/web/index.html | 22 +------------ simplistic_editor/pubspec.yaml | 2 +- simplistic_editor/web/index.html | 22 +------------ testing_app/pubspec.yaml | 2 +- testing_app/web/index.html | 22 +------------ veggieseasons/pubspec.yaml | 2 +- .../example/lib/main.dart | 2 ++ .../web_startup_analyzer/example/pubspec.yaml | 4 +-- .../web_startup_analyzer/pubspec.yaml | 4 +-- web/_tool/pubspec.yaml | 2 +- web/samples_index/pubspec.yaml | 2 +- .../element_embedding_demo/pubspec.yaml | 2 +- web_embedding/ng-flutter/flutter/pubspec.yaml | 4 +-- 83 files changed, 90 insertions(+), 556 deletions(-) diff --git a/add_to_app/android_view/flutter_module_using_plugin/pubspec.yaml b/add_to_app/android_view/flutter_module_using_plugin/pubspec.yaml index cda156e03..9953baaca 100644 --- a/add_to_app/android_view/flutter_module_using_plugin/pubspec.yaml +++ b/add_to_app/android_view/flutter_module_using_plugin/pubspec.yaml @@ -4,7 +4,7 @@ description: An example Flutter module that uses a plugin. version: 1.0.0+1 environment: - sdk: ^3.3.1 + sdk: ^3.4.0-0 dependencies: flutter: diff --git a/add_to_app/books/flutter_module_books/pubspec.yaml b/add_to_app/books/flutter_module_books/pubspec.yaml index 88181a887..9c971d55d 100644 --- a/add_to_app/books/flutter_module_books/pubspec.yaml +++ b/add_to_app/books/flutter_module_books/pubspec.yaml @@ -6,7 +6,7 @@ description: A Flutter module using the Pigeon package to demonstrate version: 1.0.0+1 environment: - sdk: ^3.3.1 + sdk: ^3.4.0-0 dependencies: flutter: diff --git a/add_to_app/fullscreen/flutter_module/pubspec.yaml b/add_to_app/fullscreen/flutter_module/pubspec.yaml index 9b67c9e70..47e3c8a41 100644 --- a/add_to_app/fullscreen/flutter_module/pubspec.yaml +++ b/add_to_app/fullscreen/flutter_module/pubspec.yaml @@ -4,7 +4,7 @@ description: An example Flutter module. version: 1.0.0+1 environment: - sdk: ^3.3.1 + sdk: ^3.4.0-0 dependencies: flutter: diff --git a/add_to_app/multiple_flutters/multiple_flutters_module/pubspec.yaml b/add_to_app/multiple_flutters/multiple_flutters_module/pubspec.yaml index 89b4187a7..1024680a4 100644 --- a/add_to_app/multiple_flutters/multiple_flutters_module/pubspec.yaml +++ b/add_to_app/multiple_flutters/multiple_flutters_module/pubspec.yaml @@ -4,7 +4,7 @@ description: A module that is embedded in the multiple_flutters_ios and multiple version: 1.0.0+1 environment: - sdk: ^3.3.1 + sdk: ^3.4.0-0 dependencies: flutter: diff --git a/add_to_app/plugin/flutter_module_using_plugin/pubspec.yaml b/add_to_app/plugin/flutter_module_using_plugin/pubspec.yaml index f0e6bb160..201d1f218 100644 --- a/add_to_app/plugin/flutter_module_using_plugin/pubspec.yaml +++ b/add_to_app/plugin/flutter_module_using_plugin/pubspec.yaml @@ -4,7 +4,7 @@ description: An example Flutter module that uses a plugin. version: 1.0.0+1 environment: - sdk: ^3.3.1 + sdk: ^3.4.0-0 dependencies: flutter: diff --git a/add_to_app/prebuilt_module/flutter_module/pubspec.yaml b/add_to_app/prebuilt_module/flutter_module/pubspec.yaml index 9b67c9e70..47e3c8a41 100644 --- a/add_to_app/prebuilt_module/flutter_module/pubspec.yaml +++ b/add_to_app/prebuilt_module/flutter_module/pubspec.yaml @@ -4,7 +4,7 @@ description: An example Flutter module. version: 1.0.0+1 environment: - sdk: ^3.3.1 + sdk: ^3.4.0-0 dependencies: flutter: diff --git a/ai_recipe_generation/pubspec.yaml b/ai_recipe_generation/pubspec.yaml index 618a211fd..eb924cbfa 100644 --- a/ai_recipe_generation/pubspec.yaml +++ b/ai_recipe_generation/pubspec.yaml @@ -4,7 +4,7 @@ publish_to: 'none' version: 0.1.0 environment: - sdk: '>=3.2.3 <4.0.0' + sdk: ^3.4.0-0 dependencies: async: ^2.11.0 @@ -18,7 +18,7 @@ dependencies: flutter_markdown: ^0.6.20 flutter_svg: ^2.0.9 google_fonts: 6.1.0 - google_generative_ai: ^0.2.0 + google_generative_ai: ^0.4.0 image_picker: ^1.0.7 material_symbols_icons: ^4.2719.1 path: ^1.9.0 diff --git a/ai_recipe_generation/web/index.html b/ai_recipe_generation/web/index.html index 9a17746ee..52540c77e 100644 --- a/ai_recipe_generation/web/index.html +++ b/ai_recipe_generation/web/index.html @@ -31,29 +31,8 @@ gemini_io_talk - - - - - + diff --git a/analysis_defaults/pubspec.yaml b/analysis_defaults/pubspec.yaml index 4cc71eb21..2db9b63a4 100644 --- a/analysis_defaults/pubspec.yaml +++ b/analysis_defaults/pubspec.yaml @@ -3,7 +3,7 @@ description: Analysis defaults for flutter/samples publish_to: none environment: - sdk: ^3.3.1 + sdk: ^3.4.0-0 # NOTE: Code is not allowed in this package. Do not add more dependencies. # The `flutter_lints` dependency is required for `lib/flutter.yaml`. diff --git a/android_splash_screen/pubspec.yaml b/android_splash_screen/pubspec.yaml index 23a14c721..25488196c 100644 --- a/android_splash_screen/pubspec.yaml +++ b/android_splash_screen/pubspec.yaml @@ -6,7 +6,7 @@ publish_to: "none" version: 1.0.0+1 environment: - sdk: ^3.3.1 + sdk: ^3.4.0-0 dependencies: flutter: diff --git a/animations/pubspec.yaml b/animations/pubspec.yaml index fc904b5fe..7bfef93a6 100644 --- a/animations/pubspec.yaml +++ b/animations/pubspec.yaml @@ -4,7 +4,7 @@ version: 1.0.0+1 publish_to: none environment: - sdk: ^3.3.1 + sdk: ^3.4.0-0 dependencies: flutter: diff --git a/animations/web/index.html b/animations/web/index.html index b8baf22d1..f3b38c993 100644 --- a/animations/web/index.html +++ b/animations/web/index.html @@ -31,29 +31,8 @@ animations - - - - - + diff --git a/asset_transformation/grayscale_transformer/pubspec.yaml b/asset_transformation/grayscale_transformer/pubspec.yaml index aaa911327..9d1ca48fc 100644 --- a/asset_transformation/grayscale_transformer/pubspec.yaml +++ b/asset_transformation/grayscale_transformer/pubspec.yaml @@ -3,12 +3,12 @@ description: A sample command-line application. version: 1.0.0 environment: - sdk: ^3.3.1 + sdk: ^3.4.0-0 dependencies: args: ^2.4.2 image: ^4.1.7 dev_dependencies: - lints: ^3.0.0 + lints: ^4.0.0 test: ^1.24.0 diff --git a/asset_transformation/pubspec.yaml b/asset_transformation/pubspec.yaml index bcfb208c9..eca8f5b15 100644 --- a/asset_transformation/pubspec.yaml +++ b/asset_transformation/pubspec.yaml @@ -4,7 +4,7 @@ publish_to: 'none' version: 0.1.0 environment: - sdk: ^3.3.1 + sdk: ^3.4.0-0 dependencies: flutter: @@ -14,7 +14,7 @@ dependencies: dev_dependencies: flutter_test: sdk: flutter - flutter_lints: ^3.0.0 + flutter_lints: ^4.0.0 vector_graphics_compiler: ^1.1.11+1 grayscale_transformer: path: ./grayscale_transformer diff --git a/background_isolate_channels/pubspec.yaml b/background_isolate_channels/pubspec.yaml index 9fe43bec6..d05d5aa23 100644 --- a/background_isolate_channels/pubspec.yaml +++ b/background_isolate_channels/pubspec.yaml @@ -6,7 +6,7 @@ publish_to: 'none' # Remove this line if you wish to publish to pub.dev version: 1.0.0+1 environment: - sdk: ^3.3.1 + sdk: ^3.4.0-0 dependencies: cupertino_icons: ^1.0.2 diff --git a/code_sharing/client/pubspec.yaml b/code_sharing/client/pubspec.yaml index 7c2f58fc6..d6142211b 100644 --- a/code_sharing/client/pubspec.yaml +++ b/code_sharing/client/pubspec.yaml @@ -4,7 +4,7 @@ publish_to: "none" version: 1.0.0+1 environment: - sdk: ^3.3.1 + sdk: ^3.4.0-0 dependencies: cupertino_icons: ^1.0.2 diff --git a/code_sharing/client/web/index.html b/code_sharing/client/web/index.html index ddafccc76..815fbaca1 100644 --- a/code_sharing/client/web/index.html +++ b/code_sharing/client/web/index.html @@ -31,29 +31,8 @@ client - - - - - + diff --git a/code_sharing/server/pubspec.yaml b/code_sharing/server/pubspec.yaml index dde88039d..9cd3eaa54 100644 --- a/code_sharing/server/pubspec.yaml +++ b/code_sharing/server/pubspec.yaml @@ -4,7 +4,7 @@ version: 1.0.0 publish_to: "none" environment: - sdk: ^3.3.1 + sdk: ^3.4.0-0 dependencies: args: ^2.0.0 diff --git a/code_sharing/shared/pubspec.yaml b/code_sharing/shared/pubspec.yaml index 0bccdaf0e..5db4e6ee4 100644 --- a/code_sharing/shared/pubspec.yaml +++ b/code_sharing/shared/pubspec.yaml @@ -3,7 +3,7 @@ description: Common data models required by our client and server version: 1.0.0 environment: - sdk: ^3.3.1 + sdk: ^3.4.0-0 dependencies: freezed_annotation: ^2.1.0 diff --git a/context_menus/pubspec.yaml b/context_menus/pubspec.yaml index 8e1c01b43..a6d6a7b3c 100644 --- a/context_menus/pubspec.yaml +++ b/context_menus/pubspec.yaml @@ -20,7 +20,7 @@ publish_to: 'none' # Remove this line if you wish to publish to pub.dev version: 1.0.0+1 environment: - sdk: ^3.3.1 + sdk: ^3.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/context_menus/web/index.html b/context_menus/web/index.html index a29750b2c..58cbba07f 100644 --- a/context_menus/web/index.html +++ b/context_menus/web/index.html @@ -31,29 +31,8 @@ context_menus - - - - - + diff --git a/deeplink_store_example/pubspec.yaml b/deeplink_store_example/pubspec.yaml index a8c1525af..4b84a9c1b 100644 --- a/deeplink_store_example/pubspec.yaml +++ b/deeplink_store_example/pubspec.yaml @@ -19,7 +19,7 @@ publish_to: 'none' # Remove this line if you wish to publish to pub.dev version: 1.0.0+1 environment: - sdk: ^3.3.1 + sdk: ^3.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/deeplink_store_example/web/index.html b/deeplink_store_example/web/index.html index 7dce594f0..3be81e88f 100644 --- a/deeplink_store_example/web/index.html +++ b/deeplink_store_example/web/index.html @@ -31,29 +31,8 @@ deeplink_store_example - - - - - + diff --git a/desktop_photo_search/fluent_ui/pubspec.yaml b/desktop_photo_search/fluent_ui/pubspec.yaml index dc24e373b..84d604212 100644 --- a/desktop_photo_search/fluent_ui/pubspec.yaml +++ b/desktop_photo_search/fluent_ui/pubspec.yaml @@ -4,7 +4,7 @@ publish_to: 'none' version: 1.0.0+1 environment: - sdk: ^3.3.1 + sdk: ^3.4.0-0 dependencies: built_collection: ^5.1.1 diff --git a/desktop_photo_search/material/pubspec.yaml b/desktop_photo_search/material/pubspec.yaml index 1da066fa6..72aeaa82a 100644 --- a/desktop_photo_search/material/pubspec.yaml +++ b/desktop_photo_search/material/pubspec.yaml @@ -4,7 +4,7 @@ publish_to: 'none' version: 1.0.0+1 environment: - sdk: ^3.3.1 + sdk: ^3.4.0-0 dependencies: built_collection: ^5.1.1 diff --git a/dynamic_theme/pubspec.yaml b/dynamic_theme/pubspec.yaml index ac67b7ed4..4a3368180 100644 --- a/dynamic_theme/pubspec.yaml +++ b/dynamic_theme/pubspec.yaml @@ -9,13 +9,13 @@ dependencies: flutter: sdk: flutter flutter_markdown: ^0.7.1 - google_generative_ai: ^0.3.3 + google_generative_ai: ^0.4.0 url_launcher: ^6.2.6 dev_dependencies: flutter_test: sdk: flutter - flutter_lints: ^3.0.0 + flutter_lints: ^4.0.0 flutter: uses-material-design: true diff --git a/dynamic_theme/web/index.html b/dynamic_theme/web/index.html index 8e7029970..1c69283a5 100644 --- a/dynamic_theme/web/index.html +++ b/dynamic_theme/web/index.html @@ -31,29 +31,8 @@ dynamic_theme - - - - - + diff --git a/experimental/federated_plugin/federated_plugin/example/pubspec.yaml b/experimental/federated_plugin/federated_plugin/example/pubspec.yaml index 8667f8ecc..e4ebde621 100644 --- a/experimental/federated_plugin/federated_plugin/example/pubspec.yaml +++ b/experimental/federated_plugin/federated_plugin/example/pubspec.yaml @@ -4,7 +4,7 @@ description: Demonstrates how to use the federated_plugin plugin. publish_to: 'none' # Remove this line if you wish to publish to pub.dev environment: - sdk: ^3.3.1 + sdk: ^3.4.0-0 dependencies: flutter: diff --git a/experimental/federated_plugin/federated_plugin/pubspec.yaml b/experimental/federated_plugin/federated_plugin/pubspec.yaml index fe349f549..2629f51e4 100644 --- a/experimental/federated_plugin/federated_plugin/pubspec.yaml +++ b/experimental/federated_plugin/federated_plugin/pubspec.yaml @@ -5,7 +5,7 @@ version: 0.0.1 publish_to: "none" environment: - sdk: ^3.3.1 + sdk: ^3.4.0-0 dependencies: flutter: diff --git a/experimental/federated_plugin/federated_plugin_macos/pubspec.yaml b/experimental/federated_plugin/federated_plugin_macos/pubspec.yaml index 8bdab2234..ac49ced89 100644 --- a/experimental/federated_plugin/federated_plugin_macos/pubspec.yaml +++ b/experimental/federated_plugin/federated_plugin_macos/pubspec.yaml @@ -4,7 +4,7 @@ version: 0.0.1 homepage: environment: - sdk: ^3.3.1 + sdk: ^3.4.0-0 dependencies: flutter: diff --git a/experimental/federated_plugin/federated_plugin_platform_interface/pubspec.yaml b/experimental/federated_plugin/federated_plugin_platform_interface/pubspec.yaml index fb4c08a9c..9193981c8 100644 --- a/experimental/federated_plugin/federated_plugin_platform_interface/pubspec.yaml +++ b/experimental/federated_plugin/federated_plugin_platform_interface/pubspec.yaml @@ -4,7 +4,7 @@ version: 0.0.1 homepage: environment: - sdk: ^3.3.1 + sdk: ^3.4.0-0 dependencies: flutter: diff --git a/experimental/federated_plugin/federated_plugin_web/pubspec.yaml b/experimental/federated_plugin/federated_plugin_web/pubspec.yaml index 79c1b1af9..a1a8de776 100644 --- a/experimental/federated_plugin/federated_plugin_web/pubspec.yaml +++ b/experimental/federated_plugin/federated_plugin_web/pubspec.yaml @@ -4,7 +4,7 @@ version: 0.0.1 publish_to: none environment: - sdk: ^3.3.1 + sdk: ^3.4.0-0 dependencies: flutter: diff --git a/experimental/federated_plugin/federated_plugin_windows/pubspec.yaml b/experimental/federated_plugin/federated_plugin_windows/pubspec.yaml index 4d62d08c7..2d4e273fa 100644 --- a/experimental/federated_plugin/federated_plugin_windows/pubspec.yaml +++ b/experimental/federated_plugin/federated_plugin_windows/pubspec.yaml @@ -4,7 +4,7 @@ version: 0.0.1 homepage: environment: - sdk: ^3.3.1 + sdk: ^3.4.0-0 dependencies: flutter: diff --git a/experimental/linting_tool/pubspec.yaml b/experimental/linting_tool/pubspec.yaml index a60a8e228..c717dafb2 100644 --- a/experimental/linting_tool/pubspec.yaml +++ b/experimental/linting_tool/pubspec.yaml @@ -6,7 +6,7 @@ version: 1.0.0+1 publish_to: "none" environment: - sdk: ^3.3.1 + sdk: ^3.4.0-0 dependencies: flutter: diff --git a/experimental/pedometer/example/pubspec.yaml b/experimental/pedometer/example/pubspec.yaml index fca5206a4..633137698 100644 --- a/experimental/pedometer/example/pubspec.yaml +++ b/experimental/pedometer/example/pubspec.yaml @@ -19,7 +19,7 @@ publish_to: 'none' # Remove this line if you wish to publish to pub.dev version: 1.0.0+1 environment: - sdk: ^3.3.1 + sdk: ^3.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/experimental/pedometer/pubspec.yaml b/experimental/pedometer/pubspec.yaml index a51ca0017..ccdd5015f 100644 --- a/experimental/pedometer/pubspec.yaml +++ b/experimental/pedometer/pubspec.yaml @@ -4,7 +4,7 @@ version: 0.0.1 publish_to: none environment: - sdk: ^3.3.1 + sdk: ^3.4.0-0 dependencies: flutter: diff --git a/experimental/varfont_shader_puzzle/pubspec.yaml b/experimental/varfont_shader_puzzle/pubspec.yaml index aaf029c0c..d9d956d54 100644 --- a/experimental/varfont_shader_puzzle/pubspec.yaml +++ b/experimental/varfont_shader_puzzle/pubspec.yaml @@ -4,7 +4,7 @@ publish_to: 'none' version: 1.0.0+1 environment: - sdk: ^3.3.1 + sdk: ^3.4.0-0 dependencies: flutter: diff --git a/experimental/web_dashboard/pubspec.yaml b/experimental/web_dashboard/pubspec.yaml index 4eb006c92..cf1989c8b 100644 --- a/experimental/web_dashboard/pubspec.yaml +++ b/experimental/web_dashboard/pubspec.yaml @@ -4,7 +4,7 @@ version: 1.0.0+1 publish_to: none environment: - sdk: ^3.3.1 + sdk: ^3.4.0-0 dependencies: cloud_firestore: ^4.15.6 diff --git a/flutter_maps_firestore/pubspec.yaml b/flutter_maps_firestore/pubspec.yaml index 3cdda39d1..8c242597a 100644 --- a/flutter_maps_firestore/pubspec.yaml +++ b/flutter_maps_firestore/pubspec.yaml @@ -3,7 +3,7 @@ description: A new Flutter project. version: 1.0.0+1 environment: - sdk: ^3.3.1 + sdk: ^3.4.0-0 dependencies: flutter: diff --git a/form_app/pubspec.yaml b/form_app/pubspec.yaml index 5f83cf43a..5589b3ef8 100644 --- a/form_app/pubspec.yaml +++ b/form_app/pubspec.yaml @@ -4,7 +4,7 @@ publish_to: "none" version: 1.0.0+1 environment: - sdk: ^3.3.1 + sdk: ^3.4.0-0 dependencies: flutter: diff --git a/form_app/web/index.html b/form_app/web/index.html index 3fb0270f2..5c00904d6 100644 --- a/form_app/web/index.html +++ b/form_app/web/index.html @@ -31,29 +31,8 @@ form_app - - - - - + diff --git a/game_template/pubspec.yaml b/game_template/pubspec.yaml index 2fb6041b4..afa5f4a18 100644 --- a/game_template/pubspec.yaml +++ b/game_template/pubspec.yaml @@ -7,7 +7,7 @@ publish_to: 'none' version: 0.0.1+1 environment: - sdk: ^3.3.1 + sdk: ^3.4.0-0 dependencies: flutter: diff --git a/game_template/web/index.html b/game_template/web/index.html index 985bcde1f..c2be00f2d 100644 --- a/game_template/web/index.html +++ b/game_template/web/index.html @@ -32,28 +32,8 @@ game_template - - - - + diff --git a/gemini_tasks/pubspec.yaml b/gemini_tasks/pubspec.yaml index 918ad4ca0..eb8143259 100644 --- a/gemini_tasks/pubspec.yaml +++ b/gemini_tasks/pubspec.yaml @@ -9,13 +9,13 @@ dependencies: flutter: sdk: flutter flutter_markdown: ^0.7.1 - google_generative_ai: ^0.3.3 + google_generative_ai: ^0.4.0 url_launcher: ^6.2.6 dev_dependencies: flutter_test: sdk: flutter - flutter_lints: ^3.0.0 + flutter_lints: ^4.0.0 flutter: uses-material-design: true diff --git a/gemini_tasks/web/index.html b/gemini_tasks/web/index.html index a922f82f2..bc86c2a2a 100644 --- a/gemini_tasks/web/index.html +++ b/gemini_tasks/web/index.html @@ -31,29 +31,8 @@ gemini_tasks - - - - - + diff --git a/google_maps/pubspec.yaml b/google_maps/pubspec.yaml index a94ee3778..2655a62f7 100644 --- a/google_maps/pubspec.yaml +++ b/google_maps/pubspec.yaml @@ -4,7 +4,7 @@ publish_to: 'none' version: 1.0.0+1 environment: - sdk: ^3.3.1 + sdk: ^3.4.0-0 dependencies: flutter: diff --git a/google_maps/web/index.html b/google_maps/web/index.html index c088850eb..9d0b5db27 100644 --- a/google_maps/web/index.html +++ b/google_maps/web/index.html @@ -35,28 +35,8 @@ google_maps_in_flutter - - - - + diff --git a/infinite_list/pubspec.yaml b/infinite_list/pubspec.yaml index e12b9ebdc..e8a41eef0 100644 --- a/infinite_list/pubspec.yaml +++ b/infinite_list/pubspec.yaml @@ -5,7 +5,7 @@ publish_to: none version: 1.0.0+1 environment: - sdk: ^3.3.1 + sdk: ^3.4.0-0 dependencies: flutter: diff --git a/infinite_list/web/index.html b/infinite_list/web/index.html index 974cf3318..3c751b17c 100644 --- a/infinite_list/web/index.html +++ b/infinite_list/web/index.html @@ -31,29 +31,8 @@ infinite_list - - - - - + diff --git a/ios_app_clip/pubspec.yaml b/ios_app_clip/pubspec.yaml index 5d20655b8..ff99b0731 100644 --- a/ios_app_clip/pubspec.yaml +++ b/ios_app_clip/pubspec.yaml @@ -6,7 +6,7 @@ publish_to: "none" # Remove this line if you wish to publish to pub.dev version: 1.0.0+1 environment: - sdk: ^3.3.1 + sdk: ^3.4.0-0 dependencies: flutter: diff --git a/isolate_example/pubspec.yaml b/isolate_example/pubspec.yaml index 823e1718c..aa370863c 100644 --- a/isolate_example/pubspec.yaml +++ b/isolate_example/pubspec.yaml @@ -4,7 +4,7 @@ version: 1.0.0+1 publish_to: none environment: - sdk: ^3.3.1 + sdk: ^3.4.0-0 dependencies: flutter: diff --git a/material_3_demo/.gitignore b/material_3_demo/.gitignore index a8e938c08..24476c5d1 100644 --- a/material_3_demo/.gitignore +++ b/material_3_demo/.gitignore @@ -32,9 +32,6 @@ migrate_working_dir/ .pub/ /build/ -# Web related -lib/generated_plugin_registrant.dart - # Symbolication related app.*.symbols diff --git a/material_3_demo/lib/main.dart b/material_3_demo/lib/main.dart index dab403615..f11572c86 100644 --- a/material_3_demo/lib/main.dart +++ b/material_3_demo/lib/main.dart @@ -2,34 +2,13 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -import 'dart:convert'; - import 'package:flutter/material.dart'; -import 'package:web_startup_analyzer/web_startup_analyzer.dart'; import 'constants.dart'; import 'home.dart'; void main() async { - var analyzer = WebStartupAnalyzer(additionalFrameCount: 10); - debugPrint(json.encode(analyzer.startupTiming)); - analyzer.onFirstFrame.addListener(() { - debugPrint(json.encode({'firstFrame': analyzer.onFirstFrame.value})); - }); - analyzer.onFirstPaint.addListener(() { - debugPrint(json.encode({ - 'firstPaint': analyzer.onFirstPaint.value?.$1, - 'firstContentfulPaint': analyzer.onFirstPaint.value?.$2, - })); - }); - analyzer.onAdditionalFrames.addListener(() { - debugPrint(json.encode({ - 'additionalFrames': analyzer.onAdditionalFrames.value, - })); - }); - runApp( - const App(), - ); + runApp(const App()); } class App extends StatefulWidget { diff --git a/material_3_demo/pubspec.yaml b/material_3_demo/pubspec.yaml index ab164cfca..c207dd138 100644 --- a/material_3_demo/pubspec.yaml +++ b/material_3_demo/pubspec.yaml @@ -17,8 +17,6 @@ dependencies: cupertino_icons: ^1.0.2 url_launcher: ^6.1.8 - web_startup_analyzer: - path: ../web/_packages/web_startup_analyzer dev_dependencies: analysis_defaults: diff --git a/material_3_demo/web/index.html b/material_3_demo/web/index.html index 8f59269bf..41d062080 100644 --- a/material_3_demo/web/index.html +++ b/material_3_demo/web/index.html @@ -31,37 +31,8 @@ material_3_demo - - - - - - + diff --git a/navigation_and_routing/pubspec.yaml b/navigation_and_routing/pubspec.yaml index f1b4c728e..d81e19b6d 100644 --- a/navigation_and_routing/pubspec.yaml +++ b/navigation_and_routing/pubspec.yaml @@ -4,7 +4,7 @@ publish_to: "none" # Remove this line if you wish to publish to pub.dev version: 1.0.0+1 environment: - sdk: ^3.3.1 + sdk: ^3.4.0-0 dependencies: adaptive_navigation: ^0.0.3 diff --git a/navigation_and_routing/web/index.html b/navigation_and_routing/web/index.html index caf4af778..e1ff8cc27 100644 --- a/navigation_and_routing/web/index.html +++ b/navigation_and_routing/web/index.html @@ -31,29 +31,8 @@ navigation_and_routing - - - - - + diff --git a/place_tracker/pubspec.yaml b/place_tracker/pubspec.yaml index d7536bad0..b3e7fbad6 100644 --- a/place_tracker/pubspec.yaml +++ b/place_tracker/pubspec.yaml @@ -4,7 +4,7 @@ description: A new Flutter project. version: 1.0.0+1 environment: - sdk: ^3.3.1 + sdk: ^3.4.0-0 dependencies: flutter: diff --git a/place_tracker/web/index.html b/place_tracker/web/index.html index 6d88139d8..84347b26f 100644 --- a/place_tracker/web/index.html +++ b/place_tracker/web/index.html @@ -34,29 +34,8 @@ - - - - - + diff --git a/platform_channels/pubspec.yaml b/platform_channels/pubspec.yaml index 635d0d33e..9f12d5578 100644 --- a/platform_channels/pubspec.yaml +++ b/platform_channels/pubspec.yaml @@ -4,7 +4,7 @@ description: A new Flutter project. version: 1.0.0+1 environment: - sdk: ^3.3.1 + sdk: ^3.4.0-0 dependencies: flutter: diff --git a/platform_design/pubspec.yaml b/platform_design/pubspec.yaml index 1dbcf90fb..cd817c094 100644 --- a/platform_design/pubspec.yaml +++ b/platform_design/pubspec.yaml @@ -3,7 +3,7 @@ description: A project showcasing a Flutter app following different platform IA version: 1.0.0+1 environment: - sdk: ^3.3.1 + sdk: ^3.4.0-0 dependencies: english_words: ^4.0.0 diff --git a/platform_design/web/index.html b/platform_design/web/index.html index 4384339b1..c4f4da591 100644 --- a/platform_design/web/index.html +++ b/platform_design/web/index.html @@ -31,29 +31,8 @@ platform_design - - - - - + diff --git a/platform_view_swift/pubspec.yaml b/platform_view_swift/pubspec.yaml index 227d3c446..51f368be6 100644 --- a/platform_view_swift/pubspec.yaml +++ b/platform_view_swift/pubspec.yaml @@ -4,7 +4,7 @@ description: A new Flutter project. version: 1.0.0+1 environment: - sdk: ^3.3.1 + sdk: ^3.4.0-0 dependencies: flutter: diff --git a/provider_counter/pubspec.yaml b/provider_counter/pubspec.yaml index 8ff8b5c1f..d68c61e53 100644 --- a/provider_counter/pubspec.yaml +++ b/provider_counter/pubspec.yaml @@ -5,7 +5,7 @@ publish_to: none version: 1.0.0 environment: - sdk: ^3.3.1 + sdk: ^3.4.0-0 dependencies: flutter: diff --git a/provider_counter/web/index.html b/provider_counter/web/index.html index 2a62ad9cf..a16235053 100644 --- a/provider_counter/web/index.html +++ b/provider_counter/web/index.html @@ -32,28 +32,8 @@ provider_counter - - - - + diff --git a/provider_shopper/pubspec.yaml b/provider_shopper/pubspec.yaml index 003ac23ef..2cfd7731f 100644 --- a/provider_shopper/pubspec.yaml +++ b/provider_shopper/pubspec.yaml @@ -5,7 +5,7 @@ publish_to: none version: 1.0.0+1 environment: - sdk: ^3.3.1 + sdk: ^3.4.0-0 dependencies: flutter: diff --git a/provider_shopper/web/index.html b/provider_shopper/web/index.html index e4a5605cc..52a879b4c 100644 --- a/provider_shopper/web/index.html +++ b/provider_shopper/web/index.html @@ -31,29 +31,8 @@ provider_shopper - - - - - + diff --git a/simple_shader/pubspec.yaml b/simple_shader/pubspec.yaml index 9d6f01a25..d97d6ba21 100644 --- a/simple_shader/pubspec.yaml +++ b/simple_shader/pubspec.yaml @@ -4,7 +4,7 @@ publish_to: 'none' version: 1.0.0+1 environment: - sdk: ^3.3.1 + sdk: ^3.4.0-0 dependencies: flutter: diff --git a/simple_shader/web/index.html b/simple_shader/web/index.html index 7e930218f..9b543047b 100644 --- a/simple_shader/web/index.html +++ b/simple_shader/web/index.html @@ -32,28 +32,8 @@ simple_shader - - - - + diff --git a/simplistic_calculator/pubspec.yaml b/simplistic_calculator/pubspec.yaml index 01ccf304c..f72a00676 100644 --- a/simplistic_calculator/pubspec.yaml +++ b/simplistic_calculator/pubspec.yaml @@ -4,7 +4,7 @@ publish_to: 'none' version: 1.0.0+1 environment: - sdk: ^3.3.1 + sdk: ^3.4.0-0 dependencies: auto_size_text: ^3.0.0 diff --git a/simplistic_calculator/web/index.html b/simplistic_calculator/web/index.html index 62651fea2..133aee7c9 100644 --- a/simplistic_calculator/web/index.html +++ b/simplistic_calculator/web/index.html @@ -32,28 +32,8 @@ simplistic_calculator - - - - + diff --git a/simplistic_editor/pubspec.yaml b/simplistic_editor/pubspec.yaml index bba7e9b28..32b24a9a3 100644 --- a/simplistic_editor/pubspec.yaml +++ b/simplistic_editor/pubspec.yaml @@ -18,7 +18,7 @@ publish_to: 'none' # Remove this line if you wish to publish to pub.dev version: 1.0.0+1 environment: - sdk: ^3.3.1 + sdk: ^3.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/simplistic_editor/web/index.html b/simplistic_editor/web/index.html index a7a6016ec..f37d94fa7 100644 --- a/simplistic_editor/web/index.html +++ b/simplistic_editor/web/index.html @@ -32,28 +32,8 @@ simplistic_editor - - - - + diff --git a/testing_app/pubspec.yaml b/testing_app/pubspec.yaml index 685cebb12..b062ff386 100644 --- a/testing_app/pubspec.yaml +++ b/testing_app/pubspec.yaml @@ -4,7 +4,7 @@ description: A sample that shows testing in Flutter. version: 1.0.0+1 environment: - sdk: ^3.3.1 + sdk: ^3.4.0-0 dependencies: flutter: diff --git a/testing_app/web/index.html b/testing_app/web/index.html index 865f162c9..6dd3f8541 100644 --- a/testing_app/web/index.html +++ b/testing_app/web/index.html @@ -32,28 +32,8 @@ testing_app - - - - + diff --git a/veggieseasons/pubspec.yaml b/veggieseasons/pubspec.yaml index e21382cdc..0ad5784d6 100644 --- a/veggieseasons/pubspec.yaml +++ b/veggieseasons/pubspec.yaml @@ -5,7 +5,7 @@ publish_to: none version: 1.2.0 environment: - sdk: ^3.3.1 + sdk: ^3.4.0-0 dependencies: flutter: diff --git a/web/_packages/web_startup_analyzer/example/lib/main.dart b/web/_packages/web_startup_analyzer/example/lib/main.dart index 46ee86fe0..c0445dc64 100644 --- a/web/_packages/web_startup_analyzer/example/lib/main.dart +++ b/web/_packages/web_startup_analyzer/example/lib/main.dart @@ -2,6 +2,8 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +// ignore_for_file: avoid_print + import 'dart:convert'; import 'package:flutter/material.dart'; diff --git a/web/_packages/web_startup_analyzer/example/pubspec.yaml b/web/_packages/web_startup_analyzer/example/pubspec.yaml index bd7eef125..9f8459ae3 100644 --- a/web/_packages/web_startup_analyzer/example/pubspec.yaml +++ b/web/_packages/web_startup_analyzer/example/pubspec.yaml @@ -3,7 +3,7 @@ description: "flutter_web_startup_analyzer example" publish_to: 'none' # Remove this line if you wish to publish to pub.dev version: 1.0.0+1 environment: - sdk: ^3.3.1 + sdk: ^3.4.0-0 flutter: ^3.16.0 dependencies: flutter: @@ -14,6 +14,6 @@ dependencies: dev_dependencies: flutter_test: sdk: flutter - flutter_lints: ^3.0.0 + flutter_lints: ^4.0.0 flutter: uses-material-design: true diff --git a/web/_packages/web_startup_analyzer/pubspec.yaml b/web/_packages/web_startup_analyzer/pubspec.yaml index c90ee7d8e..4c4d5a9ff 100644 --- a/web/_packages/web_startup_analyzer/pubspec.yaml +++ b/web/_packages/web_startup_analyzer/pubspec.yaml @@ -3,7 +3,7 @@ description: "Captures web startup timing data in a Flutter web app" version: 0.1.0-wip environment: - sdk: ^3.3.1 + sdk: ^3.4.0-0 flutter: ^3.16.0 dependencies: @@ -13,7 +13,7 @@ dependencies: dev_dependencies: flutter_test: sdk: flutter - flutter_lints: ^3.0.0 + flutter_lints: ^4.0.0 flutter: assets: - lib/web_startup_analyzer.js diff --git a/web/_tool/pubspec.yaml b/web/_tool/pubspec.yaml index 93963af61..33dd4f2c6 100644 --- a/web/_tool/pubspec.yaml +++ b/web/_tool/pubspec.yaml @@ -2,7 +2,7 @@ name: tool publish_to: none environment: - sdk: ^3.3.1 + sdk: ^3.4.0-0 dependencies: markdown: ^7.0.0 diff --git a/web/samples_index/pubspec.yaml b/web/samples_index/pubspec.yaml index dc1b8acd8..912453b81 100644 --- a/web/samples_index/pubspec.yaml +++ b/web/samples_index/pubspec.yaml @@ -5,7 +5,7 @@ version: 0.0.1 publish_to: none environment: - sdk: ^3.3.1 + sdk: ^3.4.0-0 dependencies: checked_yaml: ^2.0.3 diff --git a/web_embedding/element_embedding_demo/pubspec.yaml b/web_embedding/element_embedding_demo/pubspec.yaml index a2f0e7091..5dde63f0d 100644 --- a/web_embedding/element_embedding_demo/pubspec.yaml +++ b/web_embedding/element_embedding_demo/pubspec.yaml @@ -4,7 +4,7 @@ publish_to: 'none' version: 1.0.0+1 environment: - sdk: ^3.3.1 + sdk: ^3.4.0-0 dependencies: cupertino_icons: ^1.0.2 diff --git a/web_embedding/ng-flutter/flutter/pubspec.yaml b/web_embedding/ng-flutter/flutter/pubspec.yaml index b1d744974..bb98f7bfc 100644 --- a/web_embedding/ng-flutter/flutter/pubspec.yaml +++ b/web_embedding/ng-flutter/flutter/pubspec.yaml @@ -4,8 +4,8 @@ publish_to: none version: 1.0.0 environment: - sdk: ^3.3.1 - flutter: ">=3.19.0" + sdk: ^3.4.0-0 + flutter: ">=3.22.0-0" dependencies: flutter: