Skip to content

[ImgBot] Optimize images - #1

Open
imgbot[bot] wants to merge 1 commit into
masterfrom
imgbot
Open

imgbot[bot] wants to merge 1 commit into
masterfrom
imgbot

Conversation

@imgbot

@imgbot imgbot Bot commented Feb 4, 2021 •

Copy link
Copy Markdown

Beep boop. Your images are optimized!

Your image file size has been reduced by 25% 🎉

Details
File Before After Percent reduction
/engine/src/flutter/testing/ios_scenario_app/ios/Scenarios/ScenariosUITests/golden_two_platform_view_clip_rect_multiple_clips_impeller_iPhone SE (3rd generation)_18.2_simulator.png 14.03kb 0.87kb 93.83%
/engine/src/flutter/shell/platform/embedder/fixtures/external_texture_metal.png 3.18kb 0.34kb 89.36%
/engine/src/flutter/testing/ios_scenario_app/ios/Scenarios/ScenariosUITests/golden_platform_view_cliprect_multiple_clips_impeller_iPhone SE (3rd generation)_18.2_simulator.png 14.76kb 1.71kb 88.42%
/engine/src/flutter/shell/platform/embedder/fixtures/compositor_root_surface_xformation.png 9.26kb 1.33kb 85.63%
/engine/src/flutter/shell/platform/embedder/fixtures/impeller_test.png 3.20kb 0.48kb 85.00%
/engine/src/flutter/testing/ios_scenario_app/ios/Scenarios/ScenariosUITests/golden_platform_view_cliprect_after_moved_multiple_clips_impeller_iPhone SE (3rd generation)_18.2_simulator.png 15.81kb 2.69kb 82.98%
/engine/src/flutter/testing/ios_scenario_app/ios/Scenarios/ScenariosUITests/golden_two_platform_view_clip_path_multiple_clips_impeller_iPhone SE (3rd generation)_18.2_simulator.png 17.49kb 3.06kb 82.49%
/engine/src/flutter/shell/platform/embedder/fixtures/external_texture_impeller.png 3.20kb 0.57kb 82.03%
/engine/src/flutter/testing/ios_scenario_app/ios/Scenarios/ScenariosUITests/golden_platform_view_cliprect_with_transform_multiple_clips_impeller_iPhone SE (3rd generation)_18.2_simulator.png 17.86kb 3.29kb 81.56%
/engine/src/flutter/testing/ios_scenario_app/ios/Scenarios/ScenariosUITests/golden_platform_view_clippath_with_transform_multiple_clips_impeller_iPhone SE (3rd generation)_18.2_simulator.png 16.98kb 3.15kb 81.45%
/engine/src/flutter/testing/ios_scenario_app/ios/Scenarios/ScenariosUITests/golden_platform_view_clippath_multiple_clips_impeller_iPhone SE (3rd generation)_18.2_simulator.png 15.80kb 3.02kb 80.88%
/engine/src/flutter/testing/ios_scenario_app/ios/Scenarios/ScenariosUITests/golden_platform_view_transform_impeller_iPhone SE (3rd generation)_18.2_simulator.png 21.19kb 4.43kb 79.11%
/engine/src/flutter/testing/ios_scenario_app/ios/Scenarios/ScenariosUITests/golden_platform_view_cliprrect_multiple_clips_impeller_iPhone SE (3rd generation)_18.2_simulator.png 16.98kb 3.64kb 78.56%
/engine/src/flutter/testing/ios_scenario_app/ios/Scenarios/ScenariosUITests/golden_platform_view_cliprect_impeller_iPhone SE (3rd generation)_18.2_simulator.png 16.93kb 3.71kb 78.10%
/engine/src/flutter/testing/ios_scenario_app/ios/Scenarios/ScenariosUITests/golden_two_platform_view_clip_rect_impeller_iPhone SE (3rd generation)_18.2_simulator.png 18.00kb 4.06kb 77.47%
/engine/src/flutter/testing/ios_scenario_app/ios/Scenarios/ScenariosUITests/golden_platform_view_cliprect_after_moved_impeller_iPhone SE (3rd generation)_18.2_simulator.png 17.97kb 4.14kb 76.98%
/engine/src/flutter/testing/ios_scenario_app/ios/Scenarios/ScenariosUITests/golden_platform_view_cliprrect_impeller_iPhone SE (3rd generation)_18.2_simulator.png 18.39kb 4.32kb 76.52%
/engine/src/flutter/testing/ios_scenario_app/ios/Scenarios/ScenariosUITests/golden_platform_view_rotate_impeller_iPhone SE (3rd generation)_18.2_simulator.png 23.68kb 6.33kb 73.27%
/engine/src/flutter/testing/ios_scenario_app/ios/Scenarios/ScenariosUITests/golden_spawn_engine_works_impeller_iPhone SE (3rd generation)_18.2_simulator.png 22.80kb 6.28kb 72.46%
/engine/src/flutter/testing/ios_scenario_app/ios/Scenarios/ScenariosUITests/golden_bogus_font_text_impeller_iPhone SE (3rd generation)_18.2_simulator.png 22.80kb 6.28kb 72.46%
/engine/src/flutter/shell/platform/embedder/fixtures/gradient_metal.png 44.36kb 12.82kb 71.11%
/engine/src/flutter/testing/ios_scenario_app/ios/Scenarios/ScenariosUITests/golden_non_full_screen_flutter_view_platform_view_impeller_iPhone SE (3rd generation)_18.2_simulator.png 22.50kb 6.61kb 70.62%
/engine/src/flutter/shell/platform/embedder/fixtures/compositor_with_root_layer_only.png 1.37kb 0.41kb 70.09%
/engine/src/flutter/shell/platform/embedder/fixtures/compositor_platform_layer_with_no_overlay.png 2.31kb 0.73kb 68.60%
/engine/src/flutter/testing/ios_scenario_app/ios/Scenarios/ScenariosUITests/golden_platform_view_opacity_impeller_iPhone SE (3rd generation)_18.2_simulator.png 23.20kb 7.50kb 67.68%
/engine/src/flutter/testing/ios_scenario_app/ios/Scenarios/ScenariosUITests/golden_platform_view_impeller_iPhone SE (3rd generation)_18.2_simulator.png 22.64kb 7.46kb 67.03%
/engine/src/flutter/testing/ios_scenario_app/ios/Scenarios/ScenariosUITests/golden_platform_view_multiple_background_foreground_impeller_iPhone SE (3rd generation)_18.2_simulator.png 30.87kb 10.58kb 65.73%
/engine/src/flutter/testing/ios_scenario_app/ios/Scenarios/ScenariosUITests/golden_darwin_system_font_impeller_iPhone SE (3rd generation)_18.2_simulator.png 30.87kb 10.67kb 65.42%
/engine/src/flutter/testing/ios_scenario_app/ios/Scenarios/ScenariosUITests/golden_platform_view_cliprrect_with_transform_multiple_clips_impeller_iPhone SE (3rd generation)_18.2_simulator.png 18.99kb 6.62kb 65.15%
/engine/src/flutter/testing/ios_scenario_app/ios/Scenarios/ScenariosUITests/golden_platform_view_clippath_with_transform_impeller_iPhone SE (3rd generation)_18.2_simulator.png 19.70kb 7.16kb 63.67%
/engine/src/flutter/testing/ios_scenario_app/ios/Scenarios/ScenariosUITests/golden_platform_view_cliprect_with_transform_impeller_iPhone SE (3rd generation)_18.2_simulator.png 20.61kb 7.54kb 63.43%
/engine/src/flutter/testing/ios_scenario_app/ios/Scenarios/ScenariosUITests/golden_platform_view_large_cliprrect_with_transform_multiple_clips_impeller_iPhone SE (3rd generation)_18.2_simulator.png 22.57kb 8.31kb 63.18%
/engine/src/flutter/lib/ui/fixtures/2_dispose_op_restore_previous.apng.69.png 22.81kb 8.45kb 62.96%
/engine/src/flutter/lib/ui/fixtures/impeller_2_dispose_op_restore_previous.apng.69.png 22.79kb 8.45kb 62.94%
/engine/src/flutter/lib/ui/fixtures/2_dispose_op_restore_previous.apng.67.png 22.62kb 8.42kb 62.77%
/engine/src/flutter/lib/ui/fixtures/impeller_2_dispose_op_restore_previous.apng.67.png 22.60kb 8.42kb 62.75%
/engine/src/flutter/lib/ui/fixtures/2_dispose_op_restore_previous.apng.68.png 22.58kb 8.41kb 62.74%
/engine/src/flutter/lib/ui/fixtures/impeller_2_dispose_op_restore_previous.apng.68.png 22.57kb 8.41kb 62.72%
/engine/src/flutter/testing/ios_scenario_app/ios/Scenarios/ScenariosUITests/golden_platform_view_large_cliprrect_with_transform_impeller_iPhone SE (3rd generation)_18.2_simulator.png 26.17kb 10.03kb 61.69%
/engine/src/flutter/testing/ios_scenario_app/ios/Scenarios/ScenariosUITests/golden_platform_view_cliprrect_with_transform_impeller_iPhone SE (3rd generation)_18.2_simulator.png 20.76kb 7.97kb 61.61%
/engine/src/flutter/shell/platform/embedder/fixtures/compositor_with_platform_layer_on_bottom.png 1.42kb 0.55kb 61.02%
/engine/src/flutter/testing/ios_scenario_app/ios/Scenarios/ScenariosUITests/golden_platform_view_large_cliprrect_multiple_clips_impeller_iPhone SE (3rd generation)_18.2_simulator.png 20.26kb 8.35kb 58.81%
/engine/src/flutter/shell/platform/embedder/fixtures/scene_without_custom_compositor_with_xform.png 2.39kb 1.02kb 57.17%
/engine/src/flutter/testing/ios_scenario_app/ios/Scenarios/ScenariosUITests/golden_platform_view_clippath_impeller_iPhone SE (3rd generation)_18.2_simulator.png 20.11kb 8.64kb 57.04%
/dev/tools/vitool/test_assets/empty_svg_2_100x50.svg 0.18kb 0.08kb 56.04%
/engine/src/flutter/testing/ios_scenario_app/ios/Scenarios/ScenariosUITests/golden_two_platform_view_clip_path_impeller_iPhone SE (3rd generation)_18.2_simulator.png 23.37kb 10.31kb 55.89%
/engine/src/flutter/shell/platform/embedder/fixtures/scene_without_custom_compositor.png 2.57kb 1.14kb 55.73%
/engine/src/flutter/shell/platform/embedder/fixtures/compositor_software.png 2.55kb 1.14kb 55.54%
/engine/src/flutter/shell/platform/embedder/fixtures/compositor.png 2.55kb 1.14kb 55.51%
/engine/src/flutter/testing/ios_scenario_app/ios/Scenarios/ScenariosUITests/golden_platform_view_large_cliprrect_impeller_iPhone SE (3rd generation)_18.2_simulator.png 23.99kb 11.23kb 53.17%
/engine/src/flutter/testing/ios_scenario_app/ios/Scenarios/ScenariosUITests/golden_platform_view_with_negative_backdrop_filter_impeller_iPhone SE (3rd generation)_18.2_simulator.png 27.72kb 13.28kb 52.09%
/engine/src/flutter/testing/ios_scenario_app/ios/Scenarios/ScenariosUITests/golden_two_platform_view_clip_rrect_multiple_clips_impeller_iPhone SE (3rd generation)_18.2_simulator.png 26.48kb 13.10kb 50.55%
/engine/src/flutter/shell/platform/embedder/fixtures/dpr_xform.png 56.25kb 29.47kb 47.61%
/engine/src/flutter/shell/platform/embedder/fixtures/vk_gradient.png 69.55kb 37.59kb 45.95%
/engine/src/flutter/shell/platform/embedder/fixtures/gradient.png 69.55kb 37.59kb 45.95%
/engine/src/flutter/testing/ios_scenario_app/ios/Scenarios/ScenariosUITests/golden_platform_view_multiple_impeller_iPhone SE (3rd generation)_18.2_simulator.png 32.02kb 17.57kb 45.14%
/engine/src/flutter/shell/platform/embedder/fixtures/gradient_xform.png 70.80kb 38.90kb 45.06%
/engine/src/flutter/testing/ios_scenario_app/ios/Scenarios/ScenariosUITests/golden_platform_view_with_other_backdrop_filter_impeller_iPhone SE (3rd generation)_18.2_simulator.png 29.21kb 16.17kb 44.65%
/engine/src/flutter/testing/ios_scenario_app/ios/Scenarios/ScenariosUITests/golden_two_platform_view_clip_rrect_impeller_iPhone SE (3rd generation)_18.2_simulator.png 34.29kb 19.38kb 43.48%
/engine/src/flutter/shell/platform/embedder/fixtures/vk_dpr_noxform.png 61.96kb 35.42kb 42.83%
/engine/src/flutter/shell/platform/embedder/fixtures/dpr_noxform.png 61.97kb 35.43kb 42.82%
/engine/src/flutter/shell/platform/embedder/fixtures/arc_end_caps.png 5.87kb 3.40kb 42.00%
/engine/src/flutter/testing/ios_scenario_app/ios/Scenarios/ScenariosUITests/golden_two_platform_views_with_other_backdrop_filter_impeller_iPhone SE (3rd generation)_18.2_simulator.png 43.45kb 25.62kb 41.02%
/engine/src/flutter/shell/platform/embedder/fixtures/verifyb143464703_soft_noxform.png 15.38kb 9.92kb 35.47%
/engine/src/flutter/shell/platform/embedder/fixtures/impeller_text_test.png 3.25kb 2.15kb 33.86%
/dev/integration_tests/flutter_gallery/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_512.png 14.45kb 9.69kb 32.93%
/dev/integration_tests/ui/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_512.png 14.45kb 9.69kb 32.93%
/dev/a11y_assessments/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_512.png 14.45kb 9.69kb 32.93%
/examples/hello_world/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_512.png 14.45kb 9.69kb 32.93%
/examples/api/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_512.png 14.45kb 9.69kb 32.93%
/examples/image_list/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_512.png 14.45kb 9.69kb 32.93%
/dev/manual_tests/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_512.png 14.45kb 9.69kb 32.93%
/examples/image_list/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_1024.png 45.89kb 31.58kb 31.18%
/dev/integration_tests/flutter_gallery/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_1024.png 45.89kb 31.58kb 31.18%
/dev/a11y_assessments/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_1024.png 45.89kb 31.58kb 31.18%
/dev/integration_tests/ui/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_1024.png 45.89kb 31.58kb 31.18%
/examples/api/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_1024.png 45.89kb 31.58kb 31.18%
/examples/hello_world/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_1024.png 45.89kb 31.58kb 31.18%
/dev/manual_tests/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_1024.png 45.89kb 31.58kb 31.18%
/engine/src/flutter/docs/rbe/luci.png 98.61kb 70.27kb 28.73%
/examples/image_list/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_16.png 1.40kb 1.00kb 28.62%
/dev/integration_tests/flutter_gallery/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_16.png 1.40kb 1.00kb 28.62%
/dev/integration_tests/ui/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_16.png 1.40kb 1.00kb 28.62%
/dev/a11y_assessments/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_16.png 1.40kb 1.00kb 28.62%
/examples/hello_world/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_16.png 1.40kb 1.00kb 28.62%
/dev/manual_tests/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_16.png 1.40kb 1.00kb 28.62%
/examples/api/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_16.png 1.40kb 1.00kb 28.62%
/dev/integration_tests/flutter_gallery/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_256.png 5.79kb 4.27kb 26.23%
/dev/a11y_assessments/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_256.png 5.79kb 4.27kb 26.23%
/dev/integration_tests/ui/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_256.png 5.79kb 4.27kb 26.23%
/examples/hello_world/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_256.png 5.79kb 4.27kb 26.23%
/examples/api/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_256.png 5.79kb 4.27kb 26.23%
/dev/manual_tests/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_256.png 5.79kb 4.27kb 26.23%
/examples/image_list/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_256.png 5.79kb 4.27kb 26.23%
/engine/src/flutter/lib/ui/fixtures/DashInNooglerHat%20WithSpace.jpg 346.37kb 257.43kb 25.68%
/engine/src/flutter/lib/ui/fixtures/DashInNooglerHat.jpg 346.37kb 257.43kb 25.68%
/engine/src/flutter/shell/platform/embedder/fixtures/verifyb143464703.png 9.24kb 6.89kb 25.48%
/engine/src/flutter/lib/web_ui/test/ui/image/sample_image1.png 14.40kb 10.83kb 24.76%
/dev/integration_tests/flutter_gallery/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_128.png 3.20kb 2.60kb 18.77%
/dev/integration_tests/ui/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_128.png 3.20kb 2.60kb 18.77%
/dev/a11y_assessments/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_128.png 3.20kb 2.60kb 18.77%
/examples/hello_world/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_128.png 3.20kb 2.60kb 18.77%
/examples/api/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_128.png 3.20kb 2.60kb 18.77%
/dev/manual_tests/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_128.png 3.20kb 2.60kb 18.77%
/examples/image_list/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_128.png 3.20kb 2.60kb 18.77%
/engine/src/flutter/docs/flutter_logo.png 4.16kb 3.53kb 15.18%
/dev/tools/vitool/test_assets/illegal_svg_multiple_roots.svg 0.10kb 0.09kb 12.87%
/dev/tools/vitool/test_assets/empty_svg_1_48x48.svg 0.09kb 0.08kb 12.77%
/dev/tools/vitool/test_assets/bar_group_opacity.svg 0.22kb 0.20kb 11.01%
/dev/tools/vitool/test_assets/bars_group.svg 0.30kb 0.26kb 10.86%
/engine/src/flutter/lib/ui/fixtures/Horizontal.jpg 11.08kb 9.90kb 10.60%
/dev/tools/vitool/test_assets/bar_group_scale.svg 0.23kb 0.21kb 9.62%
/dev/tools/vitool/test_assets/bar_group_translate.svg 0.24kb 0.21kb 9.50%
/dev/tools/vitool/test_assets/leading_space_path_command.svg 0.13kb 0.12kb 9.49%
/dev/tools/vitool/test_assets/illegal_transform.svg 0.24kb 0.22kb 9.39%
/engine/src/flutter/lib/ui/fixtures/DisplayP3Logo.jpg 4.77kb 4.33kb 9.19%
/dev/tools/vitool/test_assets/bar_group_rotate_scale.svg 0.25kb 0.23kb 8.98%
/dev/tools/vitool/test_assets/illegal_path.svg 0.14kb 0.13kb 8.33%
/engine/src/flutter/lib/ui/fixtures/four_frame_with_reuse_end.png 0.50kb 0.46kb 7.78%
/engine/src/flutter/lib/ui/fixtures/DisplayP3Logo.png 2.95kb 2.73kb 7.44%
/dev/tools/vitool/test_assets/horizontal_bar.svg 0.18kb 0.17kb 7.14%
/dev/tools/vitool/test_assets/horizontal_bar_relative.svg 0.18kb 0.17kb 7.10%
/dev/tools/vitool/test_assets/close_path_in_middle.svg 0.19kb 0.18kb 6.60%
/engine/src/flutter/lib/ui/fixtures/four_frame_with_reuse.gif 1.95kb 1.84kb 5.46%
/engine/src/flutter/lib/ui/fixtures/impeller_four_frame_with_reuse_end.png 0.49kb 0.46kb 5.39%
/engine/src/flutter/impeller/fixtures/monkey.png 603.17kb 572.78kb 5.04%
/engine/src/flutter/testing/resources/performance_overlay_gold_60fps.png 15.74kb 15.02kb 4.56%
/engine/src/flutter/shell/common/fixtures/hello_loop_2.gif 28.64kb 27.36kb 4.46%
/engine/src/flutter/lib/ui/fixtures/hello_loop_2.gif 28.64kb 27.36kb 4.46%
/engine/src/flutter/impeller/fixtures/blend_mode_src.png 33.71kb 32.51kb 3.55%
/engine/src/flutter/testing/resources/performance_overlay_gold_90fps.png 15.82kb 15.28kb 3.43%
/engine/src/flutter/testing/resources/performance_overlay_gold_120fps.png 15.70kb 15.18kb 3.36%
/engine/src/flutter/testing/skia_gold_client/tool/e2e_fixtures/solid_blue_square.png 2.35kb 2.29kb 2.49%
/engine/src/flutter/testing/skia_gold_client/tool/e2e_fixtures/solid_red_square.png 2.67kb 2.61kb 2.34%
/engine/src/flutter/lib/ui/fixtures/heart_end.png 38.64kb 37.80kb 2.17%
/engine/src/flutter/lib/ui/fixtures/impeller_heart_end.png 38.63kb 37.80kb 2.14%
/engine/src/flutter/testing/skia_gold_client/tool/e2e_fixtures/solid_green_square.png 3.48kb 3.41kb 1.80%
/engine/src/flutter/lib/ui/fixtures/Horizontal.png 24.98kb 24.63kb 1.37%
/engine/src/flutter/shell/common/fixtures/shelltest_screenshot.png 0.31kb 0.31kb 0.63%
/docs/engine/dart_split_aot_compilation.svg 107.78kb 107.31kb 0.43%
/engine/src/flutter/impeller/fixtures/blend_mode_dst.png 170.59kb 170.13kb 0.27%
/docs/engine/deferred_components_architecture.svg 298.78kb 297.96kb 0.27%
/docs/engine/deferred_components_call_lifecycle.svg 251.94kb 251.49kb 0.18%
/docs/engine/flutter_overview.svg 185.94kb 185.80kb 0.08%
/engine/src/flutter/impeller/fixtures/kalimba.jpg 66.47kb 66.46kb 0.01%
/examples/image_list/images/coast.jpg 197.60kb 197.60kb 0.00%
/engine/src/flutter/impeller/fixtures/airplane.jpg 69.71kb 69.71kb 0.00%
Total : 5,000.15kb 3,730.45kb 25.39%

📝 docs | :octocat: repo | 🙋🏾 issues | 🏪 marketplace

~Imgbot - Part of Optimole family

pull Bot pushed a commit that referenced this pull request May 25, 2022
flutter#104110)

* Reland "Fix Backbutton is not displayed when there is a endDrawer (flutter#102093)"

This reverts commit a4a8e73.

* add todos
pull Bot pushed a commit that referenced this pull request Jun 7, 2023
…extMenuBuilder (flutter#128114)

Close flutter#128113 

Fun fact: This is caught by monkey testing I have written (will soon be open sourced as well) that runs on my app!

Without the fix, the test fails as expected:

<details>

```
(base) �  flutter git:(feat/text-field-npe) /Volumes/MyExternal/ExternalRefCode/flutter/bin/flutter test test/material/text_field_test.dart --name 'changes from default'
00:06 +0: context menu contextMenuBuilder changes from default to null                                                                
��� EXCEPTION CAUGHT BY WIDGETS LIBRARY ������������������������������������������������������������
The following _TypeError was thrown building
_OverlayEntryWidget-[LabeledGlobalKey<_OverlayEntryWidgetState>#e3717](state:
_OverlayEntryWidgetState#7666a):
Null check operator used on a null value

When the exception was thrown, this was the stack:
#0      EditableTextState._createSelectionOverlay.<anonymous closure> (package:flutter/src/widgets/editable_text.dart:3331:43)
#1      SelectionOverlay.showToolbar.<anonymous closure> (package:flutter/src/widgets/text_selection.dart:1357:36)
#2      ContextMenuController.show.<anonymous closure> (package:flutter/src/widgets/context_menu_controller.dart:65:54)
#3      _OverlayEntryWidgetState.build (package:flutter/src/widgets/overlay.dart:351:36)
#4      StatefulElement.build (package:flutter/src/widgets/framework.dart:5198:27)
#5      ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:5086:15)
#6      StatefulElement.performRebuild (package:flutter/src/widgets/framework.dart:5251:11)
#7      Element.rebuild (package:flutter/src/widgets/framework.dart:4805:7)
#8      StatefulElement.update (package:flutter/src/widgets/framework.dart:5274:5)
#9      Element.updateChild (package:flutter/src/widgets/framework.dart:3686:15)
#10     RenderObjectElement.updateChildren (package:flutter/src/widgets/framework.dart:6093:32)
#11     MultiChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:6595:17)
#12     Element.updateChild (package:flutter/src/widgets/framework.dart:3686:15)
#13     ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:5111:16)
#14     StatefulElement.performRebuild (package:flutter/src/widgets/framework.dart:5251:11)
#15     Element.rebuild (package:flutter/src/widgets/framework.dart:4805:7)
#16     StatefulElement.update (package:flutter/src/widgets/framework.dart:5274:5)
#17     Element.updateChild (package:flutter/src/widgets/framework.dart:3686:15)
#18     ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:5111:16)
#19     Element.rebuild (package:flutter/src/widgets/framework.dart:4805:7)
#20     ProxyElement.update (package:flutter/src/widgets/framework.dart:5417:5)
#21     Element.updateChild (package:flutter/src/widgets/framework.dart:3686:15)
#22     ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:5111:16)
#23     Element.rebuild (package:flutter/src/widgets/framework.dart:4805:7)
#24     ProxyElement.update (package:flutter/src/widgets/framework.dart:5417:5)
#25     _InheritedNotifierElement.update (package:flutter/src/widgets/inherited_notifier.dart:107:11)
#26     Element.updateChild (package:flutter/src/widgets/framework.dart:3686:15)
#27     ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:5111:16)
#28     StatefulElement.performRebuild (package:flutter/src/widgets/framework.dart:5251:11)
#29     Element.rebuild (package:flutter/src/widgets/framework.dart:4805:7)
#30     StatefulElement.update (package:flutter/src/widgets/framework.dart:5274:5)
#31     Element.updateChild (package:flutter/src/widgets/framework.dart:3686:15)
#32     ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:5111:16)
#33     Element.rebuild (package:flutter/src/widgets/framework.dart:4805:7)
#34     ProxyElement.update (package:flutter/src/widgets/framework.dart:5417:5)
#35     _InheritedNotifierElement.update (package:flutter/src/widgets/inherited_notifier.dart:107:11)
#36     Element.updateChild (package:flutter/src/widgets/framework.dart:3686:15)
#37     ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:5111:16)
#38     StatefulElement.performRebuild (package:flutter/src/widgets/framework.dart:5251:11)
#39     Element.rebuild (package:flutter/src/widgets/framework.dart:4805:7)
#40     StatefulElement.update (package:flutter/src/widgets/framework.dart:5274:5)
#41     Element.updateChild (package:flutter/src/widgets/framework.dart:3686:15)
#42     ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:5111:16)
#43     StatefulElement.performRebuild (package:flutter/src/widgets/framework.dart:5251:11)
#44     Element.rebuild (package:flutter/src/widgets/framework.dart:4805:7)
#45     StatefulElement.update (package:flutter/src/widgets/framework.dart:5274:5)
#46     Element.updateChild (package:flutter/src/widgets/framework.dart:3686:15)
#47     SingleChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:6442:14)
#48     Element.updateChild (package:flutter/src/widgets/framework.dart:3686:15)
#49     SingleChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:6442:14)
#50     Element.updateChild (package:flutter/src/widgets/framework.dart:3686:15)
#51     ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:5111:16)
#52     Element.rebuild (package:flutter/src/widgets/framework.dart:4805:7)
#53     ProxyElement.update (package:flutter/src/widgets/framework.dart:5417:5)
#54     Element.updateChild (package:flutter/src/widgets/framework.dart:3686:15)
#55     ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:5111:16)
#56     StatefulElement.performRebuild (package:flutter/src/widgets/framework.dart:5251:11)
#57     Element.rebuild (package:flutter/src/widgets/framework.dart:4805:7)
#58     StatefulElement.update (package:flutter/src/widgets/framework.dart:5274:5)
#59     Element.updateChild (package:flutter/src/widgets/framework.dart:3686:15)
#60     ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:5111:16)
#61     Element.rebuild (package:flutter/src/widgets/framework.dart:4805:7)
#62     ProxyElement.update (package:flutter/src/widgets/framework.dart:5417:5)
#63     _InheritedNotifierElement.update (package:flutter/src/widgets/inherited_notifier.dart:107:11)
#64     Element.updateChild (package:flutter/src/widgets/framework.dart:3686:15)
#65     SingleChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:6442:14)
#66     Element.updateChild (package:flutter/src/widgets/framework.dart:3686:15)
#67     ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:5111:16)
#68     StatefulElement.performRebuild (package:flutter/src/widgets/framework.dart:5251:11)
#69     Element.rebuild (package:flutter/src/widgets/framework.dart:4805:7)
#70     StatefulElement.update (package:flutter/src/widgets/framework.dart:5274:5)
#71     Element.updateChild (package:flutter/src/widgets/framework.dart:3686:15)
#72     ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:5111:16)
#73     Element.rebuild (package:flutter/src/widgets/framework.dart:4805:7)
#74     ProxyElement.update (package:flutter/src/widgets/framework.dart:5417:5)
#75     Element.updateChild (package:flutter/src/widgets/framework.dart:3686:15)
#76     ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:5111:16)
#77     Element.rebuild (package:flutter/src/widgets/framework.dart:4805:7)
#78     ProxyElement.update (package:flutter/src/widgets/framework.dart:5417:5)
#79     Element.updateChild (package:flutter/src/widgets/framework.dart:3686:15)
#80     ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:5111:16)
#81     Element.rebuild (package:flutter/src/widgets/framework.dart:4805:7)
#82     ProxyElement.update (package:flutter/src/widgets/framework.dart:5417:5)
#83     Element.updateChild (package:flutter/src/widgets/framework.dart:3686:15)
#84     ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:5111:16)
#85     Element.rebuild (package:flutter/src/widgets/framework.dart:4805:7)
#86     ProxyElement.update (package:flutter/src/widgets/framework.dart:5417:5)
#87     Element.updateChild (package:flutter/src/widgets/framework.dart:3686:15)
#88     ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:5111:16)
#89     Element.rebuild (package:flutter/src/widgets/framework.dart:4805:7)
#90     StatelessElement.update (package:flutter/src/widgets/framework.dart:5162:5)
#91     Element.updateChild (package:flutter/src/widgets/framework.dart:3686:15)
#92     ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:5111:16)
#93     Element.rebuild (package:flutter/src/widgets/framework.dart:4805:7)
#94     ProxyElement.update (package:flutter/src/widgets/framework.dart:5417:5)
#95     Element.updateChild (package:flutter/src/widgets/framework.dart:3686:15)
#96     ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:5111:16)
#97     Element.rebuild (package:flutter/src/widgets/framework.dart:4805:7)
#98     StatelessElement.update (package:flutter/src/widgets/framework.dart:5162:5)
#99     Element.updateChild (package:flutter/src/widgets/framework.dart:3686:15)
#100    ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:5111:16)
#101    StatefulElement.performRebuild (package:flutter/src/widgets/framework.dart:5251:11)
#102    Element.rebuild (package:flutter/src/widgets/framework.dart:4805:7)
#103    StatefulElement.update (package:flutter/src/widgets/framework.dart:5274:5)
#104    Element.updateChild (package:flutter/src/widgets/framework.dart:3686:15)
#105    ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:5111:16)
#106    Element.rebuild (package:flutter/src/widgets/framework.dart:4805:7)
#107    ProxyElement.update (package:flutter/src/widgets/framework.dart:5417:5)
#108    Element.updateChild (package:flutter/src/widgets/framework.dart:3686:15)
#109    ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:5111:16)
#110    Element.rebuild (package:flutter/src/widgets/framework.dart:4805:7)
#111    ProxyElement.update (package:flutter/src/widgets/framework.dart:5417:5)
#112    Element.updateChild (package:flutter/src/widgets/framework.dart:3686:15)
#113    ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:5111:16)
#114    StatefulElement.performRebuild (package:flutter/src/widgets/framework.dart:5251:11)
#115    Element.rebuild (package:flutter/src/widgets/framework.dart:4805:7)
#116    StatefulElement.update (package:flutter/src/widgets/framework.dart:5274:5)
#117    Element.updateChild (package:flutter/src/widgets/framework.dart:3686:15)
#118    ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:5111:16)
#119    Element.rebuild (package:flutter/src/widgets/framework.dart:4805:7)
#120    StatelessElement.update (package:flutter/src/widgets/framework.dart:5162:5)
#121    Element.updateChild (package:flutter/src/widgets/framework.dart:3686:15)
#122    ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:5111:16)
#123    Element.rebuild (package:flutter/src/widgets/framework.dart:4805:7)
#124    ProxyElement.update (package:flutter/src/widgets/framework.dart:5417:5)
#125    Element.updateChild (package:flutter/src/widgets/framework.dart:3686:15)
#126    SingleChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:6442:14)
#127    Element.updateChild (package:flutter/src/widgets/framework.dart:3686:15)
#128    ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:5111:16)
#129    Element.rebuild (package:flutter/src/widgets/framework.dart:4805:7)
#130    StatelessElement.update (package:flutter/src/widgets/framework.dart:5162:5)
#131    Element.updateChild (package:flutter/src/widgets/framework.dart:3686:15)
#132    ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:5111:16)
#133    Element.rebuild (package:flutter/src/widgets/framework.dart:4805:7)
#134    StatelessElement.update (package:flutter/src/widgets/framework.dart:5162:5)
#135    Element.updateChild (package:flutter/src/widgets/framework.dart:3686:15)
#136    ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:5111:16)
#137    Element.rebuild (package:flutter/src/widgets/framework.dart:4805:7)
#138    StatelessElement.update (package:flutter/src/widgets/framework.dart:5162:5)
#139    Element.updateChild (package:flutter/src/widgets/framework.dart:3686:15)
#140    ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:5111:16)
#141    Element.rebuild (package:flutter/src/widgets/framework.dart:4805:7)
#142    ProxyElement.update (package:flutter/src/widgets/framework.dart:5417:5)
#143    Element.updateChild (package:flutter/src/widgets/framework.dart:3686:15)
#144    ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:5111:16)
#145    Element.rebuild (package:flutter/src/widgets/framework.dart:4805:7)
#146    ProxyElement.update (package:flutter/src/widgets/framework.dart:5417:5)
#147    Element.updateChild (package:flutter/src/widgets/framework.dart:3686:15)
#148    SingleChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:6442:14)
#149    Element.updateChild (package:flutter/src/widgets/framework.dart:3686:15)
#150    ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:5111:16)
#151    StatefulElement.performRebuild (package:flutter/src/widgets/framework.dart:5251:11)
#152    Element.rebuild (package:flutter/src/widgets/framework.dart:4805:7)
#153    StatefulElement.update (package:flutter/src/widgets/framework.dart:5274:5)
#154    Element.updateChild (package:flutter/src/widgets/framework.dart:3686:15)
#155    SingleChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:6442:14)
#156    Element.updateChild (package:flutter/src/widgets/framework.dart:3686:15)
#157    ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:5111:16)
#158    Element.rebuild (package:flutter/src/widgets/framework.dart:4805:7)
#159    ProxyElement.update (package:flutter/src/widgets/framework.dart:5417:5)
#160    _InheritedNotifierElement.update (package:flutter/src/widgets/inherited_notifier.dart:107:11)
#161    Element.updateChild (package:flutter/src/widgets/framework.dart:3686:15)
#162    ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:5111:16)
#163    StatefulElement.performRebuild (package:flutter/src/widgets/framework.dart:5251:11)
#164    Element.rebuild (package:flutter/src/widgets/framework.dart:4805:7)
#165    StatefulElement.update (package:flutter/src/widgets/framework.dart:5274:5)
#166    Element.updateChild (package:flutter/src/widgets/framework.dart:3686:15)
#167    ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:5111:16)
#168    StatefulElement.performRebuild (package:flutter/src/widgets/framework.dart:5251:11)
#169    Element.rebuild (package:flutter/src/widgets/framework.dart:4805:7)
#170    StatefulElement.update (package:flutter/src/widgets/framework.dart:5274:5)
#171    Element.updateChild (package:flutter/src/widgets/framework.dart:3686:15)
#172    ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:5111:16)
#173    Element.rebuild (package:flutter/src/widgets/framework.dart:4805:7)
#174    ProxyElement.update (package:flutter/src/widgets/framework.dart:5417:5)
#175    Element.updateChild (package:flutter/src/widgets/framework.dart:3686:15)
#176    ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:5111:16)
#177    StatefulElement.performRebuild (package:flutter/src/widgets/framework.dart:5251:11)
#178    Element.rebuild (package:flutter/src/widgets/framework.dart:4805:7)
#179    StatefulElement.update (package:flutter/src/widgets/framework.dart:5274:5)
#180    Element.updateChild (package:flutter/src/widgets/framework.dart:3686:15)
#181    SingleChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:6442:14)
#182    Element.updateChild (package:flutter/src/widgets/framework.dart:3686:15)
#183    ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:5111:16)
#184    Element.rebuild (package:flutter/src/widgets/framework.dart:4805:7)
#185    ProxyElement.update (package:flutter/src/widgets/framework.dart:5417:5)
#186    _InheritedNotifierElement.update (package:flutter/src/widgets/inherited_notifier.dart:107:11)
#187    Element.updateChild (package:flutter/src/widgets/framework.dart:3686:15)
#188    ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:5111:16)
#189    StatefulElement.performRebuild (package:flutter/src/widgets/framework.dart:5251:11)
#190    Element.rebuild (package:flutter/src/widgets/framework.dart:4805:7)
#191    StatefulElement.update (package:flutter/src/widgets/framework.dart:5274:5)
#192    Element.updateChild (package:flutter/src/widgets/framework.dart:3686:15)
#193    ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:5111:16)
#194    StatefulElement.performRebuild (package:flutter/src/widgets/framework.dart:5251:11)
#195    Element.rebuild (package:flutter/src/widgets/framework.dart:4805:7)
#196    StatefulElement.update (package:flutter/src/widgets/framework.dart:5274:5)
#197    Element.updateChild (package:flutter/src/widgets/framework.dart:3686:15)
#198    ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:5111:16)
#199    Element.rebuild (package:flutter/src/widgets/framework.dart:4805:7)
#200    ProxyElement.update (package:flutter/src/widgets/framework.dart:5417:5)
#201    Element.updateChild (package:flutter/src/widgets/framework.dart:3686:15)
#202    ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:5111:16)
#203    StatefulElement.performRebuild (package:flutter/src/widgets/framework.dart:5251:11)
#204    Element.rebuild (package:flutter/src/widgets/framework.dart:4805:7)
#205    StatefulElement.update (package:flutter/src/widgets/framework.dart:5274:5)
#206    Element.updateChild (package:flutter/src/widgets/framework.dart:3686:15)
#207    SingleChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:6442:14)
#208    Element.updateChild (package:flutter/src/widgets/framework.dart:3686:15)
#209    ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:5111:16)
#210    Element.rebuild (package:flutter/src/widgets/framework.dart:4805:7)
#211    ProxyElement.update (package:flutter/src/widgets/framework.dart:5417:5)
#212    _InheritedNotifierElement.update (package:flutter/src/widgets/inherited_notifier.dart:107:11)
#213    Element.updateChild (package:flutter/src/widgets/framework.dart:3686:15)
#214    ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:5111:16)
#215    StatefulElement.performRebuild (package:flutter/src/widgets/framework.dart:5251:11)
#216    Element.rebuild (package:flutter/src/widgets/framework.dart:4805:7)
#217    StatefulElement.update (package:flutter/src/widgets/framework.dart:5274:5)
#218    Element.updateChild (package:flutter/src/widgets/framework.dart:3686:15)
#219    ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:5111:16)
#220    StatefulElement.performRebuild (package:flutter/src/widgets/framework.dart:5251:11)
#221    Element.rebuild (package:flutter/src/widgets/framework.dart:4805:7)
#222    StatefulElement.update (package:flutter/src/widgets/framework.dart:5274:5)
#223    Element.updateChild (package:flutter/src/widgets/framework.dart:3686:15)
#224    ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:5111:16)
#225    Element.rebuild (package:flutter/src/widgets/framework.dart:4805:7)
#226    StatelessElement.update (package:flutter/src/widgets/framework.dart:5162:5)
#227    Element.updateChild (package:flutter/src/widgets/framework.dart:3686:15)
#228    SingleChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:6442:14)
#229    Element.updateChild (package:flutter/src/widgets/framework.dart:3686:15)
#230    ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:5111:16)
#231    Element.rebuild (package:flutter/src/widgets/framework.dart:4805:7)
#232    ProxyElement.update (package:flutter/src/widgets/framework.dart:5417:5)
#233    _InheritedNotifierElement.update (package:flutter/src/widgets/inherited_notifier.dart:107:11)
#234    Element.updateChild (package:flutter/src/widgets/framework.dart:3686:15)
#235    ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:5111:16)
#236    StatefulElement.performRebuild (package:flutter/src/widgets/framework.dart:5251:11)
#237    Element.rebuild (package:flutter/src/widgets/framework.dart:4805:7)
#238    StatefulElement.update (package:flutter/src/widgets/framework.dart:5274:5)
#239    Element.updateChild (package:flutter/src/widgets/framework.dart:3686:15)
#240    ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:5111:16)
#241    StatefulElement.performRebuild (package:flutter/src/widgets/framework.dart:5251:11)
#242    Element.rebuild (package:flutter/src/widgets/framework.dart:4805:7)
#243    StatefulElement.update (package:flutter/src/widgets/framework.dart:5274:5)
#244    Element.updateChild (package:flutter/src/widgets/framework.dart:3686:15)
#245    ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:5111:16)
#246    Element.rebuild (package:flutter/src/widgets/framework.dart:4805:7)
#247    ProxyElement.update (package:flutter/src/widgets/framework.dart:5417:5)
#248    Element.updateChild (package:flutter/src/widgets/framework.dart:3686:15)
#249    ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:5111:16)
#250    StatefulElement.performRebuild (package:flutter/src/widgets/framework.dart:5251:11)
#251    Element.rebuild (package:flutter/src/widgets/framework.dart:4805:7)
#252    StatefulElement.update (package:flutter/src/widgets/framework.dart:5274:5)
#253    Element.updateChild (package:flutter/src/widgets/framework.dart:3686:15)
#254    ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:5111:16)
#255    Element.rebuild (package:flutter/src/widgets/framework.dart:4805:7)
#256    ProxyElement.update (package:flutter/src/widgets/framework.dart:5417:5)
#257    Element.updateChild (package:flutter/src/widgets/framework.dart:3686:15)
#258    ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:5111:16)
#259    StatefulElement.performRebuild (package:flutter/src/widgets/framework.dart:5251:11)
#260    Element.rebuild (package:flutter/src/widgets/framework.dart:4805:7)
#261    StatefulElement.update (package:flutter/src/widgets/framework.dart:5274:5)
#262    Element.updateChild (package:flutter/src/widgets/framework.dart:3686:15)
#263    ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:5111:16)
#264    Element.rebuild (package:flutter/src/widgets/framework.dart:4805:7)
#265    ProxyElement.update (package:flutter/src/widgets/framework.dart:5417:5)
#266    Element.updateChild (package:flutter/src/widgets/framework.dart:3686:15)
#267    ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:5111:16)
#268    StatefulElement.performRebuild (package:flutter/src/widgets/framework.dart:5251:11)
#269    Element.rebuild (package:flutter/src/widgets/framework.dart:4805:7)
#270    StatefulElement.update (package:flutter/src/widgets/framework.dart:5274:5)
#271    Element.updateChild (package:flutter/src/widgets/framework.dart:3686:15)
#272    ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:5111:16)
#273    StatefulElement.performRebuild (package:flutter/src/widgets/framework.dart:5251:11)
#274    Element.rebuild (package:flutter/src/widgets/framework.dart:4805:7)
#275    StatefulElement.update (package:flutter/src/widgets/framework.dart:5274:5)
#276    Element.updateChild (package:flutter/src/widgets/framework.dart:3686:15)
#277    SingleChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:6442:14)
#278    Element.updateChild (package:flutter/src/widgets/framework.dart:3686:15)
#279    ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:5111:16)
#280    Element.rebuild (package:flutter/src/widgets/framework.dart:4805:7)
#281    ProxyElement.update (package:flutter/src/widgets/framework.dart:5417:5)
#282    _InheritedNotifierElement.update (package:flutter/src/widgets/inherited_notifier.dart:107:11)
#283    Element.updateChild (package:flutter/src/widgets/framework.dart:3686:15)
#284    ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:5111:16)
#285    StatefulElement.performRebuild (package:flutter/src/widgets/framework.dart:5251:11)
#286    Element.rebuild (package:flutter/src/widgets/framework.dart:4805:7)
#287    StatefulElement.update (package:flutter/src/widgets/framework.dart:5274:5)
#288    Element.updateChild (package:flutter/src/widgets/framework.dart:3686:15)
#289    ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:5111:16)
#290    Element.rebuild (package:flutter/src/widgets/framework.dart:4805:7)
#291    ProxyElement.update (package:flutter/src/widgets/framework.dart:5417:5)
#292    Element.updateChild (package:flutter/src/widgets/framework.dart:3686:15)
#293    ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:5111:16)
#294    Element.rebuild (package:flutter/src/widgets/framework.dart:4805:7)
#295    ProxyElement.update (package:flutter/src/widgets/framework.dart:5417:5)
#296    Element.updateChild (package:flutter/src/widgets/framework.dart:3686:15)
#297    ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:5111:16)
#298    StatefulElement.performRebuild (package:flutter/src/widgets/framework.dart:5251:11)
#299    Element.rebuild (package:flutter/src/widgets/framework.dart:4805:7)
#300    StatefulElement.update (package:flutter/src/widgets/framework.dart:5274:5)
#301    Element.updateChild (package:flutter/src/widgets/framework.dart:3686:15)
#302    ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:5111:16)
#303    Element.rebuild (package:flutter/src/widgets/framework.dart:4805:7)
#304    ProxyElement.update (package:flutter/src/widgets/framework.dart:5417:5)
#305    Element.updateChild (package:flutter/src/widgets/framework.dart:3686:15)
#306    ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:5111:16)
#307    StatefulElement.performRebuild (package:flutter/src/widgets/framework.dart:5251:11)
#308    Element.rebuild (package:flutter/src/widgets/framework.dart:4805:7)
#309    StatefulElement.update (package:flutter/src/widgets/framework.dart:5274:5)
#310    Element.updateChild (package:flutter/src/widgets/framework.dart:3686:15)
#311    ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:5111:16)
#312    Element.rebuild (package:flutter/src/widgets/framework.dart:4805:7)
#313    ProxyElement.update (package:flutter/src/widgets/framework.dart:5417:5)
#314    Element.updateChild (package:flutter/src/widgets/framework.dart:3686:15)
#315    ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:5111:16)
#316    Element.rebuild (package:flutter/src/widgets/framework.dart:4805:7)
#317    StatelessElement.update (package:flutter/src/widgets/framework.dart:5162:5)
#318    Element.updateChild (package:flutter/src/widgets/framework.dart:3686:15)
#319    RenderObjectToWidgetElement._rebuild (package:flutter/src/widgets/binding.dart:1253:16)
#320    RenderObjectToWidgetElement.update (package:flutter/src/widgets/binding.dart:1230:5)
#321    RenderObjectToWidgetElement.performRebuild (package:flutter/src/widgets/binding.dart:1244:7)
#322    Element.rebuild (package:flutter/src/widgets/framework.dart:4805:7)
#323    BuildOwner.buildScope (package:flutter/src/widgets/framework.dart:2780:19)
#324    AutomatedTestWidgetsFlutterBinding.drawFrame (package:flutter_test/src/binding.dart:1396:19)
#325    RendererBinding._handlePersistentFrameCallback (package:flutter/src/rendering/binding.dart:358:5)
#326    SchedulerBinding._invokeFrameCallback (package:flutter/src/scheduler/binding.dart:1297:15)
#327    SchedulerBinding.handleDrawFrame (package:flutter/src/scheduler/binding.dart:1227:9)
#328    AutomatedTestWidgetsFlutterBinding.pump.<anonymous closure> (package:flutter_test/src/binding.dart:1246:9)
#331    TestAsyncUtils.guard (package:flutter_test/src/test_async_utils.dart:68:41)
#332    AutomatedTestWidgetsFlutterBinding.pump (package:flutter_test/src/binding.dart:1232:27)
#333    WidgetTester._pumpWidget (package:flutter_test/src/widget_tester.dart:587:20)
#334    WidgetTester.pumpWidget.<anonymous closure> (package:flutter_test/src/widget_tester.dart:572:14)
#337    TestAsyncUtils.guard (package:flutter_test/src/test_async_utils.dart:68:41)
#338    WidgetTester.pumpWidget (package:flutter_test/src/widget_tester.dart:571:27)
#339    main.<anonymous closure>.<anonymous closure> (file:///Volumes/MyExternal/ExternalRefCode/flutter/packages/flutter/test/material/text_field_test.dart:15687:20)
<asynchronous suspension>
<asynchronous suspension>
(elided 5 frames from dart:async and package:stack_trace)

����������������������������������������������������������������������������������������������������
00:06 +0 -1: context menu contextMenuBuilder changes from default to null [E]                                                         
  Test failed. See exception logs above.
  The test description was: contextMenuBuilder changes from default to null
  
To run this test again: /Volumes/MyExternal/ExternalRefCode/flutter/bin/cache/dart-sdk/bin/dart test /Volumes/MyExternal/ExternalRefCode/flutter/packages/flutter/test/material/text_field_test.dart -p vm --plain-name 'context menu contextMenuBuilder changes from default to null'
00:06 +0 -1: Some tests failed.                                                                                                       
(base) �  flutter git:(feat/text-field-npe) 

```

</details>
pull Bot pushed a commit that referenced this pull request Aug 7, 2023
This is a follow up to the following pull requests:
- flutter#124514

I was finally able to reproduce this bug and found out why it was happening. Consider this code:

```dart
GestureDetector(
  behavior: HitTestBehavior.translucent,
  // Note: Make sure onTap is not null to ensure events
  // are captured by `GestureDetector`
  onTap: () {},
  child: _shouldShowSlider
    ? Slider(value: _value, onChanged: _handleSlide)
    : const SizedBox.shrink().
)
```

Runtime exception happens when:

1. User taps and holds the Slider (drag callback captured by `GestureDetector`)
2. `_shouldShowSlider` changes to false, Slider disappears and unmounts, and unregisters `_handleSlide`. But the callback is still registered by `GestureDetector`
3. Users moves finger as if Slider were still there
4. Drag callback is invoked, `_SliderState.showValueIndicator` is called
5. Exception - Slider is already disposed

This pull request fixes it by adding a mounted check inside `_SliderState.showValueIndicator` to ensure the Slider is actually mounted at the time of invoking drag event callback. I've added a unit test that will fail without this change.

The error stack trace is:

```
The following assertion was thrown while handling a gesture:
This widget has been unmounted, so the State no longer has a context (and should be considered
defunct).
Consider canceling any active work during "dispose" or using the "mounted" getter to determine if
the State is still active.

When the exception was thrown, this was the stack:
#0      State.context.<anonymous closure> (package:flutter/src/widgets/framework.dart:950:9)
#1      State.context (package:flutter/src/widgets/framework.dart:956:6)
#2      _SliderState.showValueIndicator (package:flutter/src/material/slider.dart:968:18)
#3      _RenderSlider._startInteraction (package:flutter/src/material/slider.dart:1487:12)
#4      _RenderSlider._handleDragStart (package:flutter/src/material/slider.dart:1541:5)
#5      DragGestureRecognizer._checkStart.<anonymous closure> (package:flutter/src/gestures/monodrag.dart:531:53)
#6      GestureRecognizer.invokeCallback (package:flutter/src/gestures/recognizer.dart:275:24)
#7      DragGestureRecognizer._checkStart (package:flutter/src/gestures/monodrag.dart:531:7)
#8      DragGestureRecognizer._checkDrag (package:flutter/src/gestures/monodrag.dart:498:5)
#9      DragGestureRecognizer.acceptGesture (package:flutter/src/gestures/monodrag.dart:431:7)
#10     _CombiningGestureArenaMember.acceptGesture (package:flutter/src/gestures/team.dart:45:14)
#11     GestureArenaManager._resolveInFavorOf (package:flutter/src/gestures/arena.dart:281:12)
#12     GestureArenaManager._resolve (package:flutter/src/gestures/arena.dart:239:9)
#13     GestureArenaEntry.resolve (package:flutter/src/gestures/arena.dart:53:12)
#14     _CombiningGestureArenaMember._resolve (package:flutter/src/gestures/team.dart:85:15)
#15     _CombiningGestureArenaEntry.resolve (package:flutter/src/gestures/team.dart:19:15)
#16     OneSequenceGestureRecognizer.resolve (package:flutter/src/gestures/recognizer.dart:375:13)
#17     DragGestureRecognizer.handleEvent (package:flutter/src/gestures/monodrag.dart:414:13)
#18     PointerRouter._dispatch (package:flutter/src/gestures/pointer_router.dart:98:12)
#19     PointerRouter._dispatchEventToRoutes.<anonymous closure> (package:flutter/src/gestures/pointer_router.dart:143:9)
#20     _LinkedHashMapMixin.forEach (dart:collection-patch/compact_hash.dart:625:13)
#21     PointerRouter._dispatchEventToRoutes (package:flutter/src/gestures/pointer_router.dart:141:18)
#22     PointerRouter.route (package:flutter/src/gestures/pointer_router.dart:127:7)
#23     GestureBinding.handleEvent (package:flutter/src/gestures/binding.dart:488:19)
#24     GestureBinding.dispatchEvent (package:flutter/src/gestures/binding.dart:468:22)
#25     RendererBinding.dispatchEvent (package:flutter/src/rendering/binding.dart:439:11)
#26     GestureBinding._handlePointerEventImmediately (package:flutter/src/gestures/binding.dart:413:7)
#27     GestureBinding.handlePointerEvent (package:flutter/src/gestures/binding.dart:376:5)
#28     GestureBinding._flushPointerEventQueue (package:flutter/src/gestures/binding.dart:323:7)
#29     GestureBinding._handlePointerDataPacket (package:flutter/src/gestures/binding.dart:292:9)
#30     _invoke1 (dart:ui/hooks.dart:186:13)
#31     PlatformDispatcher._dispatchPointerDataPacket (dart:ui/platform_dispatcher.dart:433:7)
#32     _dispatchPointerDataPacket (dart:ui/hooks.dart:119:31)

Handler: "onStart"
Recognizer:
  HorizontalDragGestureRecognizer#a5df2
```

*List which issues are fixed by this PR. You must list at least one issue.*

Internal bug: b/273666179, b/192329942

*If you had to change anything in the [flutter/tests] repo, include a link to the migration guide as per the [breaking change policy].*
pull Bot pushed a commit that referenced this pull request Oct 26, 2023
flutter#137242)

This reverts commit d36a843
(flutter#136809)

This fails even tho golden files were approved and `golden test` pending
was cleared and green and `autosubmit` successfully merged the PR.


```console
02:42 +4618 ~5: C:/b/s/w/ir/x/w/flutter/packages/flutter/test/material/outlined_button_test.dart: Material3 - OutlinedButton, OutlinedButton.icon defaults
══╡ EXCEPTION CAUGHT BY FLUTTER TEST FRAMEWORK ╞════════════════════════════════════════════════════
The following SkiaException was thrown while running async test code:
Skia Gold received an unapproved image in post-submit
testing. Golden file images in flutter/flutter are triaged
in pre-submit during code review for the given PR.

Visit https://flutter-gold.skia.org/ to view and approve
the image(s), or revert the associated change. For more
information, visit the wiki:
https://github.com/flutter/flutter/wiki/Writing-a-golden-file-test-for-package:flutter

Debug information for Gold --------------------------------
stdout: Given image with hash 37275e74c51f98d7abd7f301c5c94ac1 for test
material.outlined_button.ink_sparkle.default
Expectation for test: 531f5fa74908d2e6db2b8fd86a6b8662 (positive)
Expectation for test: 683e368ff51d947a3d63c2a5f4568cf6 (positive)
Expectation for test: 749241ff0fa21595b2c6cb551fd40b68 (positive)
Expectation for test: aaf9ac1328614d6c9f4540308bc86f62 (positive)
Expectation for test: b31a50440c7dd31b10cacd9e7b5c6b86 (positive)
Expectation for test: c0a7c8c625b69ddc695a770f28abd403 (positive)
Expectation for test: f1f66ce931c2ef33ebcb699a637025a6 (positive)
Expectation for test: 2d32e34efc1d7ca4cd12965402fb76ff (positive)
Untriaged or negative image:
https://flutter-gold.skia.org/detail?grouping=name%3Dmaterial.outlined_button.ink_sparkle.default%26source_type%3Dflutter&digest=37275e74c51f98d7abd7f301c5c94ac1


stderr: Test: material.outlined_button.ink_sparkle.default FAIL


result-state.json: No result file found.

When the exception was thrown, this was the stack:
#0      SkiaGoldClient.imgtestAdd (package:flutter_goldens_client/skia_client.dart:243:7)
<asynchronous suspension>
#1      MatchesGoldenFile.matchAsync.<anonymous closure> (package:flutter_test/src/_matchers_io.dart:118:32)
<asynchronous suspension>
<asynchronous suspension>
(elided one frame from dart:async)

The exception was caught asynchronously.
════════════════════════════════════════════════════════════════════════════════════════════════════
02:42 +4618 ~5 -1: C:/b/s/w/ir/x/w/flutter/packages/flutter/test/material/menu_anchor_test.dart: Menu functions keyboard directional traversal works
02:42 +4618 ~5 -1: C:/b/s/w/ir/x/w/flutter/packages/flutter/test/material/outlined_button_test.dart: Material3 - OutlinedButton, OutlinedButton.icon defaults [E]
  Test failed. See exception logs above.
  The test description was: Material3 - OutlinedButton, OutlinedButton.icon defaults
  
02:42 +4619 ~5 -1: C:/b/s/w/ir/x/w/flutter/packages/flutter/test/material/menu_anchor_test.dart: Menu functions keyboard directional traversal works
```

## Pre-launch Checklist

- [ ] I read the [Contributor Guide] and followed the process outlined
there for submitting PRs.
- [ ] I read the [Tree Hygiene] wiki page, which explains my
responsibilities.
- [ ] I read and followed the [Flutter Style Guide], including [Features
we expect every widget to implement].
- [ ] I signed the [CLA].
- [ ] I listed at least one issue that this PR fixes in the description
above.
- [ ] I updated/added relevant documentation (doc comments with `///`).
- [ ] I added new tests to check the change I am making, or this PR is
[test-exempt].
- [ ] All existing and new tests are passing.

If you need help, consider asking for advice on the #hackers-new channel
on [Discord].

<!-- Links -->
[Contributor Guide]:
https://github.com/flutter/flutter/wiki/Tree-hygiene#overview
[Tree Hygiene]: https://github.com/flutter/flutter/wiki/Tree-hygiene
[test-exempt]:
https://github.com/flutter/flutter/wiki/Tree-hygiene#tests
[Flutter Style Guide]:
https://github.com/flutter/flutter/wiki/Style-guide-for-Flutter-repo
[Features we expect every widget to implement]:
https://github.com/flutter/flutter/wiki/Style-guide-for-Flutter-repo#features-we-expect-every-widget-to-implement
[CLA]: https://cla.developers.google.com/
[flutter/tests]: https://github.com/flutter/tests
[breaking change policy]:
https://github.com/flutter/flutter/wiki/Tree-hygiene#handling-breaking-changes
[Discord]: https://github.com/flutter/flutter/wiki/Chat
pull Bot pushed a commit that referenced this pull request Mar 12, 2024
A test was failing silently because of this (see
flutter#144353 and fixed in
flutter#144709). The failure went
undetected for months. Ideally, this should have been a regular
non-silent failure. This change makes that so. `package:test` can
properly handle reported exceptions outside of test cases. With this
change, the test fails as follows:

```
00:03 +82: Smoke test material/color_scheme/dynamic_content_color.0.dart
══╡ EXCEPTION CAUGHT BY FLUTTER TEST FRAMEWORK ╞════════════════════════════════════════════════════
The following assertion was thrown running a test (but after the test had completed):
setState() called after dispose(): _DynamicColorExampleState#1cd37(lifecycle state: defunct, not
mounted)
This error happens if you call setState() on a State object for a widget that no longer appears in
the widget tree (e.g., whose parent widget no longer includes the widget in its build). This error
can occur when code calls setState() from a timer or an animation callback.
The preferred solution is to cancel the timer or stop listening to the animation in the dispose()
callback. Another solution is to check the "mounted" property of this object before calling
setState() to ensure the object is still in the tree.
This error might indicate a memory leak if setState() is being called because another object is
retaining a reference to this State object after it has been removed from the tree. To avoid memory
leaks, consider breaking the reference to this object during dispose().

When the exception was thrown, this was the stack:
#0      State.setState.<anonymous closure> (package:flutter/src/widgets/framework.dart:1167:9)
#1      State.setState (package:flutter/src/widgets/framework.dart:1202:6)
#2      _DynamicColorExampleState._updateImage (package:flutter_api_samples/material/color_scheme/dynamic_content_color.0.dart:191:5)
<asynchronous suspension>
════════════════════════════════════════════════════════════════════════════════════════════════════
00:03 +81 -1: Smoke test material/context_menu/context_menu_controller.0.dart
00:03 +81 -1: Smoke test material/color_scheme/dynamic_content_color.0.dart [E]
  Test failed. See exception logs above.
  The test description was: Smoke test material/color_scheme/dynamic_content_color.0.dart
  
  This test failed after it had already completed.
  Make sure to use a matching library which informs the test runner
  of pending async work.
```
pull Bot pushed a commit that referenced this pull request Mar 12, 2024
…r#144706)" (flutter#144970)

Reverts: flutter#144706
Initiated by: gspencergoog
Reason for reverting: This has broken the tree because some tests are still failing post completion. This particular one looks like it might have to do with a gold image not existing.
Original PR Author: goderbauer

Reviewed By: {Piinks}

This change reverts the following previous change:
A test was failing silently because of this (see flutter#144353 and fixed in flutter#144709). The failure went undetected for months. Ideally, this should have been a regular non-silent failure. This change makes that so. `package:test` can properly handle reported exceptions outside of test cases. With this change, the test fails as follows:

```
00:03 +82: Smoke test material/color_scheme/dynamic_content_color.0.dart
══╡ EXCEPTION CAUGHT BY FLUTTER TEST FRAMEWORK ╞════════════════════════════════════════════════════
The following assertion was thrown running a test (but after the test had completed):
setState() called after dispose(): _DynamicColorExampleState#1cd37(lifecycle state: defunct, not
mounted)
This error happens if you call setState() on a State object for a widget that no longer appears in
the widget tree (e.g., whose parent widget no longer includes the widget in its build). This error
can occur when code calls setState() from a timer or an animation callback.
The preferred solution is to cancel the timer or stop listening to the animation in the dispose()
callback. Another solution is to check the "mounted" property of this object before calling
setState() to ensure the object is still in the tree.
This error might indicate a memory leak if setState() is being called because another object is
retaining a reference to this State object after it has been removed from the tree. To avoid memory
leaks, consider breaking the reference to this object during dispose().

When the exception was thrown, this was the stack:
#0      State.setState.<anonymous closure> (package:flutter/src/widgets/framework.dart:1167:9)
#1      State.setState (package:flutter/src/widgets/framework.dart:1202:6)
#2      _DynamicColorExampleState._updateImage (package:flutter_api_samples/material/color_scheme/dynamic_content_color.0.dart:191:5)
<asynchronous suspension>
════════════════════════════════════════════════════════════════════════════════════════════════════
00:03 +81 -1: Smoke test material/context_menu/context_menu_controller.0.dart
00:03 +81 -1: Smoke test material/color_scheme/dynamic_content_color.0.dart [E]
  Test failed. See exception logs above.
  The test description was: Smoke test material/color_scheme/dynamic_content_color.0.dart
  
  This test failed after it had already completed.
  Make sure to use a matching library which informs the test runner
  of pending async work.
```
pull Bot pushed a commit that referenced this pull request Jun 30, 2024
New analyze error in an unrelated PR 
```
╔═╡ERROR #1╞════════════════════════════════════════════════════════════════════
║ /b/s/w/ir/x/w/flutter/CODEOWNERS:13: trailing U+0020 space character
╚═══════════════════════════════════════════════════════════════════════════════
```

https://logs.chromium.org/logs/flutter/buildbucket/cr-buildbucket/8744032390138579057/+/u/run_test.dart_for_analyze_shard_and_subshard_None/stdout

On this commit 

flutter@2537b49
pull Bot pushed a commit that referenced this pull request Aug 21, 2024
When attempting to release the Flutter 3.24.1 hotfix, Flutter framework post submits failed due to the following error:

```
���ERROR #1���������������������������������������������������������������������
� UNEXPECTED ERROR!
� Exception: Found unexpected binary in cache: /Volumes/Work/s/w/ir/x/w/flutter/bin/cache/artifacts/engine/ios-release/extension_safe/Flutter.xcframework/ios-arm64_x86_64-simulator/dSYMs/Flutter.framework.dSYM/Contents/Resources/DWARF/Flutter
� #0      verifyExist (file:///Volumes/Work/s/w/ir/x/w/flutter/dev/bots/suite_runners/run_verify_binaries_codesigned_tests.dart:150:12)
� <asynchronous suspension>
� #1      verifyCodesignedTestRunner (file:///Volumes/Work/s/w/ir/x/w/flutter/dev/bots/suite_runners/run_verify_binaries_codesigned_tests.dart:28:3)
� <asynchronous suspension>
� #2      _runFromList (file:///Volumes/Work/s/w/ir/x/w/flutter/dev/bots/utils.dart:601:5)
� <asynchronous suspension>
� #3      main (file:///Volumes/Work/s/w/ir/x/w/flutter/dev/bots/test.dart:125:5)
� <asynchronous suspension>
� 
� The test.dart script should be corrected to catch this error and call foundError().
� Some tests are likely to have been skipped.
��������������������������������������������������������������������������������
```

I've updated the tests to include the listed artifact.  

### Open questions
1. Is it possible that the test failed only on the first binary?
2. Do we expect a need to add the remainder of the [entitlement changes](flutter-team-archive/engine@c9b9d57)?
3. I am under the assumption that the bots pull from master and are not branch specific, is this a correct assumption?

CC @christopherfujino @cbracken
pull Bot pushed a commit that referenced this pull request Sep 9, 2024
…lutter#154715)

Fixes: flutter#154580
Previous PR: flutter#154677
More info: flutter#154580 (comment)

The errors described in the original issue [are still occurring](flutter#154580 (comment)) after flutter#154677. Before this change, the repro [broken_demo](https://github.com/rajveermalviya/broken_demo) mentioned in the original issue logs:

```shell-session
$ flutter run --release
Launching lib/main.dart on sdk gphone64 arm64 in release mode...
Running Gradle task 'assembleRelease'...                           14.5s
� Built build/app/outputs/flutter-apk/app-release.apk (7.4MB)
Installing build/app/outputs/flutter-apk/app-release.apk...        739ms

Flutter run key commands.
h List all available interactive commands.
c Clear the screen
q Quit (terminate the application on the device).
W/FlutterEngineCxnRegstry(13284): Attempted to register plugin (a0.a@53b33b6) but it was already registered with this FlutterEngine (d0.c@8baa8b7).
E/flutter (13284): [ERROR:flutter/runtime/dart_vm_initializer.cc(40)] Unhandled Exception: PlatformException(channel-error, Unable to establish connection on channel., null, null)
E/flutter (13284): #0      PathProviderApi.getApplicationSupportPath (package:path_provider_android/messages.g.dart:65)
E/flutter (13284): <asynchronous suspension>
E/flutter (13284): #1      getApplicationSupportDirectory (package:path_provider/path_provider.dart:78)
E/flutter (13284): <asynchronous suspension>
E/flutter (13284): #2      _BorkenDemoHomePageState.build.<anonymous closure> (package:broken_demo/main.dart:44)
E/flutter (13284): <asynchronous suspension>
E/flutter (13284): 
```

After this change:
```shell-session
$ flutter run --release
Launching lib/main.dart on sdk gphone64 arm64 in release mode...
Running Gradle task 'assembleRelease'...                           15.2s
� Built build/app/outputs/flutter-apk/app-release.apk (7.4MB)
Installing build/app/outputs/flutter-apk/app-release.apk...        857ms

Flutter run key commands.
h List all available interactive commands.
c Clear the screen
q Quit (terminate the application on the device).
I/flutter (13040): path_provider: Directory: '/data/user/0/com.example.broken_demo/files'
```
pull Bot pushed a commit that referenced this pull request Sep 12, 2024
flutter#154645)

### Problem

Enabling the Swift Package Manager feature caused post-submit tests to fail on Mac x64 hosts:

<details>
<summary>Example error...</summary>

https://ci.chromium.org/ui/p/flutter/builders/prod/Mac_ios%20rrect_blur_perf_ios__timeline_summary/575/overview

```
� ... flutter --verbose assemble ... -dIosArchs=x86_64 ... profile_unpack_ios

Target profile_unpack_ios failed:
Exception: Binary ... build/ios/Profile-iphoneos/Flutter.framework/Flutter does not contain x86_64.

Running lipo -info:
Non-fat file: ... build/ios/Profile-iphoneos/Flutter.framework/Flutter is architecture: arm64

#0      UnpackIOS._thinFramework (package:flutter_tools/src/build_system/targets/ios.dart:351:7)
<asynchronous suspension>
#1      UnpackIOS.build (package:flutter_tools/src/build_system/targets/ios.dart:298:5)
<asynchronous suspension>
...
```

</details>

### Reproduction

On a mac x64 host:

1. Switch to the latest master channel: `flutter channel master ; flutter upgrade`
1. Disable the Swift Package Manager feature: `flutter config --no-enable-swift-package-manager`
2. Create a Flutter project
2. [Edit the Xcode project manually to add the prepare pre-action](https://docs.flutter.dev/packages-and-plugins/swift-package-manager/for-app-developers#step-2-add-run-prepare-flutter-framework-script-pre-action)
3. Run `flutter run` (`flutter build ios` does not reproduce this issue).

### Background

Previously, the Flutter framework was unpacked in the Xcode target's build. Unfortunately, this happens after Swift packages are built; this prevented Swift packages from using the Flutter framework.

To fix this, we added an Xcode pre-action that unpacks the Flutter framework _before_ Swift Package Manager builds packages. The Xcode target still runs the Flutter framework unpack step, but this step no-ops if the unpack step has the exact same inputs. 

```mermaid
flowchart LR
  A[flutter run -d iphone] --> B(Build Xcode project)
  B --> C(Xcode 'prepare framework' pre-action)
  B --> G[Build Swift packages]
  B --> D(Build 'Runner' target)
  C --> E[Unpack Flutter framework #1]
  D --> F["
  Unpack Flutter framework #2
  (No-ops if inputs are same as #1)
  "]
```

flutter#150052 added an optimization that made it more likely the second unpack step no-ops by fixing a case where the target architecture input could be different:

> When using SwiftPM, we use `flutter assemble` in an Xcode Pre-action to run the `debug_unpack_macos` (or profile/release) target. This target is also later used in a Run Script build phase. Depending on `ARCHS` build setting, the Flutter/FlutterMacOS binary is thinned. In the Run Script build phase, `ARCHS` is filtered to the active arch. However, in the Pre-action it doesn't always filter to the active arch. As a workaround, assume arm64 if the [`NATIVE_ARCH`](https://developer.apple.com/documentation/xcode/build-settings-reference/#NATIVEARCH) is arm, otherwise assume x86_64.

This optimization is only applied if [`ONLY_ACTIVE_ARCH`](https://developer.apple.com/library/archive/documentation/DeveloperTools/Reference/XcodeBuildSettingRef/1-Build_Setting_Reference/build_setting_ref.html#//apple_ref/doc/uid/TP40003931-CH3-SW157) is `YES`.

> [!IMPORTANT]
> [`ONLY_ACTIVE_ARCH`](https://developer.apple.com/library/archive/documentation/DeveloperTools/Reference/XcodeBuildSettingRef/1-Build_Setting_Reference/build_setting_ref.html#//apple_ref/doc/uid/TP40003931-CH3-SW157)'s name is misleading. It specifies whether the product includes only object code for the native architecture.
>
> A value of `YES` means the product includes only code for the native architecture ([NATIVE_ARCH](https://developer.apple.com/library/archive/documentation/DeveloperTools/Reference/XcodeBuildSettingRef/1-Build_Setting_Reference/build_setting_ref.html#//apple_ref/doc/uid/TP40003931-CH3-SW59)).
>
> A value of `NO` means the product includes code for the architectures specified in [ARCHS (Architectures)](https://developer.apple.com/library/archive/documentation/DeveloperTools/Reference/XcodeBuildSettingRef/1-Build_Setting_Reference/build_setting_ref.html#//apple_ref/doc/uid/TP40003931-CH3-SW62).

### Problem

`buildXcodeProject` incorrectly always sets `ONLY_ACTIVE_ARCH` to `YES` if the Xcode built is for a single architecture:

https://github.com/flutter/flutter/blob/6abef222514e8039bde5c47ab7864abbc4caf7e8/packages/flutter_tools/lib/src/ios/mac.dart#L353-L361

This is incorrect! If the host architecture is `x64` but the target architecture is `arm64`, [`ONLY_ACTIVE_ARCH`](https://developer.apple.com/library/archive/documentation/DeveloperTools/Reference/XcodeBuildSettingRef/1-Build_Setting_Reference/build_setting_ref.html#//apple_ref/doc/uid/TP40003931-CH3-SW157) should be `NO`.

This caused the prepare pre-action to incorrectly use x64 as the target architecture for arm64 devices on an x64 host, which in turn caused builds to fail if Swift Package Manager was enabled.

### Solution

This change updates `buildXcodeProject` to set `ONLY_ACTIVE_ARCH` correctly.

This change also updates the prepare pre-action's to be more conservative in applying the optimization that filters the target architecture. This ensures that the build still works (but without the optimization) if `ONLY_ACTIVE_ARCH` is incorrectly set.

Follow-up PR: flutter#154649

This unblocks: flutter#151567

### DeviceLab test

This problem reproduces if you `flutter run` to an iPhone Arm64 device from an x64 mac host with the Swift Package Manager feature enabled.

I ran an affected DeviceLab test to verify the fix works as expected:

Description | CI test | Result
-- | -- | --
SwiftPM enabled without this fix: flutter#154750 | [Link](https://ci.chromium.org/ui/p/flutter/builders/try.shadow/Mac_ios%20rrect_blur_perf_ios__timeline_summary/7/overview) | � 
SwiftPM enabled with this fix: flutter#154749 | [Link](https://ci.chromium.org/ui/p/flutter/builders/try.shadow/Mac_ios%20rrect_blur_perf_ios__timeline_summary/8/overview) | â�
@imgbot
imgbot Bot force-pushed the imgbot branch 2 times, most recently from f94d61f to b82b560 Compare January 28, 2025 09:15
pull Bot pushed a commit that referenced this pull request Jul 30, 2025
…er#172783)" (flutter#172900)

<!-- start_original_pr_link -->
Reverts: flutter#172783
<!-- end_original_pr_link -->
<!-- start_initiating_author -->
Initiated by: jtmcdole
<!-- end_initiating_author -->
<!-- start_revert_reason -->
Reason for reverting: Failing in post submit tests:

```
╔═╡ERROR #1╞════════════════════════════════════════════════════════════════════
║ UNEXPECTED ERROR!
║ Exception: Found unexpected binary in cache: /Volumes/Work/s/w/ir/x/w/flutter/bin/cache/dart-sdk/bin/dartvm
║ #0      verifyExist (file:///Volumes/Work/s/w/ir/x/w/flutter/dev/bots/suite_runners/run_verify_binaries_codesigned_tests.dart:198:9)
║ <asynchron
<!-- end_revert_reason -->
<!-- start_original_pr_author -->
Original PR Author: a-siva
<!-- end_original_pr_author -->

<!-- start_reviewers -->
Reviewed By: {jason-simmons}
<!-- end_reviewers -->

<!-- start_revert_body -->
This change reverts the following previous change:
https://dart.googlesource.com/sdk.git/+log/5ede85aff798..14ea8d342149

https://dart.googlesource.com/sdk.git/+/refs/tags/3.10.0-36.0.dev
https://dart.googlesource.com/sdk.git/+/refs/tags/3.10.0-35.0.dev
https://dart.googlesource.com/sdk.git/+/refs/tags/3.10.0-34.0.dev
https://dart.googlesource.com/sdk.git/+/refs/tags/3.10.0-33.0.dev
https://dart.googlesource.com/sdk.git/+/refs/tags/3.10.0-32.0.dev
https://dart.googlesource.com/sdk.git/+/refs/tags/3.10.0-31.0.dev
https://dart.googlesource.com/sdk.git/+/refs/tags/3.10.0-30.0.dev
https://dart.googlesource.com/sdk.git/+/refs/tags/3.10.0-29.0.dev
<!-- end_revert_body -->

Co-authored-by: auto-submit[bot] <flutter-engprod-team@google.com>
pull Bot pushed a commit that referenced this pull request Oct 24, 2025
When building
https://github.com/flutter/samples/tree/main/add_to_app/multiple_flutters,
the `[CP-User] Run Flutter Build multiple_flutters_module Script` step
failed with:
```
Showing Recent Messages
[   +3 ms] Improperly formatted define flag: 
[        ] 
           #0      throwToolExit (package:flutter_tools/src/base/common.dart:34:3)
           #1      AssembleCommand._parseDefines (package:flutter_tools/src/commands/assemble.dart:279:9)
```

the command was:
```
 /Users/<User>/flutter/bin/flutter --verbose assemble --no-version-check --output=/Users/<User>/Library/Developer/Xcode/DerivedData/MultipleFluttersIos-<Hash>/Build/Products/Debug-iphonesimulator/ -dTargetPlatform=ios -dTargetFile=lib/main.dart -dBuildMode=debug -dConfiguration=Debug -dIosArchs=arm64 -dSdkRoot=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator26.0.sdk -dSplitDebugInfo= -dTreeShakeIcons=false -dTrackWidgetCreation=true -dDartObfuscation=false -dAction=build -dFrontendServerStarterPath= --ExtraGenSnapshotOptions= --DartDefines= --ExtraFrontEndOptions= -dSrcRoot=/Users/<User>/flutter_debug/samples/add_to_app/multiple_flutters/multiple_flutters_ios -dTargetDeviceOSVersion=26.0 -dCodesignIdentity=- debug_ios_bundle_flutter_assets
```

the empty `--DartDefines=` comes from
https://github.com/flutter/flutter/blob/68cddc9bf5c449d5a55fe48ebb9b446ef76ae6b0/packages/flutter_tools/bin/xcode_backend.dart#L660

This PR makes `_parseDefines` ignore these empty dart defines.

## Pre-launch Checklist

- [ ] I read the [Contributor Guide] and followed the process outlined
there for submitting PRs.
- [ ] I read the [Tree Hygiene] wiki page, which explains my
responsibilities.
- [ ] I read and followed the [Flutter Style Guide], including [Features
we expect every widget to implement].
- [ ] I signed the [CLA].
- [ ] I listed at least one issue that this PR fixes in the description
above.
- [ ] I updated/added relevant documentation (doc comments with `///`).
- [ ] I added new tests to check the change I am making, or this PR is
[test-exempt].
- [ ] I followed the [breaking change policy] and added [Data Driven
Fixes] where supported.
- [ ] All existing and new tests are passing.

If you need help, consider asking for advice on the #hackers-new channel
on [Discord].

**Note**: The Flutter team is currently trialing the use of [Gemini Code
Assist for
GitHub](https://developers.google.com/gemini-code-assist/docs/review-github-code).
Comments from the `gemini-code-assist` bot should not be taken as
authoritative feedback from the Flutter team. If you find its comments
useful you can update your code accordingly, but if you are unsure or
disagree with the feedback, please feel free to wait for a Flutter team
member's review for guidance on which automated comments should be
addressed.

<!-- Links -->
[Contributor Guide]:
https://github.com/flutter/flutter/blob/main/docs/contributing/Tree-hygiene.md#overview
[Tree Hygiene]:
https://github.com/flutter/flutter/blob/main/docs/contributing/Tree-hygiene.md
[test-exempt]:
https://github.com/flutter/flutter/blob/main/docs/contributing/Tree-hygiene.md#tests
[Flutter Style Guide]:
https://github.com/flutter/flutter/blob/main/docs/contributing/Style-guide-for-Flutter-repo.md
[Features we expect every widget to implement]:
https://github.com/flutter/flutter/blob/main/docs/contributing/Style-guide-for-Flutter-repo.md#features-we-expect-every-widget-to-implement
[CLA]: https://cla.developers.google.com/
[flutter/tests]: https://github.com/flutter/tests
[breaking change policy]:
https://github.com/flutter/flutter/blob/main/docs/contributing/Tree-hygiene.md#handling-breaking-changes
[Discord]:
https://github.com/flutter/flutter/blob/main/docs/contributing/Chat.md
[Data Driven Fixes]:
https://github.com/flutter/flutter/blob/main/docs/contributing/Data-driven-Fixes.md
pull Bot pushed a commit that referenced this pull request Nov 4, 2025
This test passes when run locally as instructed in the README for the
devicelab
```
../../bin/cache/dart-sdk/bin/dart bin/test_runner.dart test -t android_verified_input_test
```

but fails on CI:

https://ci.chromium.org/ui/p/flutter/builders/staging/Linux_pixel_7pro%20android_verified_input_test/106/overview
```
[2025-11-03 11:08:04.090018] [STDOUT] stdout: [        ]   Original error: ext.flutter.driver: (-32000) Service connection disposed
[2025-11-03 11:08:04.090156] [STDOUT] stdout: [        ]   Original stack trace:
[2025-11-03 11:08:04.090199] [STDOUT] stdout: [        ]   #0      new _OutstandingRequest (package:vm_service/src/vm_service.dart:268:34)
[2025-11-03 11:08:04.091572] [STDOUT] stdout: [        ]   #1      VmService._call.<anonymous closure> (package:vm_service/src/vm_service.dart:1950:25)
[2025-11-03 11:08:04.091647] [STDOUT] stdout: [        ]   #2      VmService._call (package:vm_service/src/vm_service.dart:1962:8)
[2025-11-03 11:08:04.091674] [STDOUT] stdout: [        ]   #3      VmService.callServiceExtension (package:vm_service/src/vm_service.dart:1901:14)
[2025-11-03 11:08:04.091693] [STDOUT] stdout: [        ]   #4      VMServiceFlutterDriver.sendCommand (package:flutter_driver/src/driver/vmservice_driver.dart:327:12)
[2025-11-03 11:08:04.091713] [STDOUT] stdout: [        ]   #5      FlutterDriver.requestData (package:flutter_driver/src/driver/driver.dart:573:13)
[2025-11-03 11:08:04.091733] [STDOUT] stdout: [        ]   #6      main.<anonymous closure> (file:///opt/s/w/ir/x/w/rc/tmpv6pcbna2/flutter%20sdk/dev/integration_tests/android_verified_input/test_driver/main_test.dart:28:57)
[2025-11-03 11:08:04.091750] [STDOUT] stdout: [        ]   <asynchronous suspension>
[2025-11-03 11:08:04.091767] [STDOUT] stdout: [        ]   #7      Declarer.test.<anonymous closure>.<anonymous closure> (package:test_api/src/backend/declarer.dart:242:9)
[2025-11-03 11:08:04.091784] [STDOUT] stdout: [        ]   <asynchronous suspension>
[2025-11-03 11:08:04.092408] [STDOUT] stdout: [        ]   #8      Declarer.test.<anonymous closure> (package:test_api/src/backend/declarer.dart:240:7)
[2025-11-03 11:08:04.092472] [STDOUT] stdout: [        ]   <asynchronous suspension>
[2025-11-03 11:08:04.092502] [STDOUT] stdout: [        ]   #9      Invoker._waitForOutstandingCallbacks.<anonymous closure> (package:test_api/src/backend/invoker.dart:282:9)
```

Try copying this configuration used by other tests as a speculative fix.
I can't get this test to kick off in presubmit, so I suppose we will
just try this. The test is marked bringup anyways so it won't block the
tree if this doesn't help.

## Pre-launch Checklist

- [x] I read the [Contributor Guide] and followed the process outlined
there for submitting PRs.
- [x] I read the [Tree Hygiene] wiki page, which explains my
responsibilities.
- [x] I read and followed the [Flutter Style Guide], including [Features
we expect every widget to implement].
- [x] I signed the [CLA].
- [x] I listed at least one issue that this PR fixes in the description
above.
- [x] I updated/added relevant documentation (doc comments with `///`).
- [x] I added new tests to check the change I am making, or this PR is
[test-exempt].
- [x] I followed the [breaking change policy] and added [Data Driven
Fixes] where supported.
- [x] All existing and new tests are passing.

If you need help, consider asking for advice on the #hackers-new channel
on [Discord].

**Note**: The Flutter team is currently trialing the use of [Gemini Code
Assist for
GitHub](https://developers.google.com/gemini-code-assist/docs/review-github-code).
Comments from the `gemini-code-assist` bot should not be taken as
authoritative feedback from the Flutter team. If you find its comments
useful you can update your code accordingly, but if you are unsure or
disagree with the feedback, please feel free to wait for a Flutter team
member's review for guidance on which automated comments should be
addressed.

<!-- Links -->
[Contributor Guide]:
https://github.com/flutter/flutter/blob/main/docs/contributing/Tree-hygiene.md#overview
[Tree Hygiene]:
https://github.com/flutter/flutter/blob/main/docs/contributing/Tree-hygiene.md
[test-exempt]:
https://github.com/flutter/flutter/blob/main/docs/contributing/Tree-hygiene.md#tests
[Flutter Style Guide]:
https://github.com/flutter/flutter/blob/main/docs/contributing/Style-guide-for-Flutter-repo.md
[Features we expect every widget to implement]:
https://github.com/flutter/flutter/blob/main/docs/contributing/Style-guide-for-Flutter-repo.md#features-we-expect-every-widget-to-implement
[CLA]: https://cla.developers.google.com/
[flutter/tests]: https://github.com/flutter/tests
[breaking change policy]:
https://github.com/flutter/flutter/blob/main/docs/contributing/Tree-hygiene.md#handling-breaking-changes
[Discord]:
https://github.com/flutter/flutter/blob/main/docs/contributing/Chat.md
[Data Driven Fixes]:
https://github.com/flutter/flutter/blob/main/docs/contributing/Data-driven-Fixes.md

---------

Co-authored-by: Gray Mackall <mackall@google.com>
pull Bot pushed a commit that referenced this pull request Apr 21, 2026
Relands https://github.com/flutter/flutter/pull/180573 with gradle
lockfiles updated.

Also contains a test fix by Gemini for a failure encountered on
[CI](https://logs.chromium.org/logs/flutter/buildbucket/cr-buildbucket/8683917112243416113/+/u/run_test.dart_for_tool_integration_tests_shard_and_subshard_2_5/stdout).

<details>
<summary>Encountered Failure</summary>
00:18 +2 -1: test/integration.shard/test_test.dart: flutter test should
run a test when its name contains a string when
--experimental-faster-testing is set [E]
Expected: a process with exit code 0 and stdout: "RegExp: pattern=\+\d+:
All tests passed! flags="
    Actual: <Instance of 'ProcessResult'>
     Which: Actual exitCode was 1
            Actual stdout:
            
00:00 +0: loading
/Volumes/Work/s/w/ir/x/w/flutter/dev/automated_tests/flutter_test/trivial_test.dart
[ERROR:flutter/shell/testing/tester_main.cc(622)] Unhandled exception
Exception:
'file:///Volumes/Work/s/w/ir/x/w/flutter/dev/automated_tests/build/isolate_spawning_tester/child_test_isolate_spawner.dart':
error:
build/isolate_spawning_tester/child_test_isolate_spawner.dart:142:30:
Error: Too many positional arguments: 3 allowed, but 4 found.
            Try removing the extra positional arguments.

createChannelAndConnect('/Volumes/Work/s/w/ir/x/w/flutter/dev/automated_tests/flutter_test/build/ios/SourcePackages/google_mobile_ads-8.0.0/test/ad_containers_test.dart',
route,
_Volumes_Work_s_w_ir_x_w_flutter_dev_automated_tests_flutter_test_build_ios_SourcePackages_google_mobile_ads-8_0_0_test_ad_containers_test.main);
                                         ^
Stack trace: #0 main
(file:///Volumes/Work/s/w/ir/x/w/flutter/dev/automated_tests/build/isolate_spawning_tester/root_test_isolate_spawner.dart:85:55)
#1 _runMain.<anonymous closure> (dart:ui/hooks.dart:430:23)
#2 _delayEntrypointInvocation.<anonymous closure>
(dart:isolate-patch/isolate_patch.dart:313:19)
#3 _RawReceivePort._handleMessage
(dart:isolate-patch/isolate_patch.dart:192:12)
            
            
            Actual stderr:
build/isolate_spawning_tester/child_test_isolate_spawner.dart:25:266:
Error: Digit separators ('_') in a number literal can only be placed
between two digits.
            Try removing the '_'.
import
'/Volumes/Work/s/w/ir/x/w/flutter/dev/automated_tests/flutter_test/build/ios/SourcePackages/google_mobile_ads-8.0.0/test/ad_containers_test.dart'
as
_Volumes_Work_s_w_ir_x_w_flutter_dev_automated_tests_flutter_test_build_ios_SourcePackages_google_mobile_ads-8_0_0_test_ad_containers_test;
^
build/isolate_spawning_tester/child_test_isolate_spawner.dart:26:277:
Error: Digit separators ('_') in a number literal can only be placed
between two digits.
            Try removing the '_'.
import
'/Volumes/Work/s/w/ir/x/w/flutter/dev/automated_tests/flutter_test/build/ios/SourcePackages/google_mobile_ads-8.0.0/test/ump/user_messaging_codec_test.dart'
as
_Volumes_Work_s_w_ir_x_w_flutter_dev_automated_tests_flutter_test_build_ios_SourcePackages_google_mobile_ads-8_0_0_test_ump_user_messaging_codec_test;
^
build/isolate_spawning_tester/child_test_isolate_spawner.dart:27:279:
Error: Digit separators ('_') in a number literal can only be placed
between two digits.
            Try removing the '_'.
import
'/Volumes/Work/s/w/ir/x/w/flutter/dev/automated_tests/flutter_test/build/ios/SourcePackages/google_mobile_ads-8.0.0/test/ump/user_messaging_channel_test.dart'
as
_Volumes_Work_s_w_ir_x_w_flutter_dev_automated_tests_flutter_test_build_ios_SourcePackages_google_mobile_ads-8_0_0_test_ump_user_messaging_channel_test;
^
build/isolate_spawning_tester/child_test_isolate_spawner.dart:28:269:
Error: Digit separators ('_') in a number literal can only be placed
between two digits.
            Try removing the '_'.
import
'/Volumes/Work/s/w/ir/x/w/flutter/dev/automated_tests/flutter_test/build/ios/SourcePackages/google_mobile_ads-8.0.0/test/ump/consent_form_test.dart'
as
_Volumes_Work_s_w_ir_x_w_flutter_dev_automated_tests_flutter_test_build_ios_SourcePackages_google_mobile_ads-8_0_0_test_ump_consent_form_test;
^
build/isolate_spawning_tester/child_test_isolate_spawner.dart:29:281:
Error: Digit separators ('_') in a number literal can only be placed
between two digits.
            Try removing the '_'.
import
'/Volumes/Work/s/w/ir/x/w/flutter/dev/automated_tests/flutter_test/build/ios/SourcePackages/google_mobile_ads-8.0.0/test/ump/consent_information_impl_test.dart'
as
_Volumes_Work_s_w_ir_x_w_flutter_dev_automated_tests_flutter_test_build_ios_SourcePackages_google_mobile_ads-8_0_0_test_ump_consent_information_impl_test;
^
build/isolate_spawning_tester/child_test_isolate_spawner.dart:30:274:
Error: Digit separators ('_') in a number literal can only be placed
between two digits.
            Try removing the '_'.
import
'/Volumes/Work/s/w/ir/x/w/flutter/dev/automated_tests/flutter_test/build/ios/SourcePackages/google_mobile_ads-8.0.0/test/ump/consent_form_impl_test.dart'
as
_Volumes_Work_s_w_ir_x_w_flutter_dev_automated_tests_flutter_test_build_ios_SourcePackages_google_mobile_ads-8_0_0_test_ump_consent_form_impl_test;
^
build/isolate_spawning_tester/child_test_isolate_spawner.dart:31:277:
Error: Digit separators ('_') in a number literal can only be placed
between two digits.
            Try removing the '_'.
import
'/Volumes/Work/s/w/ir/x/w/flutter/dev/automated_tests/flutter_test/build/ios/SourcePackages/google_mobile_ads-8.0.0/test/rewarded_interstitial_ad_test.dart'
as
_Volumes_Work_s_w_ir_x_w_flutter_dev_automated_tests_flutter_test_build_ios_SourcePackages_google_mobile_ads-8_0_0_test_rewarded_interstitial_ad_test;
^
build/isolate_spawning_tester/child_test_isolate_spawner.dart:32:263:
Error: Digit separators ('_') in a number literal can only be placed
between two digits.
            Try removing the '_'.
import
'/Volumes/Work/s/w/ir/x/w/flutter/dev/automated_tests/flutter_test/build/ios/SourcePackages/google_mobile_ads-8.0.0/test/mobile_ads_test.dart'
as
_Volumes_Work_s_w_ir_x_w_flutter_dev_automated_tests_flutter_test_build_ios_SourcePackages_google_mobile_ads-8_0_0_test_mobile_ads_test;
^
build/isolate_spawning_tester/child_test_isolate_spawner.dart:33:261:
Error: Digit separators ('_') in a number literal can only be placed
between two digits.
            Try removing the '_'.
import
'/Volumes/Work/s/w/ir/x/w/flutter/dev/automated_tests/flutter_test/build/ios/SourcePackages/google_mobile_ads-8.0.0/test/fluid_ad_test.dart'
as
_Volumes_Work_s_w_ir_x_w_flutter_dev_automated_tests_flutter_test_build_ios_SourcePackages_google_mobile_ads-8_0_0_test_fluid_ad_test;
^
build/isolate_spawning_tester/child_test_isolate_spawner.dart:34:272:
Error: Digit separators ('_') in a number literal can only be placed
between two digits.
            Try removing the '_'.
import
'/Volumes/Work/s/w/ir/x/w/flutter/dev/automated_tests/flutter_test/build/ios/SourcePackages/google_mobile_ads-8.0.0/test/admanager_banner_ad_test.dart'
as
_Volumes_Work_s_w_ir_x_w_flutter_dev_automated_tests_flutter_test_build_ios_SourcePackages_google_mobile_ads-8_0_0_test_admanager_banner_ad_test;
^
build/isolate_spawning_tester/child_test_isolate_spawner.dart:35:261:
Error: Digit separators ('_') in a number literal can only be placed
between two digits.
            Try removing the '_'.
import
'/Volumes/Work/s/w/ir/x/w/flutter/dev/automated_tests/flutter_test/build/ios/SourcePackages/google_mobile_ads-8.0.0/test/app_open_test.dart'
as
_Volumes_Work_s_w_ir_x_w_flutter_dev_automated_tests_flutter_test_build_ios_SourcePackages_google_mobile_ads-8_0_0_test_app_open_test;
^
build/isolate_spawning_tester/child_test_isolate_spawner.dart:36:262:
Error: Digit separators ('_') in a number literal can only be placed
between two digits.
            Try removing the '_'.
import
'/Volumes/Work/s/w/ir/x/w/flutter/dev/automated_tests/flutter_test/build/ios/SourcePackages/google_mobile_ads-8.0.0/test/banner_ad_test.dart'
as
_Volumes_Work_s_w_ir_x_w_flutter_dev_automated_tests_flutter_test_build_ios_SourcePackages_google_mobile_ads-8_0_0_test_banner_ad_test;
^
build/isolate_spawning_tester/child_test_isolate_spawner.dart:142:294:
Error: Digit separators ('_') in a number literal can only be placed
between two digits.
            Try removing the '_'.

createChannelAndConnect('/Volumes/Work/s/w/ir/x/w/flutter/dev/automated_tests/flutter_test/build/ios/SourcePackages/google_mobile_ads-8.0.0/test/ad_containers_test.dart',
route,
_Volumes_Work_s_w_ir_x_w_flutter_dev_automated_tests_flutter_test_build_ios_SourcePackages_google_mobile_ads-8_0_0_test_ad_containers_test.main);
^
build/isolate_spawning_tester/child_test_isolate_spawner.dart:144:305:
Error: Digit separators ('_') in a number literal can only be placed
between two digits.
            Try removing the '_'.

createChannelAndConnect('/Volumes/Work/s/w/ir/x/w/flutter/dev/automated_tests/flutter_test/build/ios/SourcePackages/google_mobile_ads-8.0.0/test/ump/user_messaging_codec_test.dart',
route,
_Volumes_Work_s_w_ir_x_w_flutter_dev_automated_tests_flutter_test_build_ios_SourcePackages_google_mobile_ads-8_0_0_test_ump_user_messaging_codec_test.main);
^
build/isolate_spawning_tester/child_test_isolate_spawner.dart:146:307:
Error: Digit separators ('_') in a number literal can only be placed
between two digits.
            Try removing the '_'.

createChannelAndConnect('/Volumes/Work/s/w/ir/x/w/flutter/dev/automated_tests/flutter_test/build/ios/SourcePackages/google_mobile_ads-8.0.0/test/ump/user_messaging_channel_test.dart',
route,
_Volumes_Work_s_w_ir_x_w_flutter_dev_automated_tests_flutter_test_build_ios_SourcePackages_google_mobile_ads-8_0_0_test_ump_user_messaging_channel_test.main);
^
build/isolate_spawning_tester/child_test_isolate_spawner.dart:148:297:
Error: Digit separators ('_') in a number literal can only be placed
between two digits.
            Try removing the '_'.

createChannelAndConnect('/Volumes/Work/s/w/ir/x/w/flutter/dev/automated_tests/flutter_test/build/ios/SourcePackages/google_mobile_ads-8.0.0/test/ump/consent_form_test.dart',
route,
_Volumes_Work_s_w_ir_x_w_flutter_dev_automated_tests_flutter_test_build_ios_SourcePackages_google_mobile_ads-8_0_0_test_ump_consent_form_test.main);
^
build/isolate_spawning_tester/child_test_isolate_spawner.dart:150:309:
Error: Digit separators ('_') in a number literal can only be placed
between two digits.
            Try removing the '_'.

createChannelAndConnect('/Volumes/Work/s/w/ir/x/w/flutter/dev/automated_tests/flutter_test/build/ios/SourcePackages/google_mobile_ads-8.0.0/test/ump/consent_information_impl_test.dart',
route,
_Volumes_Work_s_w_ir_x_w_flutter_dev_automated_tests_flutter_test_build_ios_SourcePackages_google_mobile_ads-8_0_0_test_ump_consent_information_impl_test.main);
^
build/isolate_spawning_tester/child_test_isolate_spawner.dart:152:302:
Error: Digit separators ('_') in a number literal can only be placed
between two digits.
            Try removing the '_'.

createChannelAndConnect('/Volumes/Work/s/w/ir/x/w/flutter/dev/automated_tests/flutter_test/build/ios/SourcePackages/google_mobile_ads-8.0.0/test/ump/consent_form_impl_test.dart',
route,
_Volumes_Work_s_w_ir_x_w_flutter_dev_automated_tests_flutter_test_build_ios_SourcePackages_google_mobile_ads-8_0_0_test_ump_consent_form_impl_test.main);
^
build/isolate_spawning_tester/child_test_isolate_spawner.dart:154:305:
Error: Digit separators ('_') in a number literal can only be placed
between two digits.
            Try removing the '_'.

createChannelAndConnect('/Volumes/Work/s/w/ir/x/w/flutter/dev/automated_tests/flutter_test/build/ios/SourcePackages/google_mobile_ads-8.0.0/test/rewarded_interstitial_ad_test.dart',
route,
_Volumes_Work_s_w_ir_x_w_flutter_dev_automated_tests_flutter_test_build_ios_SourcePackages_google_mobile_ads-8_0_0_test_rewarded_interstitial_ad_test.main);
^
build/isolate_spawning_tester/child_test_isolate_spawner.dart:156:291:
Error: Digit separators ('_') in a number literal can only be placed
between two digits.
            Try removing the '_'.

createChannelAndConnect('/Volumes/Work/s/w/ir/x/w/flutter/dev/automated_tests/flutter_test/build/ios/SourcePackages/google_mobile_ads-8.0.0/test/mobile_ads_test.dart',
route,
_Volumes_Work_s_w_ir_x_w_flutter_dev_automated_tests_flutter_test_build_ios_SourcePackages_google_mobile_ads-8_0_0_test_mobile_ads_test.main);
^
build/isolate_spawning_tester/child_test_isolate_spawner.dart:158:289:
Error: Digit separators ('_') in a number literal can only be placed
between two digits.
            Try removing the '_'.

createChannelAndConnect('/Volumes/Work/s/w/ir/x/w/flutter/dev/automated_tests/flutter_test/build/ios/SourcePackages/google_mobile_ads-8.0.0/test/fluid_ad_test.dart',
route,
_Volumes_Work_s_w_ir_x_w_flutter_dev_automated_tests_flutter_test_build_ios_SourcePackages_google_mobile_ads-8_0_0_test_fluid_ad_test.main);
^
build/isolate_spawning_tester/child_test_isolate_spawner.dart:160:300:
Error: Digit separators ('_') in a number literal can only be placed
between two digits.
            Try removing the '_'.

createChannelAndConnect('/Volumes/Work/s/w/ir/x/w/flutter/dev/automated_tests/flutter_test/build/ios/SourcePackages/google_mobile_ads-8.0.0/test/admanager_banner_ad_test.dart',
route,
_Volumes_Work_s_w_ir_x_w_flutter_dev_automated_tests_flutter_test_build_ios_SourcePackages_google_mobile_ads-8_0_0_test_admanager_banner_ad_test.main);
^
build/isolate_spawning_tester/child_test_isolate_spawner.dart:162:289:
Error: Digit separators ('_') in a number literal can only be placed
between two digits.
            Try removing the '_'.

createChannelAndConnect('/Volumes/Work/s/w/ir/x/w/flutter/dev/automated_tests/flutter_test/build/ios/SourcePackages/google_mobile_ads-8.0.0/test/app_open_test.dart',
route,
_Volumes_Work_s_w_ir_x_w_flutter_dev_automated_tests_flutter_test_build_ios_SourcePackages_google_mobile_ads-8_0_0_test_app_open_test.main);
^
build/isolate_spawning_tester/child_test_isolate_spawner.dart:164:290:
Error: Digit separators ('_') in a number literal can only be placed
between two digits.
            Try removing the '_'.

createChannelAndConnect('/Volumes/Work/s/w/ir/x/w/flutter/dev/automated_tests/flutter_test/build/ios/SourcePackages/google_mobile_ads-8.0.0/test/banner_ad_test.dart',
route,
_Volumes_Work_s_w_ir_x_w_flutter_dev_automated_tests_flutter_test_build_ios_SourcePackages_google_mobile_ads-8_0_0_test_banner_ad_test.main);
^
build/isolate_spawning_tester/child_test_isolate_spawner.dart:25:157:
Error: Expected ';' after this.
import
'/Volumes/Work/s/w/ir/x/w/flutter/dev/automated_tests/flutter_test/build/ios/SourcePackages/google_mobile_ads-8.0.0/test/ad_containers_test.dart'
as
_Volumes_Work_s_w_ir_x_w_flutter_dev_automated_tests_flutter_test_build_ios_SourcePackages_google_mobile_ads-8_0_0_test_ad_containers_test;

^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
build/isolate_spawning_tester/child_test_isolate_spawner.dart:25:265:
Error: Expected a declaration, but got '-'.
import
'/Volumes/Work/s/w/ir/x/w/flutter/dev/automated_tests/flutter_test/build/ios/SourcePackages/google_mobile_ads-8.0.0/test/ad_containers_test.dart'
as
_Volumes_Work_s_w_ir_x_w_flutter_dev_automated_tests_flutter_test_build_ios_SourcePackages_google_mobile_ads-8_0_0_test_ad_containers_test;
^
build/isolate_spawning_tester/child_test_isolate_spawner.dart:25:266:
Error: Expected a declaration, but got '8_0_0_'.
import
'/Volumes/Work/s/w/ir/x/w/flutter/dev/automated_tests/flutter_test/build/ios/SourcePackages/google_mobile_ads-8.0.0/test/ad_containers_test.dart'
as
_Volumes_Work_s_w_ir_x_w_flutter_dev_automated_tests_flutter_test_build_ios_SourcePackages_google_mobile_ads-8_0_0_test_ad_containers_test;
^^^^^^
build/isolate_spawning_tester/child_test_isolate_spawner.dart:25:272:
Error: Variables must be declared using the keywords 'const', 'final',
'var' or a type name.
Try adding the name of the type of the variable or the keyword 'var'.
import
'/Volumes/Work/s/w/ir/x/w/flutter/dev/automated_tests/flutter_test/build/ios/SourcePackages/google_mobile_ads-8.0.0/test/ad_containers_test.dart'
as
_Volumes_Work_s_w_ir_x_w_flutter_dev_automated_tests_flutter_test_build_ios_SourcePackages_google_mobile_ads-8_0_0_test_ad_containers_test;
^^^^^^^^^^^^^^^^^^^^^^^
build/isolate_spawning_tester/child_test_isolate_spawner.dart:26:1:
Error: Directives must appear before any declarations.
            Try moving the directive before any declarations.
import
'/Volumes/Work/s/w/ir/x/w/flutter/dev/automated_tests/flutter_test/build/ios/SourcePackages/google_mobile_ads-8.0.0/test/ump/user_messaging_codec_test.dart'
as
_Volumes_Work_s_w_ir_x_w_flutter_dev_automated_tests_flutter_test_build_ios_SourcePackages_google_mobile_ads-8_0_0_test_ump_user_messaging_codec_test;
            ^^^^^^
build/isolate_spawning_tester/child_test_isolate_spawner.dart:26:168:
Error: Expected ';' after this.
import
'/Volumes/Work/s/w/ir/x/w/flutter/dev/automated_tests/flutter_test/build/ios/SourcePackages/google_mobile_ads-8.0.0/test/ump/user_messaging_codec_test.dart'
as
_Volumes_Work_s_w_ir_x_w_flutter_dev_automated_tests_flutter_test_build_ios_SourcePackages_google_mobile_ads-8_0_0_test_ump_user_messaging_codec_test;

^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
build/isolate_spawning_tester/child_test_isolate_spawner.dart:26:276:
Error: Expected a declaration, but got '-'.
import
'/Volumes/Work/s/w/ir/x/w/flutter/dev/automated_tests/flutter_test/build/ios/SourcePackages/google_mobile_ads-8.0.0/test/ump/user_messaging_codec_test.dart'
as
_Volumes_Work_s_w_ir_x_w_flutter_dev_automated_tests_flutter_test_build_ios_SourcePackages_google_mobile_ads-8_0_0_test_ump_user_messaging_codec_test;
^
build/isolate_spawning_tester/child_test_isolate_spawner.dart:26:277:
Error: Expected a declaration, but got '8_0_0_'.
import
'/Volumes/Work/s/w/ir/x/w/flutter/dev/automated_tests/flutter_test/build/ios/SourcePackages/google_mobile_ads-8.0.0/test/ump/user_messaging_codec_test.dart'
as
_Volumes_Work_s_w_ir_x_w_flutter_dev_automated_tests_flutter_test_build_ios_SourcePackages_google_mobile_ads-8_0_0_test_ump_user_messaging_codec_test;
^^^^^^
build/isolate_spawning_tester/child_test_isolate_spawner.dart:26:283:
Error: Variables must be declared using the keywords 'const', 'final',
'var' or a type name.
Try adding the name of the type of the variable or the keyword 'var'.
import
'/Volumes/Work/s/w/ir/x/w/flutter/dev/automated_tests/flutter_test/build/ios/SourcePackages/google_mobile_ads-8.0.0/test/ump/user_messaging_codec_test.dart'
as
_Volumes_Work_s_w_ir_x_w_flutter_dev_automated_tests_flutter_test_build_ios_SourcePackages_google_mobile_ads-8_0_0_test_ump_user_messaging_codec_test;
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
build/isolate_spawning_tester/child_test_isolate_spawner.dart:27:1:
Error: Directives must appear before any declarations.
            Try moving the directive before any declarations.
import
'/Volumes/Work/s/w/ir/x/w/flutter/dev/automated_tests/flutter_test/build/ios/SourcePackages/google_mobile_ads-8.0.0/test/ump/user_messaging_channel_test.dart'
as
_Volumes_Work_s_w_ir_x_w_flutter_dev_automated_tests_flutter_test_build_ios_SourcePackages_google_mobile_ads-8_0_0_test_ump_user_messaging_channel_test;
            ^^^^^^
build/isolate_spawning_tester/child_test_isolate_spawner.dart:27:170:
Error: Expected ';' after this.
import
'/Volumes/Work/s/w/ir/x/w/flutter/dev/automated_tests/flutter_test/build/ios/SourcePackages/google_mobile_ads-8.0.0/test/ump/user_messaging_channel_test.dart'
as
_Volumes_Work_s_w_ir_x_w_flutter_dev_automated_tests_flutter_test_build_ios_SourcePackages_google_mobile_ads-8_0_0_test_ump_user_messaging_channel_test;

^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
build/isolate_spawning_tester/child_test_isolate_spawner.dart:27:278:
Error: Expected a declaration, but got '-'.
import
'/Volumes/Work/s/w/ir/x/w/flutter/dev/automated_tests/flutter_test/build/ios/SourcePackages/google_mobile_ads-8.0.0/test/ump/user_messaging_channel_test.dart'
as
_Volumes_Work_s_w_ir_x_w_flutter_dev_automated_tests_flutter_test_build_ios_SourcePackages_google_mobile_ads-8_0_0_test_ump_user_messaging_channel_test;
^
build/isolate_spawning_tester/child_test_isolate_spawner.dart:27:279:
Error: Expected a declaration, but got '8_0_0_'.
import
'/Volumes/Work/s/w/ir/x/w/flutter/dev/automated_tests/flutter_test/build/ios/SourcePackages/google_mobile_ads-8.0.0/test/ump/user_messaging_channel_test.dart'
as
_Volumes_Work_s_w_ir_x_w_flutter_dev_automated_tests_flutter_test_build_ios_SourcePackages_google_mobile_ads-8_0_0_test_ump_user_messaging_channel_test;
^^^^^^
build/isolate_spawning_tester/child_test_isolate_spawner.dart:27:285:
Error: Variables must be declared using the keywords 'const', 'final',
'var' or a type name.
Try adding the name of the type of the variable or the keyword 'var'.
import
'/Volumes/Work/s/w/ir/x/w/flutter/dev/automated_tests/flutter_test/build/ios/SourcePackages/google_mobile_ads-8.0.0/test/ump/user_messaging_channel_test.dart'
as
_Volumes_Work_s_w_ir_x_w_flutter_dev_automated_tests_flutter_test_build_ios_SourcePackages_google_mobile_ads-8_0_0_test_ump_user_messaging_channel_test;
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
build/isolate_spawning_tester/child_test_isolate_spawner.dart:28:1:
Error: Directives must appear before any declarations.
            Try moving the directive before any declarations.
import
'/Volumes/Work/s/w/ir/x/w/flutter/dev/automated_tests/flutter_test/build/ios/SourcePackages/google_mobile_ads-8.0.0/test/ump/consent_form_test.dart'
as
_Volumes_Work_s_w_ir_x_w_flutter_dev_automated_tests_flutter_test_build_ios_SourcePackages_google_mobile_ads-8_0_0_test_ump_consent_form_test;
            ^^^^^^
build/isolate_spawning_tester/child_test_isolate_spawner.dart:28:160:
Error: Expected ';' after this.
import
'/Volumes/Work/s/w/ir/x/w/flutter/dev/automated_tests/flutter_test/build/ios/SourcePackages/google_mobile_ads-8.0.0/test/ump/consent_form_test.dart'
as
_Volumes_Work_s_w_ir_x_w_flutter_dev_automated_tests_flutter_test_build_ios_SourcePackages_google_mobile_ads-8_0_0_test_ump_consent_form_test;

^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
build/isolate_spawning_tester/child_test_isolate_spawner.dart:28:268:
Error: Expected a declaration, but got '-'.
import
'/Volumes/Work/s/w/ir/x/w/flutter/dev/automated_tests/flutter_test/build/ios/SourcePackages/google_mobile_ads-8.0.0/test/ump/consent_form_test.dart'
as
_Volumes_Work_s_w_ir_x_w_flutter_dev_automated_tests_flutter_test_build_ios_SourcePackages_google_mobile_ads-8_0_0_test_ump_consent_form_test;
^
build/isolate_spawning_tester/child_test_isolate_spawner.dart:28:269:
Error: Expected a declaration, but got '8_0_0_'.
import
'/Volumes/Work/s/w/ir/x/w/flutter/dev/automated_tests/flutter_test/build/ios/SourcePackages/google_mobile_ads-8.0.0/test/ump/consent_form_test.dart'
as
_Volumes_Work_s_w_ir_x_w_flutter_dev_automated_tests_flutter_test_build_ios_SourcePackages_google_mobile_ads-8_0_0_test_ump_consent_form_test;
^^^^^^
build/isolate_spawning_tester/child_test_isolate_spawner.dart:28:275:
Error: Variables must be declared using the keywords 'const', 'final',
'var' or a type name.
Try adding the name of the type of the variable or the keyword 'var'.
import
'/Volumes/Work/s/w/ir/x/w/flutter/dev/automated_tests/flutter_test/build/ios/SourcePackages/google_mobile_ads-8.0.0/test/ump/consent_form_test.dart'
as
_Volumes_Work_s_w_ir_x_w_flutter_dev_automated_tests_flutter_test_build_ios_SourcePackages_google_mobile_ads-8_0_0_test_ump_consent_form_test;
^^^^^^^^^^^^^^^^^^^^^^^^^^
build/isolate_spawning_tester/child_test_isolate_spawner.dart:29:1:
Error: Directives must appear before any declarations.
            Try moving the directive before any declarations.
import
'/Volumes/Work/s/w/ir/x/w/flutter/dev/automated_tests/flutter_test/build/ios/SourcePackages/google_mobile_ads-8.0.0/test/ump/consent_information_impl_test.dart'
as
_Volumes_Work_s_w_ir_x_w_flutter_dev_automated_tests_flutter_test_build_ios_SourcePackages_google_mobile_ads-8_0_0_test_ump_consent_information_impl_test;
            ^^^^^^
build/isolate_spawning_tester/child_test_isolate_spawner.dart:29:172:
Error: Expected ';' after this.
import
'/Volumes/Work/s/w/ir/x/w/flutter/dev/automated_tests/flutter_test/build/ios/SourcePackages/google_mobile_ads-8.0.0/test/ump/consent_information_impl_test.dart'
as
_Volumes_Work_s_w_ir_x_w_flutter_dev_automated_tests_flutter_test_build_ios_SourcePackages_google_mobile_ads-8_0_0_test_ump_consent_information_impl_test;

^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
build/isolate_spawning_tester/child_test_isolate_spawner.dart:29:280:
Error: Expected a declaration, but got '-'.
import
'/Volumes/Work/s/w/ir/x/w/flutter/dev/automated_tests/flutter_test/build/ios/SourcePackages/google_mobile_ads-8.0.0/test/ump/consent_information_impl_test.dart'
as
_Volumes_Work_s_w_ir_x_w_flutter_dev_automated_tests_flutter_test_build_ios_SourcePackages_google_mobile_ads-8_0_0_test_ump_consent_information_impl_test;
^
build/isolate_spawning_tester/child_test_isolate_spawner.dart:29:281:
Error: Expected a declaration, but got '8_0_0_'.
import
'/Volumes/Work/s/w/ir/x/w/flutter/dev/automated_tests/flutter_test/build/ios/SourcePackages/google_mobile_ads-8.0.0/test/ump/consent_information_impl_test.dart'
as
_Volumes_Work_s_w_ir_x_w_flutter_dev_automated_tests_flutter_test_build_ios_SourcePackages_google_mobile_ads-8_0_0_test_ump_consent_information_impl_test;
^^^^^^
build/isolate_spawning_tester/child_test_isolate_spawner.dart:29:287:
Error: Variables must be declared using the keywords 'const', 'final',
'var' or a type name.
Try adding the name of the type of the variable or the keyword 'var'.
import
'/Volumes/Work/s/w/ir/x/w/flutter/dev/automated_tests/flutter_test/build/ios/SourcePackages/google_mobile_ads-8.0.0/test/ump/consent_information_impl_test.dart'
as
_Volumes_Work_s_w_ir_x_w_flutter_dev_automated_tests_flutter_test_build_ios_SourcePackages_google_mobile_ads-8_0_0_test_ump_consent_information_impl_test;
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
build/isolate_spawning_tester/child_test_isolate_spawner.dart:30:1:
Error: Directives must appear before any declarations.
            Try moving the directive before any declarations.
import
'/Volumes/Work/s/w/ir/x/w/flutter/dev/automated_tests/flutter_test/build/ios/SourcePackages/google_mobile_ads-8.0.0/test/ump/consent_form_impl_test.dart'
as
_Volumes_Work_s_w_ir_x_w_flutter_dev_automated_tests_flutter_test_build_ios_SourcePackages_google_mobile_ads-8_0_0_test_ump_consent_form_impl_test;
            ^^^^^^
build/isolate_spawning_tester/child_test_isolate_spawner.dart:30:165:
Error: Expected ';' after this.
import
'/Volumes/Work/s/w/ir/x/w/flutter/dev/automated_tests/flutter_test/build/ios/SourcePackages/google_mobile_ads-8.0.0/test/ump/consent_form_impl_test.dart'
as
_Volumes_Work_s_w_ir_x_w_flutter_dev_automated_tests_flutter_test_build_ios_SourcePackages_google_mobile_ads-8_0_0_test_ump_consent_form_impl_test;

^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
build/isolate_spawning_tester/child_test_isolate_spawner.dart:30:273:
Error: Expected a declaration, but got '-'.
import
'/Volumes/Work/s/w/ir/x/w/flutter/dev/automated_tests/flutter_test/build/ios/SourcePackages/google_mobile_ads-8.0.0/test/ump/consent_form_impl_test.dart'
as
_Volumes_Work_s_w_ir_x_w_flutter_dev_automated_tests_flutter_test_build_ios_SourcePackages_google_mobile_ads-8_0_0_test_ump_consent_form_impl_test;
^
build/isolate_spawning_tester/child_test_isolate_spawner.dart:30:274:
Error: Expected a declaration, but got '8_0_0_'.
import
'/Volumes/Work/s/w/ir/x/w/flutter/dev/automated_tests/flutter_test/build/ios/SourcePackages/google_mobile_ads-8.0.0/test/ump/consent_form_impl_test.dart'
as
_Volumes_Work_s_w_ir_x_w_flutter_dev_automated_tests_flutter_test_build_ios_SourcePackages_google_mobile_ads-8_0_0_test_ump_consent_form_impl_test;
^^^^^^
build/isolate_spawning_tester/child_test_isolate_spawner.dart:30:280:
Error: Variables must be declared using the keywords 'const', 'final',
'var' or a type name.
Try adding the name of the type of the variable or the keyword 'var'.
import
'/Volumes/Work/s/w/ir/x/w/flutter/dev/automated_tests/flutter_test/build/ios/SourcePackages/google_mobile_ads-8.0.0/test/ump/consent_form_impl_test.dart'
as
_Volumes_Work_s_w_ir_x_w_flutter_dev_automated_tests_flutter_test_build_ios_SourcePackages_google_mobile_ads-8_0_0_test_ump_consent_form_impl_test;
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
build/isolate_spawning_tester/child_test_isolate_spawner.dart:31:1:
Error: Directives must appear before any declarations.
            Try moving the directive before any declarations.
import
'/Volumes/Work/s/w/ir/x/w/flutter/dev/automated_tests/flutter_test/build/ios/SourcePackages/google_mobile_ads-8.0.0/test/rewarded_interstitial_ad_test.dart'
as
_Volumes_Work_s_w_ir_x_w_flutter_dev_automated_tests_flutter_test_build_ios_SourcePackages_google_mobile_ads-8_0_0_test_rewarded_interstitial_ad_test;
            ^^^^^^
build/isolate_spawning_tester/child_test_isolate_spawner.dart:31:168:
Error: Expected ';' after this.
import
'/Volumes/Work/s/w/ir/x/w/flutter/dev/automated_tests/flutter_test/build/ios/SourcePackages/google_mobile_ads-8.0.0/test/rewarded_interstitial_ad_test.dart'
as
_Volumes_Work_s_w_ir_x_w_flutter_dev_automated_tests_flutter_test_build_ios_SourcePackages_google_mobile_ads-8_0_0_test_rewarded_interstitial_ad_test;

^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
build/isolate_spawning_tester/child_test_isolate_spawner.dart:31:276:
Error: Expected a declaration, but got '-'.
import
'/Volumes/Work/s/w/ir/x/w/flutter/dev/automated_tests/flutter_test/build/ios/SourcePackages/google_mobile_ads-8.0.0/test/rewarded_interstitial_ad_test.dart'
as
_Volumes_Work_s_w_ir_x_w_flutter_dev_automated_tests_flutter_test_build_ios_SourcePackages_google_mobile_ads-8_0_0_test_rewarded_interstitial_ad_test;
^
build/isolate_spawning_tester/child_test_isolate_spawner.dart:31:277:
Error: Expected a declaration, but got '8_0_0_'.
import
'/Volumes/Work/s/w/ir/x/w/flutter/dev/automated_tests/flutter_test/build/ios/SourcePackages/google_mobile_ads-8.0.0/test/rewarded_interstitial_ad_test.dart'
as
_Volumes_Work_s_w_ir_x_w_flutter_dev_automated_tests_flutter_test_build_ios_SourcePackages_google_mobile_ads-8_0_0_test_rewarded_interstitial_ad_test;
^^^^^^
build/isolate_spawning_tester/child_test_isolate_spawner.dart:31:283:
Error: Variables must be declared using the keywords 'const', 'final',
'var' or a type name.
Try adding the name of the type of the variable or the keyword 'var'.
import
'/Volumes/Work/s/w/ir/x/w/flutter/dev/automated_tests/flutter_test/build/ios/SourcePackages/google_mobile_ads-8.0.0/test/rewarded_interstitial_ad_test.dart'
as
_Volumes_Work_s_w_ir_x_w_flutter_dev_automated_tests_flutter_test_build_ios_SourcePackages_google_mobile_ads-8_0_0_test_rewarded_interstitial_ad_test;
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
build/isolate_spawning_tester/child_test_isolate_spawner.dart:32:1:
Error: Directives must appear before any declarations.
            Try moving the directive before any declarations.
import
'/Volumes/Work/s/w/ir/x/w/flutter/dev/automated_tests/flutter_test/build/ios/SourcePackages/google_mobile_ads-8.0.0/test/mobile_ads_test.dart'
as
_Volumes_Work_s_w_ir_x_w_flutter_dev_automated_tests_flutter_test_build_ios_SourcePackages_google_mobile_ads-8_0_0_test_mobile_ads_test;
            ^^^^^^
build/isolate_spawning_tester/child_test_isolate_spawner.dart:32:154:
Error: Expected ';' after this.
import
'/Volumes/Work/s/w/ir/x/w/flutter/dev/automated_tests/flutter_test/build/ios/SourcePackages/google_mobile_ads-8.0.0/test/mobile_ads_test.dart'
as
_Volumes_Work_s_w_ir_x_w_flutter_dev_automated_tests_flutter_test_build_ios_SourcePackages_google_mobile_ads-8_0_0_test_mobile_ads_test;

^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
build/isolate_spawning_tester/child_test_isolate_spawner.dart:32:262:
Error: Expected a declaration, but got '-'.
import
'/Volumes/Work/s/w/ir/x/w/flutter/dev/automated_tests/flutter_test/build/ios/SourcePackages/google_mobile_ads-8.0.0/test/mobile_ads_test.dart'
as
_Volumes_Work_s_w_ir_x_w_flutter_dev_automated_tests_flutter_test_build_ios_SourcePackages_google_mobile_ads-8_0_0_test_mobile_ads_test;
^
build/isolate_spawning_tester/child_test_isolate_spawner.dart:32:263:
Error: Expected a declaration, but got '8_0_0_'.
import
'/Volumes/Work/s/w/ir/x/w/flutter/dev/automated_tests/flutter_test/build/ios/SourcePackages/google_mobile_ads-8.0.0/test/mobile_ads_test.dart'
as
_Volumes_Work_s_w_ir_x_w_flutter_dev_automated_tests_flutter_test_build_ios_SourcePackages_google_mobile_ads-8_0_0_test_mobile_ads_test;
^^^^^^
build/isolate_spawning_tester/child_test_isolate_spawner.dart:32:269:
Error: Variables must be declared using the keywords 'const', 'final',
'var' or a type name.
Try adding the name of the type of the variable or the keyword 'var'.
import
'/Volumes/Work/s/w/ir/x/w/flutter/dev/automated_tests/flutter_test/build/ios/SourcePackages/google_mobile_ads-8.0.0/test/mobile_ads_test.dart'
as
_Volumes_Work_s_w_ir_x_w_flutter_dev_automated_tests_flutter_test_build_ios_SourcePackages_google_mobile_ads-8_0_0_test_mobile_ads_test;
^^^^^^^^^^^^^^^^^^^^
build/isolate_spawning_tester/child_test_isolate_spawner.dart:33:1:
Error: Directives must appear before any declarations.
            Try moving the directive before any declarations.
import
'/Volumes/Work/s/w/ir/x/w/flutter/dev/automated_tests/flutter_test/build/ios/SourcePackages/google_mobile_ads-8.0.0/test/fluid_ad_test.dart'
as
_Volumes_Work_s_w_ir_x_w_flutter_dev_automated_tests_flutter_test_build_ios_SourcePackages_google_mobile_ads-8_0_0_test_fluid_ad_test;
            ^^^^^^
build/isolate_spawning_tester/child_test_isolate_spawner.dart:33:152:
Error: Expected ';' after this.
import
'/Volumes/Work/s/w/ir/x/w/flutter/dev/automated_tests/flutter_test/build/ios/SourcePackages/google_mobile_ads-8.0.0/test/fluid_ad_test.dart'
as
_Volumes_Work_s_w_ir_x_w_flutter_dev_automated_tests_flutter_test_build_ios_SourcePackages_google_mobile_ads-8_0_0_test_fluid_ad_test;

^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
build/isolate_spawning_tester/child_test_isolate_spawner.dart:33:260:
Error: Expected a declaration, but got '-'.
import
'/Volumes/Work/s/w/ir/x/w/flutter/dev/automated_tests/flutter_test/build/ios/SourcePackages/google_mobile_ads-8.0.0/test/fluid_ad_test.dart'
as
_Volumes_Work_s_w_ir_x_w_flutter_dev_automated_tests_flutter_test_build_ios_SourcePackages_google_mobile_ads-8_0_0_test_fluid_ad_test;
^
build/isolate_spawning_tester/child_test_isolate_spawner.dart:33:261:
Error: Expected a declaration, but got '8_0_0_'.
import
'/Volumes/Work/s/w/ir/x/w/flutter/dev/automated_tests/flutter_test/build/ios/SourcePackages/google_mobile_ads-8.0.0/test/fluid_ad_test.dart'
as
_Volumes_Work_s_w_ir_x_w_flutter_dev_automated_tests_flutter_test_build_ios_SourcePackages_google_mobile_ads-8_0_0_test_fluid_ad_test;
^^^^^^
build/isolate_spawning_tester/child_test_isolate_spawner.dart:33:267:
Error: Variables must be declared using the keywords 'const', 'final',
'var' or a type name.
Try adding the name of the type of the variable or the keyword 'var'.
import
'/Volumes/Work/s/w/ir/x/w/flutter/dev/automated_tests/flutter_test/build/ios/SourcePackages/google_mobile_ads-8.0.0/test/fluid_ad_test.dart'
as
_Volumes_Work_s_w_ir_x_w_flutter_dev_automated_tests_flutter_test_build_ios_SourcePackages_google_mobile_ads-8_0_0_test_fluid_ad_test;
^^^^^^^^^^^^^^^^^^
build/isolate_spawning_tester/child_test_isolate_spawner.dart:34:1:
Error: Directives must appear before any declarations.
            Try moving the directive before any declarations.
import
'/Volumes/Work/s/w/ir/x/w/flutter/dev/automated_tests/flutter_test/build/ios/SourcePackages/google_mobile_ads-8.0.0/test/admanager_banner_ad_test.dart'
as
_Volumes_Work_s_w_ir_x_w_flutter_dev_automated_tests_flutter_test_build_ios_SourcePackages_google_mobile_ads-8_0_0_test_admanager_banner_ad_test;
            ^^^^^^
build/isolate_spawning_tester/child_test_isolate_spawner.dart:34:163:
Error: Expected ';' after this.
import
'/Volumes/Work/s/w/ir/x/w/flutter/dev/automated_tests/flutter_test/build/ios/SourcePackages/google_mobile_ads-8.0.0/test/admanager_banner_ad_test.dart'
as
_Volumes_Work_s_w_ir_x_w_flutter_dev_automated_tests_flutter_test_build_ios_SourcePackages_google_mobile_ads-8_0_0_test_admanager_banner_ad_test;

^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
build/isolate_spawning_tester/child_test_isolate_spawner.dart:34:271:
Error: Expected a declaration, but got '-'.
import
'/Volumes/Work/s/w/ir/x/w/flutter/dev/automated_tests/flutter_test/build/ios/SourcePackages/google_mobile_ads-8.0.0/test/admanager_banner_ad_test.dart'
as
_Volumes_Work_s_w_ir_x_w_flutter_dev_automated_tests_flutter_test_build_ios_SourcePackages_google_mobile_ads-8_0_0_test_admanager_banner_ad_test;
^
build/isolate_spawning_tester/child_test_isolate_spawner.dart:34:272:
Error: Expected a declaration, but got '8_0_0_'.
import
'/Volumes/Work/s/w/ir/x/w/flutter/dev/automated_tests/flutter_test/build/ios/SourcePackages/google_mobile_ads-8.0.0/test/admanager_banner_ad_test.dart'
as
_Volumes_Work_s_w_ir_x_w_flutter_dev_automated_tests_flutter_test_build_ios_SourcePackages_google_mobile_ads-8_0_0_test_admanager_banner_ad_test;
^^^^^^
build/isolate_spawning_tester/child_test_isolate_spawner.dart:34:278:
Error: Variables must be declared using the keywords 'const', 'final',
'var' or a type name.
Try adding the name of the type of the variable or the keyword 'var'.
import
'/Volumes/Work/s/w/ir/x/w/flutter/dev/automated_tests/flutter_test/build/ios/SourcePackages/google_mobile_ads-8.0.0/test/admanager_banner_ad_test.dart'
as
_Volumes_Work_s_w_ir_x_w_flutter_dev_automated_tests_flutter_test_build_ios_SourcePackages_google_mobile_ads-8_0_0_test_admanager_banner_ad_test;
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
build/isolate_spawning_tester/child_test_isolate_spawner.dart:35:1:
Error: Directives must appear before any declarations.
            Try moving the directive before any declarations.
import
'/Volumes/Work/s/w/ir/x/w/flutter/dev/automated_tests/flutter_test/build/ios/SourcePackages/google_mobile_ads-8.0.0/test/app_open_test.dart'
as
_Volumes_Work_s_w_ir_x_w_flutter_dev_automated_tests_flutter_test_build_ios_SourcePackages_google_mobile_ads-8_0_0_test_app_open_test;
            ^^^^^^
build/isolate_spawning_tester/child_test_isolate_spawner.dart:35:152:
Error: Expected ';' after this.
import
'/Volumes/Work/s/w/ir/x/w/flutter/dev/automated_tests/flutter_test/build/ios/SourcePackages/google_mobile_ads-8.0.0/test/app_open_test.dart'
as
_Volumes_Work_s_w_ir_x_w_flutter_dev_automated_tests_flutter_test_build_ios_SourcePackages_google_mobile_ads-8_0_0_test_app_open_test;

^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
build/isolate_spawning_tester/child_test_isolate_spawner.dart:35:260:
Error: Expected a declaration, but got '-'.
import
'/Volumes/Work/s/w/ir/x/w/flutter/dev/automated_tests/flutter_test/build/ios/SourcePackages/google_mobile_ads-8.0.0/test/app_open_test.dart'
as
_Volumes_Work_s_w_ir_x_w_flutter_dev_automated_tests_flutter_test_build_ios_SourcePackages_google_mobile_ads-8_0_0_test_app_open_test;
^
build/isolate_spawning_tester/child_test_isolate_spawner.dart:35:261:
Error: Expected a declaration, but got '8_0_0_'.
import
'/Volumes/Work/s/w/ir/x/w/flutter/dev/automated_tests/flutter_test/build/ios/SourcePackages/google_mobile_ads-8.0.0/test/app_open_test.dart'
as
_Volumes_Work_s_w_ir_x_w_flutter_dev_automated_tests_flutter_test_build_ios_SourcePackages_google_mobile_ads-8_0_0_test_app_open_test;
^^^^^^
build/isolate_spawning_tester/child_test_isolate_spawner.dart:35:267:
Error: Variables must be declared using the keywords 'const', 'final',
'var' or a type name.
Try adding the name of the type of the variable or the keyword 'var'.
import
'/Volumes/Work/s/w/ir/x/w/flutter/dev/automated_tests/flutter_test/build/ios/SourcePackages/google_mobile_ads-8.0.0/test/app_open_test.dart'
as
_Volumes_Work_s_w_ir_x_w_flutter_dev_automated_tests_flutter_test_build_ios_SourcePackages_google_mobile_ads-8_0_0_test_app_open_test;
^^^^^^^^^^^^^^^^^^
build/isolate_spawning_tester/child_test_isolate_spawner.dart:36:1:
Error: Directives must appear before any declarations.
            Try moving the directive before any declarations.
import
'/Volumes/Work/s/w/ir/x/w/flutter/dev/automated_tests/flutter_test/build/ios/SourcePackages/google_mobile_ads-8.0.0/test/banner_ad_test.dart'
as
_Volumes_Work_s_w_ir_x_w_flutter_dev_automated_tests_flutter_test_build_ios_SourcePackages_google_mobile_ads-8_0_0_test_banner_ad_test;
            ^^^^^^
build/isolate_spawning_tester/child_test_isolate_spawner.dart:36:153:
Error: Expected ';' after this.
import
'/Volumes/Work/s/w/ir/x/w/flutter/dev/automated_tests/flutter_test/build/ios/SourcePackages/google_mobile_ads-8.0.0/test/banner_ad_test.dart'
as
_Volumes_Work_s_w_ir_x_w_flutter_dev_automated_tests_flutter_test_build_ios_SourcePackages_google_mobile_ads-8_0_0_test_banner_ad_test;

^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
build/isolate_spawning_tester/child_test_isolate_spawner.dart:36:261:
Error: Expected a declaration, but got '-'.
import
'/Volumes/Work/s/w/ir/x/w/flutter/dev/automated_tests/flutter_test/build/ios/SourcePackages/google_mobile_ads-8.0.0/test/banner_ad_test.dart'
as
_Volumes_Work_s_w_ir_x_w_flutter_dev_automated_tests_flutter_test_build_ios_SourcePackages_google_mobile_ads-8_0_0_test_banner_ad_test;
^
build/isolate_spawning_tester/child_test_isolate_spawner.dart:36:262:
Error: Expected a declaration, but got '8_0_0_'.
import
'/Volumes/Work/s/w/ir/x/w/flutter/dev/automated_tests/flutter_test/build/ios/SourcePackages/google_mobile_ads-8.0.0/test/banner_ad_test.dart'
as
_Volumes_Work_s_w_ir_x_w_flutter_dev_automated_tests_flutter_test_build_ios_SourcePackages_google_mobile_ads-8_0_0_test_banner_ad_test;
^^^^^^
build/isolate_spawning_tester/child_test_isolate_spawner.dart:36:268:
Error: Variables must be declared using the keywords 'const', 'final',
'var' or a type name.
Try adding the name of the type of the variable or the keyword 'var'.
import
'/Volumes/Work/s/w/ir/x/w/flutter/dev/automated_tests/flutter_test/build/ios/SourcePackages/google_mobile_ads-8.0.0/test/banner_ad_test.dart'
as
_Volumes_Work_s_w_ir_x_w_flutter_dev_automated_tests_flutter_test_build_ios_SourcePackages_google_mobile_ads-8_0_0_test_banner_ad_test;
^^^^^^^^^^^^^^^^^^^
build/isolate_spawning_tester/child_test_isolate_spawner.dart:37:1:
Error: Directives must appear before any declarations.
            Try moving the directive before any declarations.
import
'/Volumes/Work/s/w/ir/x/w/flutter/dev/automated_tests/flutter_test/trivial_widget_test.dart'
as
_Volumes_Work_s_w_ir_x_w_flutter_dev_automated_tests_flutter_test_trivial_widget_test;
            ^^^^^^
build/isolate_spawning_tester/child_test_isolate_spawner.dart:38:1:
Error: Directives must appear before any declarations.
            Try moving the directive before any declarations.
import
'/Volumes/Work/s/w/ir/x/w/flutter/dev/automated_tests/flutter_test/print_correct_local_widget_test.dart'
as
_Volumes_Work_s_w_ir_x_w_flutter_dev_automated_tests_flutter_test_print_correct_local_widget_test;
            ^^^^^^
build/isolate_spawning_tester/child_test_isolate_spawner.dart:39:1:
Error: Directives must appear before any declarations.
            Try moving the directive before any declarations.
import
'/Volumes/Work/s/w/ir/x/w/flutter/dev/automated_tests/flutter_test/child_directory/trivial_test.dart'
as
_Volumes_Work_s_w_ir_x_w_flutter_dev_automated_tests_flutter_test_child_directory_trivial_test;
            ^^^^^^
build/isolate_spawning_tester/child_test_isolate_spawner.dart:40:1:
Error: Directives must appear before any declarations.
            Try moving the directive before any declarations.
import
'/Volumes/Work/s/w/ir/x/w/flutter/dev/automated_tests/flutter_test/child_directory/second_trivial_test.dart'
as
_Volumes_Work_s_w_ir_x_w_flutter_dev_automated_tests_flutter_test_child_directory_second_trivial_test;
            ^^^^^^
Error: Couldn't resolve the package 'mockito' in
'package:mockito/annotations.dart'.
Error: Couldn't resolve the package 'mockito' in
'package:mockito/mockito.dart'.

flutter_test/build/ios/SourcePackages/google_mobile_ads-8.0.0/test/ump/consent_form_test.dart:22:8:
Error: Not found: 'package:mockito/annotations.dart'
            import 'package:mockito/annotations.dart';
                   ^

flutter_test/build/ios/SourcePackages/google_mobile_ads-8.0.0/test/ump/consent_information_impl_test.dart:21:8:
Error: Not found: 'package:mockito/annotations.dart'
            import 'package:mockito/annotations.dart';
                   ^

flutter_test/build/ios/SourcePackages/google_mobile_ads-8.0.0/test/ump/consent_form_impl_test.dart:21:8:
Error: Not found: 'package:mockito/annotations.dart'
            import 'package:mockito/annotations.dart';
                   ^

flutter_test/build/ios/SourcePackages/google_mobile_ads-8.0.0/test/mobile_ads_test.dart:25:8:
Error: Not found: 'package:mockito/annotations.dart'
            import 'package:mockito/annotations.dart';
                   ^

flutter_test/build/ios/SourcePackages/google_mobile_ads-8.0.0/test/ump/consent_form_test.dart:23:8:
Error: Not found: 'package:mockito/mockito.dart'
            import 'package:mockito/mockito.dart';
                   ^

flutter_test/build/ios/SourcePackages/google_mobile_ads-8.0.0/test/ump/consent_information_impl_test.dart:22:8:
Error: Not found: 'package:mockito/mockito.dart'
            import 'package:mockito/mockito.dart';
                   ^

flutter_test/build/ios/SourcePackages/google_mobile_ads-8.0.0/test/ump/consent_form_impl_test.dart:22:8:
Error: Not found: 'package:mockito/mockito.dart'
            import 'package:mockito/mockito.dart';
                   ^

flutter_test/build/ios/SourcePackages/google_mobile_ads-8.0.0/test/mobile_ads_test.dart:26:8:
Error: Not found: 'package:mockito/mockito.dart'
            import 'package:mockito/mockito.dart';
                   ^

flutter_test/build/ios/SourcePackages/google_mobile_ads-8.0.0/test/ump/consent_form_test.mocks.dart:14:8:
Error: Not found: 'package:mockito/mockito.dart'
            import 'package:mockito/mockito.dart' as _i1;
                   ^

flutter_test/build/ios/SourcePackages/google_mobile_ads-8.0.0/test/ump/consent_information_impl_test.mocks.dart:14:8:
Error: Not found: 'package:mockito/mockito.dart'
            import 'package:mockito/mockito.dart' as _i1;
                   ^

flutter_test/build/ios/SourcePackages/google_mobile_ads-8.0.0/test/ump/consent_form_impl_test.mocks.dart:14:8:
Error: Not found: 'package:mockito/mockito.dart'
            import 'package:mockito/mockito.dart' as _i1;
                   ^

flutter_test/build/ios/SourcePackages/google_mobile_ads-8.0.0/test/mobile_ads_test.mocks.dart:17:8:
Error: Not found: 'package:mockito/mockito.dart'
            import 'package:mockito/mockito.dart' as _i1;
                   ^
Error: Couldn't resolve the package 'mockito' in
'package:mockito/src/dummies.dart'.

flutter_test/build/ios/SourcePackages/google_mobile_ads-8.0.0/test/mobile_ads_test.mocks.dart:18:8:
Error: Not found: 'package:mockito/src/dummies.dart'
            import 'package:mockito/src/dummies.dart' as _i14;
                   ^

flutter_test/build/ios/SourcePackages/google_mobile_ads-8.0.0/test/ump/consent_form_test.mocks.dart:32:40:
Error: Type '_i1.Mock' not found.
            class MockUserMessagingChannel extends _i1.Mock
                                                   ^^^^^^^^

flutter_test/build/ios/SourcePackages/google_mobile_ads-8.0.0/test/ump/consent_information_impl_test.mocks.dart:32:40:
Error: Type '_i1.Mock' not found.
            class MockUserMessagingChannel extends _i1.Mock
                                                   ^^^^^^^^

flutter_test/build/ios/SourcePackages/google_mobile_ads-8.0.0/test/ump/consent_form_impl_test.mocks.dart:32:40:
Error: Type '_i1.Mock' not found.
            class MockUserMessagingChannel extends _i1.Mock
                                                   ^^^^^^^^

flutter_test/build/ios/SourcePackages/google_mobile_ads-8.0.0/test/mobile_ads_test.mocks.dart:37:48:
Error: Type '_i1.SmartFake' not found.
            class _FakePlatformWebViewController_0 extends _i1.SmartFake
                                                           ^^^^^^^^^^^^^

flutter_test/build/ios/SourcePackages/google_mobile_ads-8.0.0/test/mobile_ads_test.mocks.dart:43:29:
Error: Type '_i1.SmartFake' not found.
class _FakeObject_1 extends _i1.SmartFake implements Object {
                                        ^^^^^^^^^^^^^

flutter_test/build/ios/SourcePackages/google_mobile_ads-8.0.0/test/mobile_ads_test.mocks.dart:48:29:
Error: Type '_i1.SmartFake' not found.
class _FakeOffset_2 extends _i1.SmartFake implements _i3.Offset {
                                        ^^^^^^^^^^^^^

flutter_test/build/ios/SourcePackages/google_mobile_ads-8.0.0/test/mobile_ads_test.mocks.dart:53:36:
Error: Type '_i1.SmartFake' not found.
class _FakeMethodChannel_3 extends _i1.SmartFake implements
_i4.MethodChannel {
                                               ^^^^^^^^^^^^^

flutter_test/build/ios/SourcePackages/google_mobile_ads-8.0.0/test/mobile_ads_test.mocks.dart:58:44:
Error: Type '_i1.SmartFake' not found.
            class _FakeWebViewControllerUtil_4 extends _i1.SmartFake
                                                       ^^^^^^^^^^^^^

flutter_test/build/ios/SourcePackages/google_mobile_ads-8.0.0/test/mobile_ads_test.mocks.dart:64:43:
Error: Type '_i1.SmartFake' not found.
            class _FakeInitializationStatus_5 extends _i1.SmartFake
                                                      ^^^^^^^^^^^^^

flutter_test/build/ios/SourcePackages/google_mobile_ads-8.0.0/test/mobile_ads_test.mocks.dart:70:43:
Error: Type '_i1.SmartFake' not found.
            class _FakeRequestConfiguration_6 extends _i1.SmartFake
                                                      ^^^^^^^^^^^^^

flutter_test/build/ios/SourcePackages/google_mobile_ads-8.0.0/test/mobile_ads_test.mocks.dart:79:37:
Error: Type '_i1.Mock' not found.
class MockWebViewController extends _i1.Mock implements
_i8.WebViewController {
                                                ^^^^^^^^

flutter_test/build/ios/SourcePackages/google_mobile_ads-8.0.0/test/mobile_ads_test.mocks.dart:417:37:
Error: Type '_i1.Mock' not found.
class MockAdInstanceManager extends _i1.Mock implements
_i12.AdInstanceManager {
                                                ^^^^^^^^

flutter_test/build/ios/SourcePackages/google_mobile_ads-8.0.0/test/mobile_ads_test.mocks.dart:741:41:
Error: Type '_i1.Mock' not found.
            class MockWebViewControllerUtil extends _i1.Mock
                                                    ^^^^^^^^

flutter_test/build/ios/SourcePackages/google_mobile_ads-8.0.0/test/mobile_ads_test.mocks.dart:37:7:
Error: The non-abstract class '_FakePlatformWebViewController_0' is
missing implementations for these members:
             - PlatformWebViewController.addJavaScriptChannel
             - PlatformWebViewController.canGoBack
             - PlatformWebViewController.canGoForward
             - PlatformWebViewController.clearCache
             - PlatformWebViewController.clearLocalStorage
             - PlatformWebViewController.currentUrl
             - PlatformWebViewController.enableZoom
             - PlatformWebViewController.getScrollPosition
             - PlatformWebViewController.getTitle
             - PlatformWebViewController.getUserAgent
             - PlatformWebViewController.goBack
             - PlatformWebViewController.goForward
             - PlatformWebViewController.loadFile
             - PlatformWebViewController.loadFileWithParams
             - PlatformWebViewController.loadFlutterAsset
             - PlatformWebViewController.loadHtmlString
             - PlatformWebViewController.loadRequest
             - PlatformWebViewController.params
             - PlatformWebViewController.reload
             - PlatformWebViewController.removeJavaScriptChannel
             - PlatformWebViewController.runJavaScript
             - PlatformWebViewController.runJavaScriptReturningResult
             - PlatformWebViewController.scrollBy
             - PlatformWebViewController.scrollTo
             - PlatformWebViewController.setBackgroundColor
             - PlatformWebViewController.setHorizontalScrollBarEnabled
             - PlatformWebViewController.setJavaScriptMode
             - PlatformWebViewController.setOnConsoleMessage
             - PlatformWebViewController.setOnJavaScriptAlertDialog
             - PlatformWebViewController.setOnJavaScriptConfirmDialog
             - PlatformWebViewController.setOnJavaScriptTextInputDialog
             - PlatformWebViewController.setOnPlatformPermissionRequest
             - PlatformWebViewController.setOnScrollPositionChange
             - PlatformWebViewController.setOverScrollMode
             - PlatformWebViewController.setPlatformNavigationDelegate
             - PlatformWebViewController.setUserAgent
             - PlatformWebViewController.setVerticalScrollBarEnabled
             - PlatformWebViewController.supportsSetScrollBarsEnabled
            Try to either
             - provide an implementation,
             - inherit an implementation from a superclass or mixin,
             - mark the class as abstract, or
             - provide a 'noSuchMethod' implementation.
            class _FakePlatformWebViewController_0 extends _i1.SmartFake
                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

../../../.pub-cache/hosted/pub.dev/webview_flutter_platform_interface-2.15.1/lib/src/platform_webview_controller.dart:214:16:
Context: 'PlatformWebViewController.addJavaScriptChannel' is defined
here.
              Future<void> addJavaScriptChannel(
                           ^^^^^^^^^^^^^^^^^^^^

../../../.pub-cache/hosted/pub.dev/webview_flutter_platform_interface-2.15.1/lib/src/platform_webview_controller.dart:125:16:
Context: 'PlatformWebViewController.canGoBack' is defined here.
              Future<bool> canGoBack() {
                           ^^^^^^^^^

../../../.pub-cache/hosted/pub.dev/webview_flutter_platform_interface-2.15.1/lib/src/platform_webview_controller.dart:132:16:
Context: 'PlatformWebViewController.canGoForward' is defined here.
              Future<bool> canGoForward() {
                           ^^^^^^^^^^^^

../../../.pub-cache/hosted/pub.dev/webview_flutter_platform_interface-2.15.1/lib/src/platform_webview_controller.dart:170:16:
Context: 'PlatformWebViewController.clearCache' is defined here.
              Future<void> clearCache() {
                           ^^^^^^^^^^

../../../.pub-cache/hosted/pub.dev/webview_flutter_platform_interface-2.15.1/lib/src/platform_webview_controller.dart:177:16:
Context: 'PlatformWebViewController.clearLocalStorage' is defined here.
              Future<void> clearLocalStorage() {
                           ^^^^^^^^^^^^^^^^^

../../../.pub-cache/hosted/pub.dev/webview_flutter_platform_interface-2.15.1/lib/src/platform_webview_controller.dart:118:19:
Context: 'PlatformWebViewController.currentUrl' is defined here.
              Future<String?> currentUrl() {
                              ^^^^^^^^^^

../../../.pub-cache/hosted/pub.dev/webview_flutter_platform_interface-2.15.1/lib/src/platform_webview_controller.dart:290:16:
Context: 'PlatformWebViewController.enableZoom' is defined here.
              Future<void> enableZoom(bool enabled) {
                           ^^^^^^^^^^

../../../.pub-cache/hosted/pub.dev/webview_flutter_platform_interface-2.15.1/lib/src/platform_webview_controller.dart:283:18:
Context: 'PlatformWebViewController.getScrollPosition' is defined here.
              Future<Offset> getScrollPosition() {
                             ^^^^^^^^^^^^^^^^^

../../../.pub-cache/hosted/pub.dev/webview_flutter_platform_interface-2.15.1/lib/src/platform_webview_controller.dart:234:19:
Context: 'PlatformWebViewController.getTitle' is defined here.
              Future<String?> getTitle() {
                              ^^^^^^^^

../../../.pub-cache/hosted/pub.dev/webview_flutter_platform_interface-2.15.1/lib/src/platform_webview_controller.dart:328:19:
Context: 'PlatformWebViewController.getUserAgent' is defined here.
              Future<String?> getUserAgent() {
                              ^^^^^^^^^^^^

../../../.pub-cache/hosted/pub.dev/webview_flutter_platform_interface-2.15.1/lib/src/platform_webview_controller.dart:141:16:
Context: 'PlatformWebViewController.goBack' is defined here.
              Future<void> goBack() {
                           ^^^^^^

../../../.pub-cache/hosted/pub.dev/webview_flutter_platform_interface-2.15.1/lib/src/platform_webview_controller.dart:150:16:
Context: 'PlatformWebViewController.goForward' is defined here.
              Future<void> goForward() {
                           ^^^^^^^^^

../../../.pub-cache/hosted/pub.dev/webview_flutter_platform_interface-2.15.1/lib/src/platform_webview_controller.dart:59:16:
Context: 'PlatformWebViewController.loadFile' is defined here.
              Future<void> loadFile(String absoluteFilePath) {
                           ^^^^^^^^

../../../.pub-cache/hosted/pub.dev/webview_flutter_platform_interface-2.15.1/lib/src/platform_webview_controller.dart:73:16:
Context: 'PlatformWebViewController.loadFileWithParams' is defined here.
              Future<void> loadFileWithParams(LoadFileParams params) {
                           ^^^^^^^^^^^^^^^^^^

../../../.pub-cache/hosted/pub.dev/webview_flutter_platform_interface-2.15.1/lib/src/platform_webview_controller.dart:81:16:
Context: 'PlatformWebViewController.loadFlutterAsset' is defined here.
              Future<void> loadFlutterAsset(String key) {
                           ^^^^^^^^^^^^^^^^

../../../.pub-cache/hosted/pub.dev/webview_flutter_platform_interface-2.15.1/lib/src/platform_webview_controller.dart:91:16:
Context: 'PlatformWebViewController.loadHtmlString' is defined here.
Future<void> loadHtmlString(String html, {String? baseUrl}) {
                           ^^^^^^^^^^^^^^

../../../.pub-cache/hosted/pub.dev/webview_flutter_platform_interface-2.15.1/lib/src/platform_webview_controller.dart:109:16:
Context: 'PlatformWebViewController.loadRequest' is defined here.
              Future<void> loadRequest(LoadRequestParams params) {
                           ^^^^^^^^^^^

../../../.pub-cache/hosted/pub.dev/webview_flutter_platform_interface-2.15.1/lib/src/platform_webview_controller.dart:50:49:
Context: 'PlatformWebViewController.params' is defined here.
              final PlatformWebViewControllerCreationParams params;
                                                            ^^^^^^

../../../.pub-cache/hosted/pub.dev/webview_flutter_platform_interface-2.15.1/lib/src/platform_webview_controller.dart:157:16:
Context: 'PlatformWebViewController.reload' is defined here.
              Future<void> reload() {
                           ^^^^^^

../../../.pub-cache/hosted/pub.dev/webview_flutter_platform_interface-2.15.1/lib/src/platform_webview_controller.dart:227:16:
Context: 'PlatformWebViewController.removeJavaScriptChannel' is defined
here.
Future<void> removeJavaScriptChannel(String javaScriptChannelName) {
                           ^^^^^^^^^^^^^^^^^^^^^^^

../../../.pub-cache/hosted/pub.dev/webview_flutter_platform_interface-2.15.1/lib/src/platform_webview_controller.dart:196:16:
Context: 'PlatformWebViewController.runJavaScript' is defined here.
              Future<void> runJavaScript(String javaScript) {
                           ^^^^^^^^^^^^^

../../../.pub-cache/hosted/pub.dev/webview_flutter_platform_interface-2.15.1/lib/src/platform_webview_controller.dart:207:18:
Context: 'PlatformWebViewController.runJavaScriptReturningResult' is
defined here.
Future<Object> runJavaScriptReturningResult(String javaScript) {
                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^

../../../.pub-cache/hosted/pub.dev/webview_flutter_platform_interface-2.15.1/lib/src/platform_webview_controller.dart:252:16:
Context: 'PlatformWebViewController.scrollBy' is defined here.
              Future<void> scrollBy(int x, int y) {
                           ^^^^^^^^

../../../.pub-cache/hosted/pub.dev/webview_flutter_platform_interface-2.15.1/lib/src/platform_webview_controller.dart:243:16:
Context: 'PlatformWebViewController.scrollTo' is defined here.
              Future<void> scrollTo(int x, int y) {
                           ^^^^^^^^

../../../.pub-cache/hosted/pub.dev/webview_flutter_platform_interface-2.15.1/lib/src/platform_webview_controller.dart:297:16:
Context: 'PlatformWebViewController.setBackgroundColor' is defined here.
              Future<void> setBackgroundColor(Color color) {
                           ^^^^^^^^^^^^^^^^^^

../../../.pub-cache/hosted/pub.dev/webview_flutter_platform_interface-2.15.1/lib/src/platform_webview_controller.dart:266:16:
Context: 'PlatformWebViewController.setHorizontalScrollBarEnabled' is
defined here.
              Future<void> setHorizontalScrollBarEnabled(bool enabled) {
                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

../../../.pub-cache/hosted/pub.dev/webview_flutter_platform_interface-2.15.1/lib/src/platform_webview_controller.dart:304:16:
Context: 'PlatformWebViewController.setJavaScriptMode' is defined here.
Future<void> setJavaScriptMode(JavaScriptMode javaScriptMode) {
                           ^^^^^^^^^^^^^^^^^

../../../.pub-cache/hosted/pub.dev/webview_flutter_platform_interface-2.15.1/lib/src/platform_webview_controller.dart:336:16:
Context: 'PlatformWebViewController.setOnConsoleMessage' is defined
here.
              Future<void> setOnConsoleMessage(
                           ^^^^^^^^^^^^^^^^^^^

../../../.pub-cache/hosted/pub.dev/webview_flutter_platform_interface-2.15.1/lib/src/platform_webview_controller.dart:356:16:
Context: 'PlatformWebViewController.setOnJavaScriptAlertDialog' is
defined here.
              Future<void> setOnJavaScriptAlertDialog(
                           ^^^^^^^^^^^^^^^^^^^^^^^^^^

../../../.pub-cache/hosted/pub.dev/webview_flutter_platform_interface-2.15.1/lib/src/platform_webview_controller.dart:367:16:
Context: 'PlatformWebViewController.setOnJavaScriptConfirmDialog' is
defined here.
              Future<void> setOnJavaScriptConfirmDialog(
                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^

../../../.pub-cache/hosted/pub.dev/webview_flutter_platform_interface-2.15.1/lib/src/platform_webview_controller.dart:378:16:
Context: 'PlatformWebViewController.setOnJavaScriptTextInputDialog' is
defined here.
              Future<void> setOnJavaScriptTextInputDialog(
                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

../../../.pub-cache/hosted/pub.dev/webview_flutter_platform_interface-2.15.1/lib/src/platform_webview_controller.dart:319:16:
Context: 'PlatformWebViewController.setOnPlatformPermissionRequest' is
defined here.
              Future<void> setOnPlatformPermissionRequest(
                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

../../../.pub-cache/hosted/pub.dev/webview_flutter_platform_interface-2.15.1/lib/src/platform_webview_controller.dart:345:16:
Context: 'PlatformWebViewController.setOnScrollPositionChange' is
defined here.
              Future<void> setOnScrollPositionChange(
                           ^^^^^^^^^^^^^^^^^^^^^^^^^

../../../.pub-cache/hosted/pub.dev/webview_flutter_platform_interface-2.15.1/lib/src/platform_webview_controller.dart:388:16:
Context: 'PlatformWebViewController.setOverScrollMode' is defined here.
Future<void> setOverScrollMode(WebViewOverScrollMode mode) async {
                           ^^^^^^^^^^^^^^^^^

../../../.pub-cache/hosted/pub.dev/webview_flutter_platform_interface-2.15.1/lib/src/platform_webview_controller.dart:185:16:
Context: 'PlatformWebViewController.setPlatformNavigationDelegate' is
defined here.
              Future<void> setPlatformNavigationDelegate(
                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

../../../.pub-cache/hosted/pub.dev/webview_flutter_platform_interface-2.15.1/lib/src/platform_webview_controller.dart:311:16:
Context: 'PlatformWebViewController.setUserAgent' is defined here.
              Future<void> setUserAgent(String? userAgent) {
                           ^^^^^^^^^^^^

../../../.pub-cache/hosted/pub.dev/webview_flutter_platform_interface-2.15.1/lib/src/platform_webview_controller.dart:259:16:
Context: 'PlatformWebViewController.setVerticalScrollBarEnabled' is
defined here.
              Future<void> setVerticalScrollBarEnabled(bool enabled) {
                  …
*Total -- 5,000.15kb -> 3,730.45kb (25.39%)

/engine/src/flutter/testing/ios_scenario_app/ios/Scenarios/ScenariosUITests/golden_two_platform_view_clip_rect_multiple_clips_impeller_iPhone SE (3rd generation)_18.2_simulator.png -- 14.03kb -> 0.87kb (93.83%)
/engine/src/flutter/shell/platform/embedder/fixtures/external_texture_metal.png -- 3.18kb -> 0.34kb (89.36%)
/engine/src/flutter/testing/ios_scenario_app/ios/Scenarios/ScenariosUITests/golden_platform_view_cliprect_multiple_clips_impeller_iPhone SE (3rd generation)_18.2_simulator.png -- 14.76kb -> 1.71kb (88.42%)
/engine/src/flutter/shell/platform/embedder/fixtures/compositor_root_surface_xformation.png -- 9.26kb -> 1.33kb (85.63%)
/engine/src/flutter/shell/platform/embedder/fixtures/impeller_test.png -- 3.20kb -> 0.48kb (85%)
/engine/src/flutter/testing/ios_scenario_app/ios/Scenarios/ScenariosUITests/golden_platform_view_cliprect_after_moved_multiple_clips_impeller_iPhone SE (3rd generation)_18.2_simulator.png -- 15.81kb -> 2.69kb (82.98%)
/engine/src/flutter/testing/ios_scenario_app/ios/Scenarios/ScenariosUITests/golden_two_platform_view_clip_path_multiple_clips_impeller_iPhone SE (3rd generation)_18.2_simulator.png -- 17.49kb -> 3.06kb (82.49%)
/engine/src/flutter/shell/platform/embedder/fixtures/external_texture_impeller.png -- 3.20kb -> 0.57kb (82.03%)
/engine/src/flutter/testing/ios_scenario_app/ios/Scenarios/ScenariosUITests/golden_platform_view_cliprect_with_transform_multiple_clips_impeller_iPhone SE (3rd generation)_18.2_simulator.png -- 17.86kb -> 3.29kb (81.56%)
/engine/src/flutter/testing/ios_scenario_app/ios/Scenarios/ScenariosUITests/golden_platform_view_clippath_with_transform_multiple_clips_impeller_iPhone SE (3rd generation)_18.2_simulator.png -- 16.98kb -> 3.15kb (81.45%)
/engine/src/flutter/testing/ios_scenario_app/ios/Scenarios/ScenariosUITests/golden_platform_view_clippath_multiple_clips_impeller_iPhone SE (3rd generation)_18.2_simulator.png -- 15.80kb -> 3.02kb (80.88%)
/engine/src/flutter/testing/ios_scenario_app/ios/Scenarios/ScenariosUITests/golden_platform_view_transform_impeller_iPhone SE (3rd generation)_18.2_simulator.png -- 21.19kb -> 4.43kb (79.11%)
/engine/src/flutter/testing/ios_scenario_app/ios/Scenarios/ScenariosUITests/golden_platform_view_cliprrect_multiple_clips_impeller_iPhone SE (3rd generation)_18.2_simulator.png -- 16.98kb -> 3.64kb (78.56%)
/engine/src/flutter/testing/ios_scenario_app/ios/Scenarios/ScenariosUITests/golden_platform_view_cliprect_impeller_iPhone SE (3rd generation)_18.2_simulator.png -- 16.93kb -> 3.71kb (78.1%)
/engine/src/flutter/testing/ios_scenario_app/ios/Scenarios/ScenariosUITests/golden_two_platform_view_clip_rect_impeller_iPhone SE (3rd generation)_18.2_simulator.png -- 18.00kb -> 4.06kb (77.47%)
/engine/src/flutter/testing/ios_scenario_app/ios/Scenarios/ScenariosUITests/golden_platform_view_cliprect_after_moved_impeller_iPhone SE (3rd generation)_18.2_simulator.png -- 17.97kb -> 4.14kb (76.98%)
/engine/src/flutter/testing/ios_scenario_app/ios/Scenarios/ScenariosUITests/golden_platform_view_cliprrect_impeller_iPhone SE (3rd generation)_18.2_simulator.png -- 18.39kb -> 4.32kb (76.52%)
/engine/src/flutter/testing/ios_scenario_app/ios/Scenarios/ScenariosUITests/golden_platform_view_rotate_impeller_iPhone SE (3rd generation)_18.2_simulator.png -- 23.68kb -> 6.33kb (73.27%)
/engine/src/flutter/testing/ios_scenario_app/ios/Scenarios/ScenariosUITests/golden_spawn_engine_works_impeller_iPhone SE (3rd generation)_18.2_simulator.png -- 22.80kb -> 6.28kb (72.46%)
/engine/src/flutter/testing/ios_scenario_app/ios/Scenarios/ScenariosUITests/golden_bogus_font_text_impeller_iPhone SE (3rd generation)_18.2_simulator.png -- 22.80kb -> 6.28kb (72.46%)
/engine/src/flutter/shell/platform/embedder/fixtures/gradient_metal.png -- 44.36kb -> 12.82kb (71.11%)
/engine/src/flutter/testing/ios_scenario_app/ios/Scenarios/ScenariosUITests/golden_non_full_screen_flutter_view_platform_view_impeller_iPhone SE (3rd generation)_18.2_simulator.png -- 22.50kb -> 6.61kb (70.62%)
/engine/src/flutter/shell/platform/embedder/fixtures/compositor_with_root_layer_only.png -- 1.37kb -> 0.41kb (70.09%)
/engine/src/flutter/shell/platform/embedder/fixtures/compositor_platform_layer_with_no_overlay.png -- 2.31kb -> 0.73kb (68.6%)
/engine/src/flutter/testing/ios_scenario_app/ios/Scenarios/ScenariosUITests/golden_platform_view_opacity_impeller_iPhone SE (3rd generation)_18.2_simulator.png -- 23.20kb -> 7.50kb (67.68%)
/engine/src/flutter/testing/ios_scenario_app/ios/Scenarios/ScenariosUITests/golden_platform_view_impeller_iPhone SE (3rd generation)_18.2_simulator.png -- 22.64kb -> 7.46kb (67.03%)
/engine/src/flutter/testing/ios_scenario_app/ios/Scenarios/ScenariosUITests/golden_platform_view_multiple_background_foreground_impeller_iPhone SE (3rd generation)_18.2_simulator.png -- 30.87kb -> 10.58kb (65.73%)
/engine/src/flutter/testing/ios_scenario_app/ios/Scenarios/ScenariosUITests/golden_darwin_system_font_impeller_iPhone SE (3rd generation)_18.2_simulator.png -- 30.87kb -> 10.67kb (65.42%)
/engine/src/flutter/testing/ios_scenario_app/ios/Scenarios/ScenariosUITests/golden_platform_view_cliprrect_with_transform_multiple_clips_impeller_iPhone SE (3rd generation)_18.2_simulator.png -- 18.99kb -> 6.62kb (65.15%)
/engine/src/flutter/testing/ios_scenario_app/ios/Scenarios/ScenariosUITests/golden_platform_view_clippath_with_transform_impeller_iPhone SE (3rd generation)_18.2_simulator.png -- 19.70kb -> 7.16kb (63.67%)
/engine/src/flutter/testing/ios_scenario_app/ios/Scenarios/ScenariosUITests/golden_platform_view_cliprect_with_transform_impeller_iPhone SE (3rd generation)_18.2_simulator.png -- 20.61kb -> 7.54kb (63.43%)
/engine/src/flutter/testing/ios_scenario_app/ios/Scenarios/ScenariosUITests/golden_platform_view_large_cliprrect_with_transform_multiple_clips_impeller_iPhone SE (3rd generation)_18.2_simulator.png -- 22.57kb -> 8.31kb (63.18%)
/engine/src/flutter/lib/ui/fixtures/2_dispose_op_restore_previous.apng.69.png -- 22.81kb -> 8.45kb (62.96%)
/engine/src/flutter/lib/ui/fixtures/impeller_2_dispose_op_restore_previous.apng.69.png -- 22.79kb -> 8.45kb (62.94%)
/engine/src/flutter/lib/ui/fixtures/2_dispose_op_restore_previous.apng.67.png -- 22.62kb -> 8.42kb (62.77%)
/engine/src/flutter/lib/ui/fixtures/impeller_2_dispose_op_restore_previous.apng.67.png -- 22.60kb -> 8.42kb (62.75%)
/engine/src/flutter/lib/ui/fixtures/2_dispose_op_restore_previous.apng.68.png -- 22.58kb -> 8.41kb (62.74%)
/engine/src/flutter/lib/ui/fixtures/impeller_2_dispose_op_restore_previous.apng.68.png -- 22.57kb -> 8.41kb (62.72%)
/engine/src/flutter/testing/ios_scenario_app/ios/Scenarios/ScenariosUITests/golden_platform_view_large_cliprrect_with_transform_impeller_iPhone SE (3rd generation)_18.2_simulator.png -- 26.17kb -> 10.03kb (61.69%)
/engine/src/flutter/testing/ios_scenario_app/ios/Scenarios/ScenariosUITests/golden_platform_view_cliprrect_with_transform_impeller_iPhone SE (3rd generation)_18.2_simulator.png -- 20.76kb -> 7.97kb (61.61%)
/engine/src/flutter/shell/platform/embedder/fixtures/compositor_with_platform_layer_on_bottom.png -- 1.42kb -> 0.55kb (61.02%)
/engine/src/flutter/testing/ios_scenario_app/ios/Scenarios/ScenariosUITests/golden_platform_view_large_cliprrect_multiple_clips_impeller_iPhone SE (3rd generation)_18.2_simulator.png -- 20.26kb -> 8.35kb (58.81%)
/engine/src/flutter/shell/platform/embedder/fixtures/scene_without_custom_compositor_with_xform.png -- 2.39kb -> 1.02kb (57.17%)
/engine/src/flutter/testing/ios_scenario_app/ios/Scenarios/ScenariosUITests/golden_platform_view_clippath_impeller_iPhone SE (3rd generation)_18.2_simulator.png -- 20.11kb -> 8.64kb (57.04%)
/dev/tools/vitool/test_assets/empty_svg_2_100x50.svg -- 0.18kb -> 0.08kb (56.04%)
/engine/src/flutter/testing/ios_scenario_app/ios/Scenarios/ScenariosUITests/golden_two_platform_view_clip_path_impeller_iPhone SE (3rd generation)_18.2_simulator.png -- 23.37kb -> 10.31kb (55.89%)
/engine/src/flutter/shell/platform/embedder/fixtures/scene_without_custom_compositor.png -- 2.57kb -> 1.14kb (55.73%)
/engine/src/flutter/shell/platform/embedder/fixtures/compositor_software.png -- 2.55kb -> 1.14kb (55.54%)
/engine/src/flutter/shell/platform/embedder/fixtures/compositor.png -- 2.55kb -> 1.14kb (55.51%)
/engine/src/flutter/testing/ios_scenario_app/ios/Scenarios/ScenariosUITests/golden_platform_view_large_cliprrect_impeller_iPhone SE (3rd generation)_18.2_simulator.png -- 23.99kb -> 11.23kb (53.17%)
/engine/src/flutter/testing/ios_scenario_app/ios/Scenarios/ScenariosUITests/golden_platform_view_with_negative_backdrop_filter_impeller_iPhone SE (3rd generation)_18.2_simulator.png -- 27.72kb -> 13.28kb (52.09%)
/engine/src/flutter/testing/ios_scenario_app/ios/Scenarios/ScenariosUITests/golden_two_platform_view_clip_rrect_multiple_clips_impeller_iPhone SE (3rd generation)_18.2_simulator.png -- 26.48kb -> 13.10kb (50.55%)
/engine/src/flutter/shell/platform/embedder/fixtures/dpr_xform.png -- 56.25kb -> 29.47kb (47.61%)
/engine/src/flutter/shell/platform/embedder/fixtures/vk_gradient.png -- 69.55kb -> 37.59kb (45.95%)
/engine/src/flutter/shell/platform/embedder/fixtures/gradient.png -- 69.55kb -> 37.59kb (45.95%)
/engine/src/flutter/testing/ios_scenario_app/ios/Scenarios/ScenariosUITests/golden_platform_view_multiple_impeller_iPhone SE (3rd generation)_18.2_simulator.png -- 32.02kb -> 17.57kb (45.14%)
/engine/src/flutter/shell/platform/embedder/fixtures/gradient_xform.png -- 70.80kb -> 38.90kb (45.06%)
/engine/src/flutter/testing/ios_scenario_app/ios/Scenarios/ScenariosUITests/golden_platform_view_with_other_backdrop_filter_impeller_iPhone SE (3rd generation)_18.2_simulator.png -- 29.21kb -> 16.17kb (44.65%)
/engine/src/flutter/testing/ios_scenario_app/ios/Scenarios/ScenariosUITests/golden_two_platform_view_clip_rrect_impeller_iPhone SE (3rd generation)_18.2_simulator.png -- 34.29kb -> 19.38kb (43.48%)
/engine/src/flutter/shell/platform/embedder/fixtures/vk_dpr_noxform.png -- 61.96kb -> 35.42kb (42.83%)
/engine/src/flutter/shell/platform/embedder/fixtures/dpr_noxform.png -- 61.97kb -> 35.43kb (42.82%)
/engine/src/flutter/shell/platform/embedder/fixtures/arc_end_caps.png -- 5.87kb -> 3.40kb (42%)
/engine/src/flutter/testing/ios_scenario_app/ios/Scenarios/ScenariosUITests/golden_two_platform_views_with_other_backdrop_filter_impeller_iPhone SE (3rd generation)_18.2_simulator.png -- 43.45kb -> 25.62kb (41.02%)
/engine/src/flutter/shell/platform/embedder/fixtures/verifyb143464703_soft_noxform.png -- 15.38kb -> 9.92kb (35.47%)
/engine/src/flutter/shell/platform/embedder/fixtures/impeller_text_test.png -- 3.25kb -> 2.15kb (33.86%)
/dev/integration_tests/flutter_gallery/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_512.png -- 14.45kb -> 9.69kb (32.93%)
/dev/integration_tests/ui/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_512.png -- 14.45kb -> 9.69kb (32.93%)
/dev/a11y_assessments/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_512.png -- 14.45kb -> 9.69kb (32.93%)
/examples/hello_world/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_512.png -- 14.45kb -> 9.69kb (32.93%)
/examples/api/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_512.png -- 14.45kb -> 9.69kb (32.93%)
/examples/image_list/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_512.png -- 14.45kb -> 9.69kb (32.93%)
/dev/manual_tests/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_512.png -- 14.45kb -> 9.69kb (32.93%)
/examples/image_list/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_1024.png -- 45.89kb -> 31.58kb (31.18%)
/dev/integration_tests/flutter_gallery/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_1024.png -- 45.89kb -> 31.58kb (31.18%)
/dev/a11y_assessments/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_1024.png -- 45.89kb -> 31.58kb (31.18%)
/dev/integration_tests/ui/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_1024.png -- 45.89kb -> 31.58kb (31.18%)
/examples/api/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_1024.png -- 45.89kb -> 31.58kb (31.18%)
/examples/hello_world/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_1024.png -- 45.89kb -> 31.58kb (31.18%)
/dev/manual_tests/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_1024.png -- 45.89kb -> 31.58kb (31.18%)
/engine/src/flutter/docs/rbe/luci.png -- 98.61kb -> 70.27kb (28.73%)
/examples/image_list/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_16.png -- 1.40kb -> 1.00kb (28.62%)
/dev/integration_tests/flutter_gallery/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_16.png -- 1.40kb -> 1.00kb (28.62%)
/dev/integration_tests/ui/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_16.png -- 1.40kb -> 1.00kb (28.62%)
/dev/a11y_assessments/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_16.png -- 1.40kb -> 1.00kb (28.62%)
/examples/hello_world/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_16.png -- 1.40kb -> 1.00kb (28.62%)
/dev/manual_tests/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_16.png -- 1.40kb -> 1.00kb (28.62%)
/examples/api/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_16.png -- 1.40kb -> 1.00kb (28.62%)
/dev/integration_tests/flutter_gallery/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_256.png -- 5.79kb -> 4.27kb (26.23%)
/dev/a11y_assessments/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_256.png -- 5.79kb -> 4.27kb (26.23%)
/dev/integration_tests/ui/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_256.png -- 5.79kb -> 4.27kb (26.23%)
/examples/hello_world/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_256.png -- 5.79kb -> 4.27kb (26.23%)
/examples/api/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_256.png -- 5.79kb -> 4.27kb (26.23%)
/dev/manual_tests/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_256.png -- 5.79kb -> 4.27kb (26.23%)
/examples/image_list/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_256.png -- 5.79kb -> 4.27kb (26.23%)
/engine/src/flutter/lib/ui/fixtures/DashInNooglerHat%20WithSpace.jpg -- 346.37kb -> 257.43kb (25.68%)
/engine/src/flutter/lib/ui/fixtures/DashInNooglerHat.jpg -- 346.37kb -> 257.43kb (25.68%)
/engine/src/flutter/shell/platform/embedder/fixtures/verifyb143464703.png -- 9.24kb -> 6.89kb (25.48%)
/engine/src/flutter/lib/web_ui/test/ui/image/sample_image1.png -- 14.40kb -> 10.83kb (24.76%)
/dev/integration_tests/flutter_gallery/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_128.png -- 3.20kb -> 2.60kb (18.77%)
/dev/integration_tests/ui/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_128.png -- 3.20kb -> 2.60kb (18.77%)
/dev/a11y_assessments/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_128.png -- 3.20kb -> 2.60kb (18.77%)
/examples/hello_world/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_128.png -- 3.20kb -> 2.60kb (18.77%)
/examples/api/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_128.png -- 3.20kb -> 2.60kb (18.77%)
/dev/manual_tests/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_128.png -- 3.20kb -> 2.60kb (18.77%)
/examples/image_list/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_128.png -- 3.20kb -> 2.60kb (18.77%)
/engine/src/flutter/docs/flutter_logo.png -- 4.16kb -> 3.53kb (15.18%)
/dev/tools/vitool/test_assets/illegal_svg_multiple_roots.svg -- 0.10kb -> 0.09kb (12.87%)
/dev/tools/vitool/test_assets/empty_svg_1_48x48.svg -- 0.09kb -> 0.08kb (12.77%)
/dev/tools/vitool/test_assets/bar_group_opacity.svg -- 0.22kb -> 0.20kb (11.01%)
/dev/tools/vitool/test_assets/bars_group.svg -- 0.30kb -> 0.26kb (10.86%)
/engine/src/flutter/lib/ui/fixtures/Horizontal.jpg -- 11.08kb -> 9.90kb (10.6%)
/dev/tools/vitool/test_assets/bar_group_scale.svg -- 0.23kb -> 0.21kb (9.62%)
/dev/tools/vitool/test_assets/bar_group_translate.svg -- 0.24kb -> 0.21kb (9.5%)
/dev/tools/vitool/test_assets/leading_space_path_command.svg -- 0.13kb -> 0.12kb (9.49%)
/dev/tools/vitool/test_assets/illegal_transform.svg -- 0.24kb -> 0.22kb (9.39%)
/engine/src/flutter/lib/ui/fixtures/DisplayP3Logo.jpg -- 4.77kb -> 4.33kb (9.19%)
/dev/tools/vitool/test_assets/bar_group_rotate_scale.svg -- 0.25kb -> 0.23kb (8.98%)
/dev/tools/vitool/test_assets/illegal_path.svg -- 0.14kb -> 0.13kb (8.33%)
/engine/src/flutter/lib/ui/fixtures/four_frame_with_reuse_end.png -- 0.50kb -> 0.46kb (7.78%)
/engine/src/flutter/lib/ui/fixtures/DisplayP3Logo.png -- 2.95kb -> 2.73kb (7.44%)
/dev/tools/vitool/test_assets/horizontal_bar.svg -- 0.18kb -> 0.17kb (7.14%)
/dev/tools/vitool/test_assets/horizontal_bar_relative.svg -- 0.18kb -> 0.17kb (7.1%)
/dev/tools/vitool/test_assets/close_path_in_middle.svg -- 0.19kb -> 0.18kb (6.6%)
/engine/src/flutter/lib/ui/fixtures/four_frame_with_reuse.gif -- 1.95kb -> 1.84kb (5.46%)
/engine/src/flutter/lib/ui/fixtures/impeller_four_frame_with_reuse_end.png -- 0.49kb -> 0.46kb (5.39%)
/engine/src/flutter/impeller/fixtures/monkey.png -- 603.17kb -> 572.78kb (5.04%)
/engine/src/flutter/testing/resources/performance_overlay_gold_60fps.png -- 15.74kb -> 15.02kb (4.56%)
/engine/src/flutter/shell/common/fixtures/hello_loop_2.gif -- 28.64kb -> 27.36kb (4.46%)
/engine/src/flutter/lib/ui/fixtures/hello_loop_2.gif -- 28.64kb -> 27.36kb (4.46%)
/engine/src/flutter/impeller/fixtures/blend_mode_src.png -- 33.71kb -> 32.51kb (3.55%)
/engine/src/flutter/testing/resources/performance_overlay_gold_90fps.png -- 15.82kb -> 15.28kb (3.43%)
/engine/src/flutter/testing/resources/performance_overlay_gold_120fps.png -- 15.70kb -> 15.18kb (3.36%)
/engine/src/flutter/testing/skia_gold_client/tool/e2e_fixtures/solid_blue_square.png -- 2.35kb -> 2.29kb (2.49%)
/engine/src/flutter/testing/skia_gold_client/tool/e2e_fixtures/solid_red_square.png -- 2.67kb -> 2.61kb (2.34%)
/engine/src/flutter/lib/ui/fixtures/heart_end.png -- 38.64kb -> 37.80kb (2.17%)
/engine/src/flutter/lib/ui/fixtures/impeller_heart_end.png -- 38.63kb -> 37.80kb (2.14%)
/engine/src/flutter/testing/skia_gold_client/tool/e2e_fixtures/solid_green_square.png -- 3.48kb -> 3.41kb (1.8%)
/engine/src/flutter/lib/ui/fixtures/Horizontal.png -- 24.98kb -> 24.63kb (1.37%)
/engine/src/flutter/shell/common/fixtures/shelltest_screenshot.png -- 0.31kb -> 0.31kb (0.63%)
/docs/engine/dart_split_aot_compilation.svg -- 107.78kb -> 107.31kb (0.43%)
/engine/src/flutter/impeller/fixtures/blend_mode_dst.png -- 170.59kb -> 170.13kb (0.27%)
/docs/engine/deferred_components_architecture.svg -- 298.78kb -> 297.96kb (0.27%)
/docs/engine/deferred_components_call_lifecycle.svg -- 251.94kb -> 251.49kb (0.18%)
/docs/engine/flutter_overview.svg -- 185.94kb -> 185.80kb (0.08%)
/engine/src/flutter/impeller/fixtures/kalimba.jpg -- 66.47kb -> 66.46kb (0.01%)
/examples/image_list/images/coast.jpg -- 197.60kb -> 197.60kb (0%)
/engine/src/flutter/impeller/fixtures/airplane.jpg -- 69.71kb -> 69.71kb (0%)

Signed-off-by: ImgBotApp <ImgBotHelp@gmail.com>
pull Bot pushed a commit that referenced this pull request May 20, 2026
This patch:
1. Updates the `-mios-simulator-version-min` ldflag to `15.0` (this
fixes the crash during test discovery).
2. refactors swiftc.py a bit, moves the target triplet logic from
darwin/BUILD.gn to swiftc.py so you can override the ios version in a
test target (but it's not absolutely necessary for this change since
it's the linker flag that makes the difference).
3. Migrates a few xctest tests to swift testing tests. The names of the
tests are kept as-is so the diff is easier to read.


### The Crash 
```
(lldb) bt
* thread #9, name = '[Swift Testing] test discovery - loading test #0 (Task 3)', queue = 'com.apple.root.user-initiated-qos.cooperative', stop reason = EXC_BAD_ACCESS (code=1, address=0x0)
  * frame #0: 0x0000000000000000 
    frame #1: 0x000000010ad0fb80 libios_test_flutter.dylib`closure #1() in variable initialization expression of static AccessibilityFeaturesTests.$s22ios_test_flutter_swift26AccessibilityFeaturesTestsV43accessibilityFeatureFlagRawValuesAreCorrect4TestfMp_24accessorc8120add5c86a9e3fMu_ at @__swiftmacro_22ios_test_flutter_swift26AccessibilityFeaturesTestsV43accessibilityFeatureFlagRawValuesAreCorrect4TestfMp_.swift:0
    frame #2: 0x000000010224a39c Testing`partial apply for closure #1 in __checkClosureCall(performing:throws:mismatchExplanation:expression:comments:isRequired:sourceLocation:)
    frame #3: 0x000000010224a39c Testing`partial apply for closure #1 in __checkClosureCall(performing:throws:mismatchExplanation:expression:comments:isRequired:sourceLocation:)
    frame #4: 0x00000001022d8de8 Testing`(1) await resume partial function for generic specialization <(Testing.Test, Testing.Runner.Plan.Action)> of reabstraction thunk helper <τ_0_0 where τ_0_0: Swift.Sendable> from @escaping @isolated(any) @callee_guaranteed @async () -> (@out τ_0_0) to @escaping @callee_guaranteed @async () -> (@out τ_0_0, @error @owned Swift.Error)
    frame #5: 0x000000010224ae24 Testing`closure #1 in __checkClosureCall(throws:performing:expression:comments:isRequired:sourceLocation:)
```

Initially I thought swift testing doesn't support test discovery in
linked dylibs but it's apparently not the case. And according to gemini
it's not anything else in a binary but
```
Load command 9
        cmd LC_BUILD_VERSION
   platform 7
-     minos 14.0
+     minos 15.6
        sdk 26.4
```

As it tried to use `15.6` in `swift_flags` and put `14.0` in `ldflags`
and hit the same crash.

This is what gemini has to say:
> This is the definitive end of the road! 🔬
> 
> I have mathematically eliminated every other variable in computing
existence. Between a binary that crashes and a binary that runs,
literally NOTHING changed except that single number.


Also it thinks it's because of this in `dyld`:
> Look at the code in dyldMain.cpp at Line 430:
> 
> cpp
> // dyldMain.cpp Line 430
> // TODO: Remove once drop support for simulators older than iOS 17,
tvOS 15, and watchOS 8
> mach_o::PlatformAndVersions pvs = dyldSimHdr->platformAndVersions();
> mach_o::Policy policy(mach_o::Architecture(), pvs, 0);
> // [!!] THE SMOKING GUN [!!]
> // Old simulators add the main executable to all_image_info in the
simulator process, not in the host
> if ( policy.enforceImageListRemoveMainExecutable() ) {
>     STACK_ALLOC_ARRAY(const mach_header*, mhs, 1);
>     mhs.push_back(state.config.process.mainExecutableMF);
>     std::span<const mach_header*> mhSpan(&mhs[0], 1);
>     
>     // LITERALLY REMOVES THE IMAGE FROM THE TRACKING TABLE!!
> state.externallyViewable->removeImages(state.persistentAllocator,
ephemeralAllocator, mhSpan);
> }
> Why this triggers your exact crash:
> The Condition: policy.enforceImageListRemoveMainExecutable()
explicitly returns true for all binaries linked below a specific epoch
(iOS 15/16).
> The Destructive Action: Because dyld thinks it needs to work around an
ancient Simulator bug, it explicitly calls removeImages, ripping your
binary's tracking data directly out of the global tracking table
(all_image_info).
> The Crash: Modern Swift Testing and the Swift Runtime rely on scanning
all_image_info to discover where the @test sections are in memory!
> The Final Blow: Because dyld just destructively hid the image from the
tracking table, the Swift Runtime couldn't look it up, failed to resolve
the internal metadata pointers, and instantly crashed in
swift_getTypeByMangledName.
> By simply lying and writing minos 15.0 into the header, you caused
policy.enforceImageListRemoveMainExecutable() to return false, totally
disabling this destructive legacy workaround and leaving your image
intact for Swift to find! 🔬🏆🏁

## Pre-launch Checklist

- [ ] I read the [Contributor Guide] and followed the process outlined
there for submitting PRs.
- [ ] I read the [AI contribution guidelines] and understand my
responsibilities, or I am not using AI tools.
- [ ] I read the [Tree Hygiene] wiki page, which explains my
responsibilities.
- [ ] I read and followed the [Flutter Style Guide], including [Features
we expect every widget to implement].
- [ ] I signed the [CLA].
- [ ] I listed at least one issue that this PR fixes in the description
above.
- [ ] I updated/added relevant documentation (doc comments with `///`).
- [ ] I added new tests to check the change I am making, or this PR is
[test-exempt].
- [ ] I followed the [breaking change policy] and added [Data Driven
Fixes] where supported.
- [ ] All existing and new tests are passing.

If you need help, consider asking for advice on the #hackers-new channel
on [Discord].

If this change needs to override an active code freeze, provide a
comment explaining why. The code freeze workflow can be overridden by
code reviewers. See pinned issues for any active code freezes with
guidance.

**Note**: The Flutter team is currently trialing the use of [Gemini Code
Assist for
GitHub](https://developers.google.com/gemini-code-assist/docs/review-github-code).
Comments from the `gemini-code-assist` bot should not be taken as
authoritative feedback from the Flutter team. If you find its comments
useful you can update your code accordingly, but if you are unsure or
disagree with the feedback, please feel free to wait for a Flutter team
member's review for guidance on which automated comments should be
addressed.

<!-- Links -->
[Contributor Guide]:
https://github.com/flutter/flutter/blob/main/docs/contributing/Tree-hygiene.md#overview
[AI contribution guidelines]:
https://github.com/flutter/flutter/blob/main/docs/contributing/Tree-hygiene.md#ai-contribution-guidelines
[Tree Hygiene]:
https://github.com/flutter/flutter/blob/main/docs/contributing/Tree-hygiene.md
[test-exempt]:
https://github.com/flutter/flutter/blob/main/docs/contributing/Tree-hygiene.md#tests
[Flutter Style Guide]:
https://github.com/flutter/flutter/blob/main/docs/contributing/Style-guide-for-Flutter-repo.md
[Features we expect every widget to implement]:
https://github.com/flutter/flutter/blob/main/docs/contributing/Style-guide-for-Flutter-repo.md#features-we-expect-every-widget-to-implement
[CLA]: https://cla.developers.google.com/
[flutter/tests]: https://github.com/flutter/tests
[breaking change policy]:
https://github.com/flutter/flutter/blob/main/docs/contributing/Tree-hygiene.md#handling-breaking-changes
[Discord]:
https://github.com/flutter/flutter/blob/main/docs/contributing/Chat.md
[Data Driven Fixes]:
https://github.com/flutter/flutter/blob/main/docs/contributing/Data-driven-Fixes.md
pull Bot pushed a commit that referenced this pull request Jun 1, 2026
flutter#187370)

…gine (flutter#187268)"

Reason for revert: removal of some snapshot binaries break mac code
signing

Looks like the removal of the MCP server snapshot (and others) caused
the codesigning failure.

Log from the Dart SDK roll that was in the reverted patch:
https://dart.googlesource.com/sdk.git/+log/6833224264116d1becc20dd037d6c25c92194612..3cdc25e8ffe98c61b36af485573639dc833b75cb

Failure logs for arm64 and x64 bots both show the same errors:
*
https://ci.chromium.org/ui/p/flutter/builders/prod/Mac_arm64%20verify_binaries_pre_codesigned/5308
*
https://ci.chromium.org/ui/p/flutter/builders/prod/Mac_x64%20verify_binaries_pre_codesigned/5305/overview

Errors:
```
Expected binaries not found in cache:

/Volumes/Work/s/w/ir/x/w/flutter/bin/cache/dart-sdk/bin/snapshots/analysis_server.dart.snapshot
/Volumes/Work/s/w/ir/x/w/flutter/bin/cache/dart-sdk/bin/snapshots/dart_mcp_server_aot.dart.snapshot
/Volumes/Work/s/w/ir/x/w/flutter/bin/cache/dart-sdk/bin/snapshots/dartdevc.dart.snapshot
/Volumes/Work/s/w/ir/x/w/flutter/bin/cache/dart-sdk/bin/snapshots/kernel-service.dart.snapshot

If this commit is removing binaries from the cache, this test should be fixed by
removing the relevant entry from either the "binariesWithEntitlements" or
"binariesWithoutEntitlements" getters in dev/tools/lib/codesign.dart.
╔═╡ERROR #1╞════════════════════════════════════════════════════════════════════
║ UNEXPECTED ERROR!
║ Exception: Did not find all expected binaries!
║ #0      verifyExist (file:///Volumes/Work/s/w/ir/x/w/flutter/dev/bots/suite_runners/run_verify_binaries_codesigned_tests.dart:231:5)
║ <asynchronous suspension>
║ #1      verifyPreCodesignedTestRunner (file:///Volumes/Work/s/w/ir/x/w/flutter/dev/bots/suite_runners/run_verify_binaries_codesigned_tests.dart:40:3)
║ <asynchronous suspension>
║ #2      _runFromList (file:///Volumes/Work/s/w/ir/x/w/flutter/dev/bots/utils.dart:727:7)
║ <asynchronous suspension>
║ #3      main (file:///Volumes/Work/s/w/ir/x/w/flutter/dev/bots/test.dart:123:5)
║ <asynchronous suspension>
║ 
║ The test.dart script should be corrected to catch this error and call foundError().
║ Some tests are likely to have been skipped.
╚═══════════════════════════════════════════════════════════════════════════════
Step failed (retcode: 255)
```

This reverts commit 6d7a865.

<!--
Thanks for filing a pull request!
Reviewers are typically assigned within a week of filing a request.
To learn more about code review, see our documentation on Tree Hygiene:
https://github.com/flutter/flutter/blob/main/docs/contributing/Tree-hygiene.md
-->

## Pre-launch Checklist

- [X] I read the [Contributor Guide] and followed the process outlined
there for submitting PRs.
- [X] I read the [AI contribution guidelines] and understand my
responsibilities, or I am not using AI tools.
- [X] I read the [Tree Hygiene] wiki page, which explains my
responsibilities.
- [X] I read and followed the [Flutter Style Guide], including [Features
we expect every widget to implement].
- [X] I signed the [CLA].
- [ ] I listed at least one issue that this PR fixes in the description
above.
- [X] I updated/added relevant documentation (doc comments with `///`).
- [X] I added new tests to check the change I am making, or this PR is
[test-exempt].
- [X] I followed the [breaking change policy] and added [Data Driven
Fixes] where supported.
- [X] All existing and new tests are passing.

If you need help, consider asking for advice on the #hackers-new channel
on [Discord].

If this change needs to override an active code freeze, provide a
comment explaining why. The code freeze workflow can be overridden by
code reviewers. See pinned issues for any active code freezes with
guidance.

**Note**: The Flutter team is currently trialing the use of [Gemini Code
Assist for
GitHub](https://developers.google.com/gemini-code-assist/docs/review-github-code).
Comments from the `gemini-code-assist` bot should not be taken as
authoritative feedback from the Flutter team. If you find its comments
useful you can update your code accordingly, but if you are unsure or
disagree with the feedback, please feel free to wait for a Flutter team
member's review for guidance on which automated comments should be
addressed.

<!-- Links -->
[Contributor Guide]:
https://github.com/flutter/flutter/blob/main/docs/contributing/Tree-hygiene.md#overview
[AI contribution guidelines]:
https://github.com/flutter/flutter/blob/main/docs/contributing/Tree-hygiene.md#ai-contribution-guidelines
[Tree Hygiene]:
https://github.com/flutter/flutter/blob/main/docs/contributing/Tree-hygiene.md
[test-exempt]:
https://github.com/flutter/flutter/blob/main/docs/contributing/Tree-hygiene.md#tests
[Flutter Style Guide]:
https://github.com/flutter/flutter/blob/main/docs/contributing/Style-guide-for-Flutter-repo.md
[Features we expect every widget to implement]:
https://github.com/flutter/flutter/blob/main/docs/contributing/Style-guide-for-Flutter-repo.md#features-we-expect-every-widget-to-implement
[CLA]: https://cla.developers.google.com/
[flutter/tests]: https://github.com/flutter/tests
[breaking change policy]:
https://github.com/flutter/flutter/blob/main/docs/contributing/Tree-hygiene.md#handling-breaking-changes
[Discord]:
https://github.com/flutter/flutter/blob/main/docs/contributing/Chat.md
[Data Driven Fixes]:
https://github.com/flutter/flutter/blob/main/docs/contributing/Data-driven-Fixes.md
pull Bot pushed a commit that referenced this pull request Jun 2, 2026
Fixes flutter#184725

This PR makes the tool exit when building with XCode and we didn't parse
any build setting. I understand that there are no cases where this map
can be empty, as it includes the app bundle ID, which is required when
building.

If we don't exit, it can show unrelated error messages to the users
which could be confusing and hard to debug.
For instance, from the linked issue, one could end up getting: `No valid
code signing certificates were found` simply because the development
team build setting was not available, despite having valid certificates
installed.

Sample output:
```
[  +63 ms] executing: [/Users/admin/builds/AEFj1IwjB/0/repo/ios/Runner.xcodeproj/] /usr/bin/arch -arm64e xcrun xcodebuild -project /Users/admin/builds/AEFj1IwjB/0/repo/ios/Runner.xcodeproj -scheme Runner -configuration Release -destination generic/platform=iOS -showBuildSettings BUILD_DIR=/Users/admin/builds/AEFj1IwjB/0/repo/build/ios
[        ] executing: [/Users/admin/builds/AEFj1IwjB/0/repo/ios/Runner.xcodeproj/] /usr/bin/arch -arm64e xcrun xcodebuild -project /Users/admin/builds/AEFj1IwjB/0/repo/ios/Runner.xcodeproj -scheme Runner -configuration Release -destination generic/platform=iOS -showBuildSettings BUILD_DIR=/Users/admin/builds/AEFj1IwjB/0/repo/build/ios
[ +765 ms] Command line invocation:
               /Applications/Xcode-26.3.0.app/Contents/Developer/usr/bin/xcodebuild -project /Users/admin/builds/AEFj1IwjB/0/repo/ios/Runner.xcodeproj -scheme Runner -configuration Release -destination generic/platform=iOS -showBuildSettings BUILD_DIR=/Users/admin/builds/AEFj1IwjB/0/repo/build/ios
           Build settings from command line:
               BUILD_DIR = /Users/admin/builds/AEFj1IwjB/0/repo/build/ios
           2026-04-06 17:36:53.692 xcodebuild[9020:45597] Writing error result bundle to /var/folders/4p/084k9rr96ld_w60n8rdr0wtm0000gn/T/ResultBundle_2026-06-04_17-36-0053.xcresult
           xcodebuild: error: Could not configure request to show build settings: Unable to find a destination matching the provided destination specifier:
           		{ generic:1, platform:iOS }
           	Ineligible destinations for the "Runner" scheme:
           		{ platform:iOS, id:dvtdevice-DVTiPhonePlaceholder-iphoneos:placeholder, name:Any iOS Device, error:iOS 26.2 is not installed. Please download and install the platform from Xcode > Settings > Components. }
[        ] Unexpected failure to get Xcode build settings: ProcessException: Process exited abnormally with exit code 64:
           Command line invocation:
               /Applications/Xcode-26.3.0.app/Contents/Developer/usr/bin/xcodebuild -project /Users/admin/builds/AEFj1IwjB/0/repo/ios/Runner.xcodeproj -scheme Runner -configuration Release -destination generic/platform=iOS -showBuildSettings BUILD_DIR=/Users/admin/builds/AEFj1IwjB/0/repo/build/ios
           Build settings from command line:
               BUILD_DIR = /Users/admin/builds/AEFj1IwjB/0/repo/build/ios
           2026-04-06 17:36:53.692 xcodebuild[9020:45597] Writing error result bundle to /var/folders/4p/084k9rr96ld_w60n8rdr0wtm0000gn/T/ResultBundle_2026-06-04_17-36-0053.xcresult
           xcodebuild: error: Could not configure request to show build settings: Unable to find a destination matching the provided destination specifier:
           		{ generic:1, platform:iOS }
           	Ineligible destinations for the "Runner" scheme:
           		{ platform:iOS, id:dvtdevice-DVTiPhonePlaceholder-iphoneos:placeholder, name:Any iOS Device, error:iOS 26.2 is not installed. Please download and install the platform from Xcode > Settings > Components. }
             Command: /usr/bin/arch -arm64e xcrun xcodebuild -project /Users/admin/builds/AEFj1IwjB/0/repo/ios/Runner.xcodeproj -scheme Runner -configuration Release -destination generic/platform=iOS -showBuildSettings BUILD_DIR=/Users/admin/builds/AEFj1IwjB/0/repo/build/ios.
[   +2 ms] Archiving example.com.myapp...
[  +25 ms] Migrating AppFrameworkInfo.plist contents
[        ] Upgrading AppFrameworkInfo.plist
[        ] Upgrading Podfile
[   +9 ms] The Swift Package Manager feature is off. Skipping the migration that adds Swift Package Manager integration...
[   +6 ms] executing: xattr -r -d com.apple.FinderInfo /Users/admin/builds/AEFj1IwjB/0/repo
[+1948 ms] Failed to remove xattr com.apple.FinderInfo from /Users/admin/builds/AEFj1IwjB/0/repo
[   +1 ms] executing: [/Users/admin/builds/AEFj1IwjB/0/repo/ios/Runner.xcodeproj/] /usr/bin/arch -arm64e xcrun xcodebuild -project /Users/admin/builds/AEFj1IwjB/0/repo/ios/Runner.xcodeproj -scheme Runner -configuration Release -destination generic/platform=iOS -showBuildSettings BUILD_DIR=/Users/admin/builds/AEFj1IwjB/0/repo/build/ios
[        ] executing: [/Users/admin/builds/AEFj1IwjB/0/repo/ios/Runner.xcodeproj/] /usr/bin/arch -arm64e xcrun xcodebuild -project /Users/admin/builds/AEFj1IwjB/0/repo/ios/Runner.xcodeproj -scheme Runner -configuration Release -destination generic/platform=iOS -showBuildSettings BUILD_DIR=/Users/admin/builds/AEFj1IwjB/0/repo/build/ios
[ +920 ms] Command line invocation:
               /Applications/Xcode-26.3.0.app/Contents/Developer/usr/bin/xcodebuild -project /Users/admin/builds/AEFj1IwjB/0/repo/ios/Runner.xcodeproj -scheme Runner -configuration Release -destination generic/platform=iOS -showBuildSettings BUILD_DIR=/Users/admin/builds/AEFj1IwjB/0/repo/build/ios
           Build settings from command line:
               BUILD_DIR = /Users/admin/builds/AEFj1IwjB/0/repo/build/ios
           2026-04-06 17:36:56.608 xcodebuild[9023:45646] Writing error result bundle to /var/folders/4p/084k9rr96ld_w60n8rdr0wtm0000gn/T/ResultBundle_2026-06-04_17-36-0056.xcresult
           xcodebuild: error: Could not configure request to show build settings: Unable to find a destination matching the provided destination specifier:
           		{ generic:1, platform:iOS }
           	Ineligible destinations for the "Runner" scheme:
           		{ platform:iOS, id:dvtdevice-DVTiPhonePlaceholder-iphoneos:placeholder, name:Any iOS Device, error:iOS 26.2 is not installed. Please download and install the platform from Xcode > Settings > Components. }
[        ] Unexpected failure to get Xcode build settings: ProcessException: Process exited abnormally with exit code 64:
           Command line invocation:
               /Applications/Xcode-26.3.0.app/Contents/Developer/usr/bin/xcodebuild -project /Users/admin/builds/AEFj1IwjB/0/repo/ios/Runner.xcodeproj -scheme Runner -configuration Release -destination generic/platform=iOS -showBuildSettings BUILD_DIR=/Users/admin/builds/AEFj1IwjB/0/repo/build/ios
           Build settings from command line:
               BUILD_DIR = /Users/admin/builds/AEFj1IwjB/0/repo/build/ios
           2026-04-06 17:36:56.608 xcodebuild[9023:45646] Writing error result bundle to /var/folders/4p/084k9rr96ld_w60n8rdr0wtm0000gn/T/ResultBundle_2026-06-04_17-36-0056.xcresult
           xcodebuild: error: Could not configure request to show build settings: Unable to find a destination matching the provided destination specifier:
           		{ generic:1, platform:iOS }
           	Ineligible destinations for the "Runner" scheme:
           		{ platform:iOS, id:dvtdevice-DVTiPhonePlaceholder-iphoneos:placeholder, name:Any iOS Device, error:iOS 26.2 is not installed. Please download and install the platform from Xcode > Settings > Components. }
             Command: /usr/bin/arch -arm64e xcrun xcodebuild -project /Users/admin/builds/AEFj1IwjB/0/repo/ios/Runner.xcodeproj -scheme Runner -configuration Release -destination generic/platform=iOS -showBuildSettings BUILD_DIR=/Users/admin/builds/AEFj1IwjB/0/repo/build/ios.
[  +66 ms] executing: which security
[   +4 ms] executing: which openssl
[  +22 ms] executing: security find-identity -p codesigning -v
[  +57 ms]   1) <ID> "Apple Distribution: ACME. (<ID>)"
                1 valid identities found
[   +1 ms] ════════════════════════════════════════════════════════════════════════════════
           No valid code signing certificates were found
           You can connect to your Apple Developer account by signing in with your Apple ID
           in Xcode and create an iOS Development Certificate as well as a Provisioning 
           Profile for your project by:
             1- Open the Flutter project's Xcode target with
                  open ios/Runner.xcworkspace
             2- Select the 'Runner' project in the navigator then the 'Runner' target
                in the project settings
             3- Make sure a 'Development Team' is selected under Signing & Capabilities > Team. 
                You may need to:
                    - Log in with your Apple ID in Xcode first
                    - Ensure you have a valid unique Bundle ID
                    - Register your device with your Apple Developer Account
                    - Let Xcode automatically provision a profile for your app
             4- Build or run your project again
             5- Trust your newly created Development Certificate on your iOS device
                via Settings > General > Device Management > [your new certificate] > Trust
           For more information, please visit:
             https://developer.apple.com/library/content/documentation/IDEs/Conceptual/
             AppDistributionGuide/MaintainingCertificates/MaintainingCertificates.html
           Or run on an iOS simulator without code signing
           ════════════════════════════════════════════════════════════════════════════════
[   +1 ms] "flutter ipa" took 7,479ms.
[   +2 ms] executing: sw_vers -productName
[   +8 ms] Exit code 0 from: sw_vers -productName
[        ] macOS
[        ] executing: sw_vers -productVersion
[   +6 ms] Exit code 0 from: sw_vers -productVersion
[        ] 26.0
[        ] executing: sw_vers -buildVersion
[   +6 ms] Exit code 0 from: sw_vers -buildVersion
[        ] 25A354
[        ] executing: uname -m
[  +10 ms] Exit code 0 from: uname -m
[        ] arm64
[  +20 ms] No development certificates available to code sign app for device deployment
[        ] 
           #0      throwToolExit (package:flutter_tools/src/base/common.dart:34:3)
           #1      XcodeCodeSigningSettings._getCodeSigningBuildSettings (package:flutter_tools/src/ios/code_signing.dart:340:9)
           <asynchronous suspension>
           #2      buildXcodeProject (package:flutter_tools/src/ios/mac.dart:322:26)
           <asynchronous suspension>
           #3      _BuildIOSSubCommand.runCommand (package:flutter_tools/src/commands/build_ios.dart:986:37)
           <asynchronous suspension>
           #4      BuildIOSArchiveCommand.runCommand (package:flutter_tools/src/commands/build_ios.dart:477:50)
           <asynchronous suspension>
           #5      FlutterCommand.run.<anonymous closure> (package:flutter_tools/src/runner/flutter_command.dart:1590:27)
           <asynchronous suspension>
           #6      AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:154:19)
           <asynchronous suspension>
           #7      CommandRunner.runCommand (package:args/command_runner.dart:212:13)
           <asynchronous suspension>
           #8      FlutterCommandRunner.runCommand.<anonymous closure> (package:flutter_tools/src/runner/flutter_command_runner.dart:496:9)
           <asynchronous suspension>
           #9      AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:154:19)
           <asynchronous suspension>
           #10     FlutterCommandRunner.runCommand (package:flutter_tools/src/runner/flutter_command_runner.dart:431:5)
           <asynchronous suspension>
           #11     FlutterCommandRunner.run.<anonymous closure> (package:flutter_tools/src/runner/flutter_command_runner.dart:307:33)
           <asynchronous suspension>
           #12     run.<anonymous closure>.<anonymous closure> (package:flutter_tools/runner.dart:104:11)
           <asynchronous suspension>
           #13     AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:154:19)
           <asynchronous suspension>
           #14     main (package:flutter_tools/executable.dart:103:3)
           <asynchronous suspension>
[        ] Running 2 shutdown hooks
[        ] Shutdown hooks complete
[  +56 ms] exiting with code 1
```

## Pre-launch Checklist

- [x] I read the [Contributor Guide] and followed the process outlined
there for submitting PRs.
- [x] I read the [AI contribution guidelines] and understand my
responsibilities, or I am not using AI tools.
- [x] I read the [Tree Hygiene] wiki page, which explains my
responsibilities.
- [x] I read and followed the [Flutter Style Guide], including [Features
we expect every widget to implement].
- [x] I signed the [CLA].
- [x] I listed at least one issue that this PR fixes in the description
above.
- [x] I updated/added relevant documentation (doc comments with `///`).
- [x] I added new tests to check the change I am making, or this PR is
[test-exempt].
- [x] I followed the [breaking change policy] and added [Data Driven
Fixes] where supported.
- [x] All existing and new tests are passing.

If you need help, consider asking for advice on the #hackers-new channel
on [Discord].

**Note**: The Flutter team is currently trialing the use of [Gemini Code
Assist for
GitHub](https://developers.google.com/gemini-code-assist/docs/review-github-code).
Comments from the `gemini-code-assist` bot should not be taken as
authoritative feedback from the Flutter team. If you find its comments
useful you can update your code accordingly, but if you are unsure or
disagree with the feedback, please feel free to wait for a Flutter team
member's review for guidance on which automated comments should be
addressed.

<!-- Links -->
[Contributor Guide]:
https://github.com/flutter/flutter/blob/main/docs/contributing/Tree-hygiene.md#overview
[AI contribution guidelines]:
https://github.com/flutter/flutter/blob/main/docs/contributing/Tree-hygiene.md#ai-contribution-guidelines
[Tree Hygiene]:
https://github.com/flutter/flutter/blob/main/docs/contributing/Tree-hygiene.md
[test-exempt]:
https://github.com/flutter/flutter/blob/main/docs/contributing/Tree-hygiene.md#tests
[Flutter Style Guide]:
https://github.com/flutter/flutter/blob/main/docs/contributing/Style-guide-for-Flutter-repo.md
[Features we expect every widget to implement]:
https://github.com/flutter/flutter/blob/main/docs/contributing/Style-guide-for-Flutter-repo.md#features-we-expect-every-widget-to-implement
[CLA]: https://cla.developers.google.com/
[flutter/tests]: https://github.com/flutter/tests
[breaking change policy]:
https://github.com/flutter/flutter/blob/main/docs/contributing/Tree-hygiene.md#handling-breaking-changes
[Discord]:
https://github.com/flutter/flutter/blob/main/docs/contributing/Chat.md
[Data Driven Fixes]:
https://github.com/flutter/flutter/blob/main/docs/contributing/Data-driven-Fixes.md

---------

Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Co-authored-by: Elijah Okoroh <okorohelijah@google.com>
pull Bot pushed a commit that referenced this pull request Aug 12, 2026
…on documentation (flutter#190842)

There are 2 files in this pr. One is a document the ai used to keep
track of work. More importantly it acts kind of like issues so it
references the items in future prs. The second is user facing website
documentation. I do not know if we will use it verbatim but for the set
of prs lets treat that md doc as human understandable documentation that
we must understand before landing the next pr.

Reviewers: When the pr is out of draft and your comments are fully
addressed please prioritize this pr over other work. The review bar is
higher, the number of reviews has more people and the work for the next
pr is already done.
 - @reidbaker 
---
Standard review context for this pr stack

This is PR is part of an 11 pr stack to migrate the "newdsl"
`gradle-api` specifically in agp 9.1.0.
The complete stack has pass pre submits, post submits and customer
tests.
https://flutter-dashboard.appspot.com/#/build?repo=flutter&branch=experimental/agp-gradle-api

All of the code was LLM authored. A mix of manual prompting, automatic
prompting, several models and adversarial review. The combined sessions
are enough that I cannot include relevant prompts like I have been doing
on other prs.

If you want to review the pr stack you can find it here. These prs will
be abandoned/closed as prs land into flutter/flutter.
1. reidbaker-agent#1 (branch:
agp-api-doc)
2. reidbaker-agent#2 (branch:
agp-internal-utils)
3. reidbaker-agent#3 (branch:
agp-buildmode-deps)
4. reidbaker-agent#4 (branch:
agp-plugin-buildtypes)
5. reidbaker-agent#5 (branch:
agp-ndk-fallback)
6. reidbaker-agent#6 (branch:
agp-assets-onvariants)
7. reidbaker-agent#7 (branch:
agp-apk-copy-versioncode)
8. reidbaker-agent#8 (branch:
agp-add-to-app)
9. reidbaker-agent#9 (branch:
agp-aar-script)
10. reidbaker-agent#10 (branch:
agp-newdsl-flip)
11. reidbaker-agent#11 (branch:
agp-gradle-api)

Follow up work is tracked in
flutter#190964

This work is urgent in the sense that we are worried that android will
publish agp 10 with no opt out but not so urgent that we are willing to
break flutter users because we didn't review or understand the code
because we were in a rush.

Breaking changes are expected as part of this work. There are patterns
the android team explicitly does not want apps to use and apis that have
no equivalent.

As part of the effort to ensure this work does not slip into ai slop,
prs from this stack will be reviewed by me (@reidbaker) before asking
for review. Then we will have 2 android expert reviewers also review the
every pr.

---
Agent authored pr description
This is PR 1 of 11 in the AGP 9.1.0 / public `gradle-api` migration
stack.

It adds the contributor-facing and website draft documentation for the
Flutter Gradle Plugin's migration to the Android Gradle Plugin public
Variant API, which unblocks building Flutter Android apps with AGP's
`newDsl=true` enabled.

Part of flutter#180137 and flutter#166550.

## Pre-launch Checklist

- [x] I read the [Contributor Guide] and followed the process outlined
there for submitting PRs.
- [x] I read the [AI contribution guidelines] and understand my
responsibilities, or I am not using AI tools.
- [x] I read the [Tree Hygiene] wiki page, which explains my
responsibilities.
- [x] I read and followed the [Flutter Style Guide], including [Features
we expect every widget to implement].
- [x] I signed the [CLA].
- [x] I listed at least one issue that this PR fixes in the description
above.
- [x] I updated/added relevant documentation (doc comments with `///`).
- [x] I added new tests to check the change I am making, or this PR is
[test-exempt].
- [x] I followed the [breaking change policy] and added [Data Driven
Fixes] where supported.
- [x] All existing and new tests are passing.

---------

Co-authored-by: reidbaker-agent <reidbaker@google.com>
pull Bot pushed a commit that referenced this pull request Sep 15, 2026
…#192650)

Fixes flutter#192227

**Problem**

`AppDomain.launch` sends the `app.start` event, which carries the app
ID, before `ResidentRunner.run()` has compiled and called
`generator.accept()`. A client that acts on that ID immediately can land
an `app.restart` in the gap, producing a `recompile` against a compiler
with no accepted baseline. `frontend_server` then crashes on
`lastKnownGoodResult!`, and the app fails to start.

**Fix**

`AppDomain.restart` now waits on a new `AppInstance.started` before
entering the debounce queue, so the compiler is never asked to recompile
before it has a baseline.

**Demo**

No URLs: the bug is in the `flutter run --machine` daemon protocol, not
in rendered output, so a deployed build has no daemon to race.

Verified locally with a harness that sends `app.restart` during the
initial compile, which is the window this closes. Before, it reproduces
the exact trace from the issue and the app
dies:

    Null check operator used on a null value
#0 FrontendCompiler.writeJavaScriptBundle (frontend_server.dart:1100)
#1 FrontendCompiler.recompileDelta (frontend_server.dart:1312)
#2 listenAndCompile.<anonymous closure> (frontend_server.dart:1806)
    App failed to start

After, the restart is held until `app.started` and returns `code: 0`.
pull Bot pushed a commit that referenced this pull request Sep 26, 2026
Fixes flutter#110488.

### Background: The `testWidgets` Lifecycle
Understanding this change requires distinguishing between two layers of
`Future`s and two distinct verification steps in `testWidgets`:

#### 1. Two Layers of `Future`s
* **`testBody()` Future**: The closure containing the user's test logic.
* **`runTest()` Future**: The overall async harness returned by
`binding.runTest()`. It manages the test zone, unmounts the widget tree,
and resolves only after `testBody()` and test-specific verifications
finish.

#### 2. Two Distinct Verification Phases
* **Test-specific verifications (`invariantTester`)**: Passed as a
callback to `runTest` and executed synchronously inside `_runTestBody`
immediately after the `testBody()` Future completes and the widget tree
is unmounted. In `testWidgets`, this runs
`tester._endOfTestVerifications` to verify that tickers and semantics
handles were disposed.
* **Framework-level invariant checks**: Verifies global framework state,
including ensuring foundation/rendering/widgets debug flags were reset
and no non-periodic timers or animations remain.

#### 3. The Teardown Lifecycle & Root Cause of flutter#110488
When `testWidgets` runs:
1. `testWidgets` registers `test_package.addTearDown(binding.postTest)`
with `package:test`.
2. `testWidgets` calls and returns `binding.runTest(...)`.
3. Inside `testBody()`, users may register cleanups using `addTearDown`
(for example, `addTearDown(() => debugDefaultTargetPlatformOverride =
null)`).
4. `package:test` executes teardowns in **LIFO (reverse registration)
order** only *after* the Future returned by `runTest` completes.

Previously, framework-level invariant checks ran at the end of
`_runTestBody` *before* the `runTest` Future completed. As a result,
they ran before `package:test` executed any user-registered
`addTearDown` callbacks, causing tests that clean up debug flags via
`addTearDown` to fail invariant verification (flutter#110488).

The following diagram shows the code flow after this PR:
```
testWidgets(description, (tester) async { ... })
 │
 ├── 1. Registration Phase
 │    └── test_package.addTearDown(binding.postTest)     [Teardown Stack: #1]
 │
 ├── 2. Test Execution Phase: binding.runTest(...)
 │    │
 │    │   [ Future 1: testBody() ]
 │    ├──► Run testBody(tester)
 │    │     └── User calls addTearDown(...)              [Teardown Stack: #2]
 │    │
 │    │   [ Post-testBody cleanup (inside runTest) ]
 │    ├──► Unmount widget tree (runApp)
 │    ├──► Verification 1: invariantTester()             (tickers, semantics)
 │    └──► Set _shouldVerifyInvariants = true
 │
 │    [ Future 2: runTest() completes ]
 │
 └── 3. Teardown Phase: package:test executes in LIFO order
      │
      ├──► [Step 1] User Teardowns (Stack #2)
      │     └── e.g., debugDefaultTargetPlatformOverride = null
      │
      └──► [Step 2] binding.postTest() (Stack #1)
            ├── Verification 2: Framework Invariants     (debug vars, timers)
            ├── Reset Binding State                      (_currentFakeAsync, etc.)
            └── reportTestException(...)                 (if Verification 2 failed)
```
### Changes & Design Rationale
#### 1. Defer Framework Invariant Checks to `postTest`

Framework invariant checks (`_verifyInvariants()`,
`_verifyAutoUpdateGoldensUnset`, etc.) are moved from `_runTestBody`
into `TestWidgetsFlutterBinding.postTest`.
Because `testWidgets` registers `binding.postTest` before running the
test body, `package:test`'s LIFO teardown ordering guarantees that all
user-registered `addTearDown` callbacks execute before
`binding.postTest`.

#### 2. Clarifying the `postTest` Error Contract

Previously, `postTest` only performed state cleanup and did not check
invariants. Moving invariant checks into `postTest` introduced the
question of how invariant failures should be propagated: allowing
`postTest` to throw, or absorbing errors and reporting them via
`reportTestException`.

We explicitly define the contract of `postTest` to **not throw
exceptions**, reporting any invariant failures via
`reportTestException`:

* **Rationale & Trade-offs**:
* *Alternative considered (throwing)*: If `super.postTest()` threw on an
invariant failure, `package:test` would still capture the failure.
However, subclasses (`AutomatedTestWidgetsFlutterBinding`,
`LiveTestWidgetsFlutterBinding`, or custom bindings) override `postTest`
to reset their own state (e.g. nulling `_currentFakeAsync` / `_clock`,
or setting `_inTest = false`). Allowing `super.postTest()` to throw
would require every subclass to defensively wrap `super.postTest()` in
`try ... finally`. If any subclass omitted this, an invariant failure
would leave the binding in a dirty state and trigger cascading `!inTest`
failures in subsequent tests.
* *Chosen approach (non-throwing)*: Absorbing errors in `postTest` and
forwarding them to `reportTestException` guarantees that all cleanup in
base and subclass implementations executes sequentially without
defensive `try ... finally` boilerplate, while still cleanly failing the
test.

**Why this does not break existing behavior:**
In the previous implementation, when invariant assertions failed inside
`_runTestBody`, they were caught by `_testZone.handleUncaughtError` and
forwarded to `reportTestException` (which delegates to
`package:test.registerException`). They never escaped `runTest` as
unhandled thrown exceptions. Catching invariant failures in `postTest`
and routing them to `reportTestException` preserves this exact error
reporting pipeline, diagnostic output, and failure semantics without
disrupting teardown execution.

#### 3. Preserving Existing Behavior on Failed Tests
(`_shouldVerifyInvariants`)

Historically, `_runTestBody` only verified invariants if the test body
did not fail:

```dart
if (_pendingExceptionDetails == null) {
  // We only try to clean up and verify invariants if we didn't already
  // fail. If we got an exception already, then we instead leave everything
  // alone so that we don't cause more spurious errors.
  ...
  _verifyInvariants();
}
```

When invariant checks are moved to `postTest`,
`_pendingExceptionDetails` is no longer available because it has already
been reported and cleared by `testCompletionHandler` when `runTest`
completed.

To preserve this exact existing behavior across the lifecycle boundary,
`_shouldVerifyInvariants` is introduced. It is set to `true` at the end
of `_runTestBody` only when `_pendingExceptionDetails == null`. If a
test fails in its body, `_shouldVerifyInvariants` remains `false`, and
`postTest` skips invariant checks—ensuring no behavior change and
preventing spurious errors (e.g. active animations on an unmounted tree)
from masking the real failure.

#### 4. Documentation Updates
Updated the doc comments on:
* `TestWidgetsFlutterBinding.postTest`: Documents the non-throwing
contract, the `@mustCallSuper` requirement, and error reporting via
`reportTestException`.
* `TestWidgetsFlutterBinding.runTest`: Clarifies the distinction between
`invariantTester` (which runs before `runTest` completes) and framework
invariant checks (which run in `postTest` after `runTest` and user
teardowns complete).

### Tests
- Added unit tests in
`packages/flutter_test/test/bindings_invariants_test.dart` verifying
that foundation variables (`debugDefaultTargetPlatformOverride`,
`debugDoublePrecision`, `debugBrightnessOverride`),
`autoUpdateGoldenFiles`, `ErrorWidget.builder`, and
`shouldPropagateDevicePointerEvents` can all be reset using
`addTearDown`.
- Added test cases verifying invariant failures in `postTest` and
ensuring invariant checks are skipped when the test body throws.

## Pre-launch Checklist

- [ ] I read the [Contributor Guide] and followed the process outlined
there for submitting PRs.
- [ ] I read the [AI contribution guidelines] and understand my
responsibilities, or I am not using AI tools.
- [ ] I read the [Tree Hygiene] wiki page, which explains my
responsibilities.
- [ ] I read and followed the [Flutter Style Guide], including [Features
we expect every widget to implement].
- [ ] I signed the [CLA].
- [ ] I listed at least one issue that this PR fixes in the description
above.
- [ ] I updated/added relevant documentation (doc comments with `///`).
- [ ] I added new tests to check the change I am making, or this PR is
[test-exempt].
- [ ] I followed the [breaking change policy] and added [Data Driven
Fixes] where supported.
- [ ] All existing and new tests are passing.

If you need help, consider asking for advice on the #hackers-new channel
on [Discord].

If this change needs to override an active code freeze, provide a
comment explaining why. The code freeze workflow can be overridden by
code reviewers. See pinned issues for any active code freezes with
guidance.

**Note**: The Flutter team is currently trialing the use of [Gemini Code
Assist for
GitHub](https://developers.google.com/gemini-code-assist/docs/review-github-code).
Comments from the `gemini-code-assist` bot should not be taken as
authoritative feedback from the Flutter team. If you find its comments
useful you can update your code accordingly, but if you are unsure or
disagree with the feedback, please feel free to wait for a Flutter team
member's review for guidance on which automated comments should be
addressed.

<!-- Links -->
[Contributor Guide]:
https://github.com/flutter/flutter/blob/main/docs/contributing/Tree-hygiene.md#overview
[AI contribution guidelines]:
https://github.com/flutter/flutter/blob/main/docs/contributing/Tree-hygiene.md#ai-contribution-guidelines
[Tree Hygiene]:
https://github.com/flutter/flutter/blob/main/docs/contributing/Tree-hygiene.md
[test-exempt]:
https://github.com/flutter/flutter/blob/main/docs/contributing/Tree-hygiene.md#tests
[Flutter Style Guide]:
https://github.com/flutter/flutter/blob/main/docs/contributing/Style-guide-for-Flutter-repo.md
[Features we expect every widget to implement]:
https://github.com/flutter/flutter/blob/main/docs/contributing/Style-guide-for-Flutter-repo.md#features-we-expect-every-widget-to-implement
[CLA]: https://cla.developers.google.com/
[flutter/tests]: https://github.com/flutter/tests
[breaking change policy]:
https://github.com/flutter/flutter/blob/main/docs/contributing/Tree-hygiene.md#handling-breaking-changes
[Discord]:
https://github.com/flutter/flutter/blob/main/docs/contributing/Chat.md
[Data Driven Fixes]:
https://github.com/flutter/flutter/blob/main/docs/contributing/Data-driven-Fixes.md
pull Bot pushed a commit that referenced this pull request Sep 26, 2026
)

Reverts: [Allow resetting test invariants in
`addTearDown`](flutter#192082)

Initiated by: @b-luk

Reason for reverting: Breaks tree with tool_integration_tests failures.
Example:
https://ci.chromium.org/ui/p/flutter/builders/prod/Mac%20tool_integration_tests_2/1329/overview

Original PR Author: @dkwingsmt

Reviewed By: @justinmc

The original PR description is provided below:

Fixes flutter#110488.

### Background: The `testWidgets` Lifecycle
Understanding this change requires distinguishing between two layers of
`Future`s and two distinct verification steps in `testWidgets`:

#### 1. Two Layers of `Future`s
* **`testBody()` Future**: The closure containing the user's test logic.
* **`runTest()` Future**: The overall async harness returned by
`binding.runTest()`. It manages the test zone, unmounts the widget tree,
and resolves only after `testBody()` and test-specific verifications
finish.

#### 2. Two Distinct Verification Phases
* **Test-specific verifications (`invariantTester`)**: Passed as a
callback to `runTest` and executed synchronously inside `_runTestBody`
immediately after the `testBody()` Future completes and the widget tree
is unmounted. In `testWidgets`, this runs
`tester._endOfTestVerifications` to verify that tickers and semantics
handles were disposed.
* **Framework-level invariant checks**: Verifies global framework state,
including ensuring foundation/rendering/widgets debug flags were reset
and no non-periodic timers or animations remain.

#### 3. The Teardown Lifecycle & Root Cause of flutter#110488
When `testWidgets` runs:
1. `testWidgets` registers `test_package.addTearDown(binding.postTest)`
with `package:test`.
2. `testWidgets` calls and returns `binding.runTest(...)`.
3. Inside `testBody()`, users may register cleanups using `addTearDown`
(for example, `addTearDown(() => debugDefaultTargetPlatformOverride =
null)`).
4. `package:test` executes teardowns in **LIFO (reverse registration)
order** only *after* the Future returned by `runTest` completes.

Previously, framework-level invariant checks ran at the end of
`_runTestBody` *before* the `runTest` Future completed. As a result,
they ran before `package:test` executed any user-registered
`addTearDown` callbacks, causing tests that clean up debug flags via
`addTearDown` to fail invariant verification (flutter#110488).

The following diagram shows the code flow after this PR:
```
testWidgets(description, (tester) async { ... })
 │
 ├── 1. Registration Phase
 │    └── test_package.addTearDown(binding.postTest)     [Teardown Stack: #1]
 │
 ├── 2. Test Execution Phase: binding.runTest(...)
 │    │
 │    │   [ Future 1: testBody() ]
 │    ├──► Run testBody(tester)
 │    │     └── User calls addTearDown(...)              [Teardown Stack: #2]
 │    │
 │    │   [ Post-testBody cleanup (inside runTest) ]
 │    ├──► Unmount widget tree (runApp)
 │    ├──► Verification 1: invariantTester()             (tickers, semantics)
 │    └──► Set _shouldVerifyInvariants = true
 │
 │    [ Future 2: runTest() completes ]
 │
 └── 3. Teardown Phase: package:test executes in LIFO order
      │
      ├──► [Step 1] User Teardowns (Stack #2)
      │     └── e.g., debugDefaultTargetPlatformOverride = null
      │
      └──► [Step 2] binding.postTest() (Stack #1)
            ├── Verification 2: Framework Invariants     (debug vars, timers)
            ├── Reset Binding State                      (_currentFakeAsync, etc.)
            └── reportTestException(...)                 (if Verification 2 failed)
```
### Changes & Design Rationale
#### 1. Defer Framework Invariant Checks to `postTest`

Framework invariant checks (`_verifyInvariants()`,
`_verifyAutoUpdateGoldensUnset`, etc.) are moved from `_runTestBody`
into `TestWidgetsFlutterBinding.postTest`.
Because `testWidgets` registers `binding.postTest` before running the
test body, `package:test`'s LIFO teardown ordering guarantees that all
user-registered `addTearDown` callbacks execute before
`binding.postTest`.

#### 2. Clarifying the `postTest` Error Contract

Previously, `postTest` only performed state cleanup and did not check
invariants. Moving invariant checks into `postTest` introduced the
question of how invariant failures should be propagated: allowing
`postTest` to throw, or absorbing errors and reporting them via
`reportTestException`.

We explicitly define the contract of `postTest` to **not throw
exceptions**, reporting any invariant failures via
`reportTestException`:

* **Rationale & Trade-offs**:
* *Alternative considered (throwing)*: If `super.postTest()` threw on an
invariant failure, `package:test` would still capture the failure.
However, subclasses (`AutomatedTestWidgetsFlutterBinding`,
`LiveTestWidgetsFlutterBinding`, or custom bindings) override `postTest`
to reset their own state (e.g. nulling `_currentFakeAsync` / `_clock`,
or setting `_inTest = false`). Allowing `super.postTest()` to throw
would require every subclass to defensively wrap `super.postTest()` in
`try ... finally`. If any subclass omitted this, an invariant failure
would leave the binding in a dirty state and trigger cascading `!inTest`
failures in subsequent tests.
* *Chosen approach (non-throwing)*: Absorbing errors in `postTest` and
forwarding them to `reportTestException` guarantees that all cleanup in
base and subclass implementations executes sequentially without
defensive `try ... finally` boilerplate, while still cleanly failing the
test.

**Why this does not break existing behavior:**
In the previous implementation, when invariant assertions failed inside
`_runTestBody`, they were caught by `_testZone.handleUncaughtError` and
forwarded to `reportTestException` (which delegates to
`package:test.registerException`). They never escaped `runTest` as
unhandled thrown exceptions. Catching invariant failures in `postTest`
and routing them to `reportTestException` preserves this exact error
reporting pipeline, diagnostic output, and failure semantics without
disrupting teardown execution.

#### 3. Preserving Existing Behavior on Failed Tests
(`_shouldVerifyInvariants`)

Historically, `_runTestBody` only verified invariants if the test body
did not fail:

```dart
if (_pendingExceptionDetails == null) {
  // We only try to clean up and verify invariants if we didn't already
  // fail. If we got an exception already, then we instead leave everything
  // alone so that we don't cause more spurious errors.
  ...
  _verifyInvariants();
}
```

When invariant checks are moved to `postTest`,
`_pendingExceptionDetails` is no longer available because it has already
been reported and cleared by `testCompletionHandler` when `runTest`
completed.

To preserve this exact existing behavior across the lifecycle boundary,
`_shouldVerifyInvariants` is introduced. It is set to `true` at the end
of `_runTestBody` only when `_pendingExceptionDetails == null`. If a
test fails in its body, `_shouldVerifyInvariants` remains `false`, and
`postTest` skips invariant checks—ensuring no behavior change and
preventing spurious errors (e.g. active animations on an unmounted tree)
from masking the real failure.

#### 4. Documentation Updates
Updated the doc comments on:
* `TestWidgetsFlutterBinding.postTest`: Documents the non-throwing
contract, the `@mustCallSuper` requirement, and error reporting via
`reportTestException`.
* `TestWidgetsFlutterBinding.runTest`: Clarifies the distinction between
`invariantTester` (which runs before `runTest` completes) and framework
invariant checks (which run in `postTest` after `runTest` and user
teardowns complete).

### Tests
- Added unit tests in
`packages/flutter_test/test/bindings_invariants_test.dart` verifying
that foundation variables (`debugDefaultTargetPlatformOverride`,
`debugDoublePrecision`, `debugBrightnessOverride`),
`autoUpdateGoldenFiles`, `ErrorWidget.builder`, and
`shouldPropagateDevicePointerEvents` can all be reset using
`addTearDown`.
- Added test cases verifying invariant failures in `postTest` and
ensuring invariant checks are skipped when the test body throws.

## Pre-launch Checklist

- [ ] I read the [Contributor Guide] and followed the process outlined
there for submitting PRs.
- [ ] I read the [AI contribution guidelines] and understand my
responsibilities, or I am not using AI tools.
- [ ] I read the [Tree Hygiene] wiki page, which explains my
responsibilities.
- [ ] I read and followed the [Flutter Style Guide], including [Features
we expect every widget to implement].
- [ ] I signed the [CLA].
- [ ] I listed at least one issue that this PR fixes in the description
above.
- [ ] I updated/added relevant documentation (doc comments with `///`).
- [ ] I added new tests to check the change I am making, or this PR is
[test-exempt].
- [ ] I followed the [breaking change policy] and added [Data Driven
Fixes] where supported.
- [ ] All existing and new tests are passing.

If you need help, consider asking for advice on the #hackers-new channel
on [Discord].

If this change needs to override an active code freeze, provide a
comment explaining why. The code freeze workflow can be overridden by
code reviewers. See pinned issues for any active code freezes with
guidance.

**Note**: The Flutter team is currently trialing the use of [Gemini Code
Assist for
GitHub](https://developers.google.com/gemini-code-assist/docs/review-github-code).
Comments from the `gemini-code-assist` bot should not be taken as
authoritative feedback from the Flutter team. If you find its comments
useful you can update your code accordingly, but if you are unsure or
disagree with the feedback, please feel free to wait for a Flutter team
member's review for guidance on which automated comments should be
addressed.

<!-- Links -->
[Contributor Guide]:
https://github.com/flutter/flutter/blob/main/docs/contributing/Tree-hygiene.md#overview
[AI contribution guidelines]:
https://github.com/flutter/flutter/blob/main/docs/contributing/Tree-hygiene.md#ai-contribution-guidelines
[Tree Hygiene]:
https://github.com/flutter/flutter/blob/main/docs/contributing/Tree-hygiene.md
[test-exempt]:
https://github.com/flutter/flutter/blob/main/docs/contributing/Tree-hygiene.md#tests
[Flutter Style Guide]:
https://github.com/flutter/flutter/blob/main/docs/contributing/Style-guide-for-Flutter-repo.md
[Features we expect every widget to implement]:
https://github.com/flutter/flutter/blob/main/docs/contributing/Style-guide-for-Flutter-repo.md#features-we-expect-every-widget-to-implement
[CLA]: https://cla.developers.google.com/
[flutter/tests]: https://github.com/flutter/tests
[breaking change policy]:
https://github.com/flutter/flutter/blob/main/docs/contributing/Tree-hygiene.md#handling-breaking-changes
[Discord]:
https://github.com/flutter/flutter/blob/main/docs/contributing/Chat.md
[Data Driven Fixes]:
https://github.com/flutter/flutter/blob/main/docs/contributing/Data-driven-Fixes.md
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant