Skip to content

Bump github/codeql-action from 2.1.10 to 2.1.13 - #3

Closed
dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/github_actions/github/codeql-action-2.1.13
Closed

dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/github_actions/github/codeql-action-2.1.13

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Jun 21, 2022

Copy link
Copy Markdown

Bumps github/codeql-action from 2.1.10 to 2.1.13.

Changelog

Sourced from github/codeql-action's changelog.

CodeQL Action Changelog

[UNRELEASED]

No user facing changes.

2.1.13 - 21 Jun 2022

  • Add the ability to filter queries from a code scanning run by using the query-filters option in the code scanning configuration file. #1098
  • Update default CodeQL bundle version to 2.9.4. #1100

2.1.12 - 01 Jun 2022

  • Update default CodeQL bundle version to 2.9.3. #1084

2.1.11 - 17 May 2022

  • Update default CodeQL bundle version to 2.9.2. #1074

2.1.10 - 10 May 2022

  • Update default CodeQL bundle version to 2.9.1. #1056
  • When wait-for-processing is enabled, the workflow will now fail if there were any errors that occurred during processing of the analysis results.

2.1.9 - 27 Apr 2022

  • Add working-directory input to the autobuild action. #1024
  • The analyze and upload-sarif actions will now wait up to 2 minutes for processing to complete after they have uploaded the results so they can report any processing errors that occurred. This behavior can be disabled by setting the wait-for-processing action input to "false". #1007
  • Update default CodeQL bundle version to 2.9.0.
  • Fix a bug where status reporting fails on Windows. #1042

2.1.8 - 08 Apr 2022

  • Update default CodeQL bundle version to 2.8.5. #1014
  • Fix error where the init action would fail due to a GitHub API request that was taking too long to complete #1025

2.1.7 - 05 Apr 2022

  • A bug where additional queries specified in the workflow file would sometimes not be respected has been fixed. #1018

2.1.6 - 30 Mar 2022

  • [v2+ only] The CodeQL Action now runs on Node.js v16. #1000
  • Update default CodeQL bundle version to 2.8.4. #990
  • Fix a bug where an invalid commit_oid was being sent to code scanning when a custom checkout path was being used. #956

1.1.5 - 15 Mar 2022

  • Update default CodeQL bundle version to 2.8.3.
  • The CodeQL runner is now deprecated and no longer being released. For more information, see CodeQL runner deprecation.

... (truncated)

Commits
  • d00e8c0 Merge pull request #1107 from github/update-v2.1.13-31367d4e
  • 8bd4419 Update changelog for v2.1.13
  • 31367d4 Merge pull request #1100 from github/edoardo/2.9.4-bump
  • ccf5d70 Update default CodeQL version to 2.9.4
  • 30fe0a5 Merge pull request #1103 from github/aeisenberg/fix-required-checks-script
  • 7adb33d Ensure there are no duplicates when sending up required checks
  • 2e111b2 Merge pull request #1102 from github/aeisenberg/fix-query-filters-test
  • c7785f6 Fix input to action
  • 2e80c74 Merge pull request #1096 from github/aeisenberg/check-sarif-action
  • 80ecdcd Merge pull request #1098 from github/aeisenberg/remove-queries
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

@dependabot @github

dependabot Bot commented on behalf of github Jun 21, 2022

Copy link
Copy Markdown
Author

Dependabot tried to add @hixie and @godofredoc as reviewers to this PR, but received the following error from GitHub:

POST https://api.github.com/repos/DanTup/flutter/pulls/3/requested_reviewers: 422 - Reviews may only be requested from collaborators. One or more of the users or teams you specified is not a collaborator of the DanTup/flutter repository. // See: https://docs.github.com/rest/reference/pulls#request-reviewers-for-a-pull-request

@dependabot @github

dependabot Bot commented on behalf of github Jun 21, 2022

Copy link
Copy Markdown
Author

The following labels could not be found: team, team: infra, waiting for tree to go green.

@dependabot @github

dependabot Bot commented on behalf of github Jun 22, 2022

Copy link
Copy Markdown
Author

Superseded by #5.

@dependabot dependabot Bot closed this Jun 22, 2022
@dependabot
dependabot Bot deleted the dependabot/github_actions/github/codeql-action-2.1.13 branch June 22, 2022 23:59
DanTup pushed a commit that referenced this pull request Mar 30, 2023
[flutter_tools] Remove --no-sound-null-safety #3
christopherfujino pushed a commit that referenced this pull request Apr 4, 2023
…3969)

Revert "[flutter_tools] Remove --no-sound-null-safety #3"
DanTup pushed a commit that referenced this pull request Jun 8, 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)
flutter#80     ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:5111:16)
flutter#81     Element.rebuild (package:flutter/src/widgets/framework.dart:4805:7)
flutter#82     ProxyElement.update (package:flutter/src/widgets/framework.dart:5417:5)
flutter#83     Element.updateChild (package:flutter/src/widgets/framework.dart:3686:15)
flutter#84     ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:5111:16)
flutter#85     Element.rebuild (package:flutter/src/widgets/framework.dart:4805:7)
flutter#86     ProxyElement.update (package:flutter/src/widgets/framework.dart:5417:5)
flutter#87     Element.updateChild (package:flutter/src/widgets/framework.dart:3686:15)
flutter#88     ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:5111:16)
flutter#89     Element.rebuild (package:flutter/src/widgets/framework.dart:4805:7)
flutter#90     StatelessElement.update (package:flutter/src/widgets/framework.dart:5162:5)
flutter#91     Element.updateChild (package:flutter/src/widgets/framework.dart:3686:15)
flutter#92     ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:5111:16)
flutter#93     Element.rebuild (package:flutter/src/widgets/framework.dart:4805:7)
flutter#94     ProxyElement.update (package:flutter/src/widgets/framework.dart:5417:5)
flutter#95     Element.updateChild (package:flutter/src/widgets/framework.dart:3686:15)
flutter#96     ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:5111:16)
flutter#97     Element.rebuild (package:flutter/src/widgets/framework.dart:4805:7)
flutter#98     StatelessElement.update (package:flutter/src/widgets/framework.dart:5162:5)
flutter#99     Element.updateChild (package:flutter/src/widgets/framework.dart:3686:15)
flutter#100    ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:5111:16)
flutter#101    StatefulElement.performRebuild (package:flutter/src/widgets/framework.dart:5251:11)
flutter#102    Element.rebuild (package:flutter/src/widgets/framework.dart:4805:7)
flutter#103    StatefulElement.update (package:flutter/src/widgets/framework.dart:5274:5)
flutter#104    Element.updateChild (package:flutter/src/widgets/framework.dart:3686:15)
flutter#105    ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:5111:16)
flutter#106    Element.rebuild (package:flutter/src/widgets/framework.dart:4805:7)
flutter#107    ProxyElement.update (package:flutter/src/widgets/framework.dart:5417:5)
flutter#108    Element.updateChild (package:flutter/src/widgets/framework.dart:3686:15)
flutter#109    ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:5111:16)
flutter#110    Element.rebuild (package:flutter/src/widgets/framework.dart:4805:7)
flutter#111    ProxyElement.update (package:flutter/src/widgets/framework.dart:5417:5)
flutter#112    Element.updateChild (package:flutter/src/widgets/framework.dart:3686:15)
flutter#113    ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:5111:16)
flutter#114    StatefulElement.performRebuild (package:flutter/src/widgets/framework.dart:5251:11)
flutter#115    Element.rebuild (package:flutter/src/widgets/framework.dart:4805:7)
flutter#116    StatefulElement.update (package:flutter/src/widgets/framework.dart:5274:5)
flutter#117    Element.updateChild (package:flutter/src/widgets/framework.dart:3686:15)
flutter#118    ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:5111:16)
flutter#119    Element.rebuild (package:flutter/src/widgets/framework.dart:4805:7)
flutter#120    StatelessElement.update (package:flutter/src/widgets/framework.dart:5162:5)
flutter#121    Element.updateChild (package:flutter/src/widgets/framework.dart:3686:15)
flutter#122    ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:5111:16)
flutter#123    Element.rebuild (package:flutter/src/widgets/framework.dart:4805:7)
flutter#124    ProxyElement.update (package:flutter/src/widgets/framework.dart:5417:5)
flutter#125    Element.updateChild (package:flutter/src/widgets/framework.dart:3686:15)
flutter#126    SingleChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:6442:14)
flutter#127    Element.updateChild (package:flutter/src/widgets/framework.dart:3686:15)
flutter#128    ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:5111:16)
flutter#129    Element.rebuild (package:flutter/src/widgets/framework.dart:4805:7)
flutter#130    StatelessElement.update (package:flutter/src/widgets/framework.dart:5162:5)
flutter#131    Element.updateChild (package:flutter/src/widgets/framework.dart:3686:15)
flutter#132    ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:5111:16)
flutter#133    Element.rebuild (package:flutter/src/widgets/framework.dart:4805:7)
flutter#134    StatelessElement.update (package:flutter/src/widgets/framework.dart:5162:5)
flutter#135    Element.updateChild (package:flutter/src/widgets/framework.dart:3686:15)
flutter#136    ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:5111:16)
flutter#137    Element.rebuild (package:flutter/src/widgets/framework.dart:4805:7)
flutter#138    StatelessElement.update (package:flutter/src/widgets/framework.dart:5162:5)
flutter#139    Element.updateChild (package:flutter/src/widgets/framework.dart:3686:15)
flutter#140    ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:5111:16)
flutter#141    Element.rebuild (package:flutter/src/widgets/framework.dart:4805:7)
flutter#142    ProxyElement.update (package:flutter/src/widgets/framework.dart:5417:5)
flutter#143    Element.updateChild (package:flutter/src/widgets/framework.dart:3686:15)
flutter#144    ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:5111:16)
flutter#145    Element.rebuild (package:flutter/src/widgets/framework.dart:4805:7)
flutter#146    ProxyElement.update (package:flutter/src/widgets/framework.dart:5417:5)
flutter#147    Element.updateChild (package:flutter/src/widgets/framework.dart:3686:15)
flutter#148    SingleChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:6442:14)
flutter#149    Element.updateChild (package:flutter/src/widgets/framework.dart:3686:15)
flutter#150    ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:5111:16)
flutter#151    StatefulElement.performRebuild (package:flutter/src/widgets/framework.dart:5251:11)
flutter#152    Element.rebuild (package:flutter/src/widgets/framework.dart:4805:7)
flutter#153    StatefulElement.update (package:flutter/src/widgets/framework.dart:5274:5)
flutter#154    Element.updateChild (package:flutter/src/widgets/framework.dart:3686:15)
flutter#155    SingleChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:6442:14)
flutter#156    Element.updateChild (package:flutter/src/widgets/framework.dart:3686:15)
flutter#157    ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:5111:16)
flutter#158    Element.rebuild (package:flutter/src/widgets/framework.dart:4805:7)
flutter#159    ProxyElement.update (package:flutter/src/widgets/framework.dart:5417:5)
flutter#160    _InheritedNotifierElement.update (package:flutter/src/widgets/inherited_notifier.dart:107:11)
flutter#161    Element.updateChild (package:flutter/src/widgets/framework.dart:3686:15)
flutter#162    ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:5111:16)
flutter#163    StatefulElement.performRebuild (package:flutter/src/widgets/framework.dart:5251:11)
flutter#164    Element.rebuild (package:flutter/src/widgets/framework.dart:4805:7)
flutter#165    StatefulElement.update (package:flutter/src/widgets/framework.dart:5274:5)
flutter#166    Element.updateChild (package:flutter/src/widgets/framework.dart:3686:15)
flutter#167    ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:5111:16)
flutter#168    StatefulElement.performRebuild (package:flutter/src/widgets/framework.dart:5251:11)
flutter#169    Element.rebuild (package:flutter/src/widgets/framework.dart:4805:7)
flutter#170    StatefulElement.update (package:flutter/src/widgets/framework.dart:5274:5)
flutter#171    Element.updateChild (package:flutter/src/widgets/framework.dart:3686:15)
flutter#172    ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:5111:16)
flutter#173    Element.rebuild (package:flutter/src/widgets/framework.dart:4805:7)
flutter#174    ProxyElement.update (package:flutter/src/widgets/framework.dart:5417:5)
flutter#175    Element.updateChild (package:flutter/src/widgets/framework.dart:3686:15)
flutter#176    ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:5111:16)
flutter#177    StatefulElement.performRebuild (package:flutter/src/widgets/framework.dart:5251:11)
flutter#178    Element.rebuild (package:flutter/src/widgets/framework.dart:4805:7)
flutter#179    StatefulElement.update (package:flutter/src/widgets/framework.dart:5274:5)
flutter#180    Element.updateChild (package:flutter/src/widgets/framework.dart:3686:15)
flutter#181    SingleChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:6442:14)
flutter#182    Element.updateChild (package:flutter/src/widgets/framework.dart:3686:15)
flutter#183    ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:5111:16)
flutter#184    Element.rebuild (package:flutter/src/widgets/framework.dart:4805:7)
flutter#185    ProxyElement.update (package:flutter/src/widgets/framework.dart:5417:5)
flutter#186    _InheritedNotifierElement.update (package:flutter/src/widgets/inherited_notifier.dart:107:11)
flutter#187    Element.updateChild (package:flutter/src/widgets/framework.dart:3686:15)
flutter#188    ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:5111:16)
flutter#189    StatefulElement.performRebuild (package:flutter/src/widgets/framework.dart:5251:11)
flutter#190    Element.rebuild (package:flutter/src/widgets/framework.dart:4805:7)
flutter#191    StatefulElement.update (package:flutter/src/widgets/framework.dart:5274:5)
flutter#192    Element.updateChild (package:flutter/src/widgets/framework.dart:3686:15)
flutter#193    ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:5111:16)
flutter#194    StatefulElement.performRebuild (package:flutter/src/widgets/framework.dart:5251:11)
flutter#195    Element.rebuild (package:flutter/src/widgets/framework.dart:4805:7)
flutter#196    StatefulElement.update (package:flutter/src/widgets/framework.dart:5274:5)
flutter#197    Element.updateChild (package:flutter/src/widgets/framework.dart:3686:15)
flutter#198    ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:5111:16)
flutter#199    Element.rebuild (package:flutter/src/widgets/framework.dart:4805:7)
flutter#200    ProxyElement.update (package:flutter/src/widgets/framework.dart:5417:5)
flutter#201    Element.updateChild (package:flutter/src/widgets/framework.dart:3686:15)
flutter#202    ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:5111:16)
flutter#203    StatefulElement.performRebuild (package:flutter/src/widgets/framework.dart:5251:11)
flutter#204    Element.rebuild (package:flutter/src/widgets/framework.dart:4805:7)
flutter#205    StatefulElement.update (package:flutter/src/widgets/framework.dart:5274:5)
flutter#206    Element.updateChild (package:flutter/src/widgets/framework.dart:3686:15)
flutter#207    SingleChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:6442:14)
flutter#208    Element.updateChild (package:flutter/src/widgets/framework.dart:3686:15)
flutter#209    ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:5111:16)
flutter#210    Element.rebuild (package:flutter/src/widgets/framework.dart:4805:7)
flutter#211    ProxyElement.update (package:flutter/src/widgets/framework.dart:5417:5)
flutter#212    _InheritedNotifierElement.update (package:flutter/src/widgets/inherited_notifier.dart:107:11)
flutter#213    Element.updateChild (package:flutter/src/widgets/framework.dart:3686:15)
flutter#214    ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:5111:16)
flutter#215    StatefulElement.performRebuild (package:flutter/src/widgets/framework.dart:5251:11)
flutter#216    Element.rebuild (package:flutter/src/widgets/framework.dart:4805:7)
flutter#217    StatefulElement.update (package:flutter/src/widgets/framework.dart:5274:5)
flutter#218    Element.updateChild (package:flutter/src/widgets/framework.dart:3686:15)
flutter#219    ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:5111:16)
flutter#220    StatefulElement.performRebuild (package:flutter/src/widgets/framework.dart:5251:11)
flutter#221    Element.rebuild (package:flutter/src/widgets/framework.dart:4805:7)
flutter#222    StatefulElement.update (package:flutter/src/widgets/framework.dart:5274:5)
flutter#223    Element.updateChild (package:flutter/src/widgets/framework.dart:3686:15)
flutter#224    ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:5111:16)
flutter#225    Element.rebuild (package:flutter/src/widgets/framework.dart:4805:7)
flutter#226    StatelessElement.update (package:flutter/src/widgets/framework.dart:5162:5)
flutter#227    Element.updateChild (package:flutter/src/widgets/framework.dart:3686:15)
flutter#228    SingleChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:6442:14)
flutter#229    Element.updateChild (package:flutter/src/widgets/framework.dart:3686:15)
flutter#230    ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:5111:16)
flutter#231    Element.rebuild (package:flutter/src/widgets/framework.dart:4805:7)
flutter#232    ProxyElement.update (package:flutter/src/widgets/framework.dart:5417:5)
flutter#233    _InheritedNotifierElement.update (package:flutter/src/widgets/inherited_notifier.dart:107:11)
flutter#234    Element.updateChild (package:flutter/src/widgets/framework.dart:3686:15)
flutter#235    ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:5111:16)
flutter#236    StatefulElement.performRebuild (package:flutter/src/widgets/framework.dart:5251:11)
flutter#237    Element.rebuild (package:flutter/src/widgets/framework.dart:4805:7)
flutter#238    StatefulElement.update (package:flutter/src/widgets/framework.dart:5274:5)
flutter#239    Element.updateChild (package:flutter/src/widgets/framework.dart:3686:15)
flutter#240    ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:5111:16)
flutter#241    StatefulElement.performRebuild (package:flutter/src/widgets/framework.dart:5251:11)
flutter#242    Element.rebuild (package:flutter/src/widgets/framework.dart:4805:7)
flutter#243    StatefulElement.update (package:flutter/src/widgets/framework.dart:5274:5)
flutter#244    Element.updateChild (package:flutter/src/widgets/framework.dart:3686:15)
flutter#245    ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:5111:16)
flutter#246    Element.rebuild (package:flutter/src/widgets/framework.dart:4805:7)
flutter#247    ProxyElement.update (package:flutter/src/widgets/framework.dart:5417:5)
flutter#248    Element.updateChild (package:flutter/src/widgets/framework.dart:3686:15)
flutter#249    ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:5111:16)
flutter#250    StatefulElement.performRebuild (package:flutter/src/widgets/framework.dart:5251:11)
flutter#251    Element.rebuild (package:flutter/src/widgets/framework.dart:4805:7)
flutter#252    StatefulElement.update (package:flutter/src/widgets/framework.dart:5274:5)
flutter#253    Element.updateChild (package:flutter/src/widgets/framework.dart:3686:15)
flutter#254    ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:5111:16)
flutter#255    Element.rebuild (package:flutter/src/widgets/framework.dart:4805:7)
flutter#256    ProxyElement.update (package:flutter/src/widgets/framework.dart:5417:5)
flutter#257    Element.updateChild (package:flutter/src/widgets/framework.dart:3686:15)
flutter#258    ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:5111:16)
flutter#259    StatefulElement.performRebuild (package:flutter/src/widgets/framework.dart:5251:11)
flutter#260    Element.rebuild (package:flutter/src/widgets/framework.dart:4805:7)
flutter#261    StatefulElement.update (package:flutter/src/widgets/framework.dart:5274:5)
flutter#262    Element.updateChild (package:flutter/src/widgets/framework.dart:3686:15)
flutter#263    ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:5111:16)
flutter#264    Element.rebuild (package:flutter/src/widgets/framework.dart:4805:7)
flutter#265    ProxyElement.update (package:flutter/src/widgets/framework.dart:5417:5)
flutter#266    Element.updateChild (package:flutter/src/widgets/framework.dart:3686:15)
flutter#267    ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:5111:16)
flutter#268    StatefulElement.performRebuild (package:flutter/src/widgets/framework.dart:5251:11)
flutter#269    Element.rebuild (package:flutter/src/widgets/framework.dart:4805:7)
flutter#270    StatefulElement.update (package:flutter/src/widgets/framework.dart:5274:5)
flutter#271    Element.updateChild (package:flutter/src/widgets/framework.dart:3686:15)
flutter#272    ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:5111:16)
flutter#273    StatefulElement.performRebuild (package:flutter/src/widgets/framework.dart:5251:11)
flutter#274    Element.rebuild (package:flutter/src/widgets/framework.dart:4805:7)
flutter#275    StatefulElement.update (package:flutter/src/widgets/framework.dart:5274:5)
flutter#276    Element.updateChild (package:flutter/src/widgets/framework.dart:3686:15)
flutter#277    SingleChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:6442:14)
flutter#278    Element.updateChild (package:flutter/src/widgets/framework.dart:3686:15)
flutter#279    ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:5111:16)
flutter#280    Element.rebuild (package:flutter/src/widgets/framework.dart:4805:7)
flutter#281    ProxyElement.update (package:flutter/src/widgets/framework.dart:5417:5)
flutter#282    _InheritedNotifierElement.update (package:flutter/src/widgets/inherited_notifier.dart:107:11)
flutter#283    Element.updateChild (package:flutter/src/widgets/framework.dart:3686:15)
flutter#284    ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:5111:16)
flutter#285    StatefulElement.performRebuild (package:flutter/src/widgets/framework.dart:5251:11)
flutter#286    Element.rebuild (package:flutter/src/widgets/framework.dart:4805:7)
flutter#287    StatefulElement.update (package:flutter/src/widgets/framework.dart:5274:5)
flutter#288    Element.updateChild (package:flutter/src/widgets/framework.dart:3686:15)
flutter#289    ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:5111:16)
flutter#290    Element.rebuild (package:flutter/src/widgets/framework.dart:4805:7)
flutter#291    ProxyElement.update (package:flutter/src/widgets/framework.dart:5417:5)
flutter#292    Element.updateChild (package:flutter/src/widgets/framework.dart:3686:15)
flutter#293    ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:5111:16)
flutter#294    Element.rebuild (package:flutter/src/widgets/framework.dart:4805:7)
flutter#295    ProxyElement.update (package:flutter/src/widgets/framework.dart:5417:5)
flutter#296    Element.updateChild (package:flutter/src/widgets/framework.dart:3686:15)
flutter#297    ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:5111:16)
flutter#298    StatefulElement.performRebuild (package:flutter/src/widgets/framework.dart:5251:11)
flutter#299    Element.rebuild (package:flutter/src/widgets/framework.dart:4805:7)
flutter#300    StatefulElement.update (package:flutter/src/widgets/framework.dart:5274:5)
flutter#301    Element.updateChild (package:flutter/src/widgets/framework.dart:3686:15)
flutter#302    ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:5111:16)
flutter#303    Element.rebuild (package:flutter/src/widgets/framework.dart:4805:7)
flutter#304    ProxyElement.update (package:flutter/src/widgets/framework.dart:5417:5)
flutter#305    Element.updateChild (package:flutter/src/widgets/framework.dart:3686:15)
flutter#306    ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:5111:16)
flutter#307    StatefulElement.performRebuild (package:flutter/src/widgets/framework.dart:5251:11)
flutter#308    Element.rebuild (package:flutter/src/widgets/framework.dart:4805:7)
flutter#309    StatefulElement.update (package:flutter/src/widgets/framework.dart:5274:5)
flutter#310    Element.updateChild (package:flutter/src/widgets/framework.dart:3686:15)
flutter#311    ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:5111:16)
flutter#312    Element.rebuild (package:flutter/src/widgets/framework.dart:4805:7)
flutter#313    ProxyElement.update (package:flutter/src/widgets/framework.dart:5417:5)
flutter#314    Element.updateChild (package:flutter/src/widgets/framework.dart:3686:15)
flutter#315    ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:5111:16)
flutter#316    Element.rebuild (package:flutter/src/widgets/framework.dart:4805:7)
flutter#317    StatelessElement.update (package:flutter/src/widgets/framework.dart:5162:5)
flutter#318    Element.updateChild (package:flutter/src/widgets/framework.dart:3686:15)
flutter#319    RenderObjectToWidgetElement._rebuild (package:flutter/src/widgets/binding.dart:1253:16)
flutter#320    RenderObjectToWidgetElement.update (package:flutter/src/widgets/binding.dart:1230:5)
flutter#321    RenderObjectToWidgetElement.performRebuild (package:flutter/src/widgets/binding.dart:1244:7)
flutter#322    Element.rebuild (package:flutter/src/widgets/framework.dart:4805:7)
flutter#323    BuildOwner.buildScope (package:flutter/src/widgets/framework.dart:2780:19)
flutter#324    AutomatedTestWidgetsFlutterBinding.drawFrame (package:flutter_test/src/binding.dart:1396:19)
flutter#325    RendererBinding._handlePersistentFrameCallback (package:flutter/src/rendering/binding.dart:358:5)
flutter#326    SchedulerBinding._invokeFrameCallback (package:flutter/src/scheduler/binding.dart:1297:15)
flutter#327    SchedulerBinding.handleDrawFrame (package:flutter/src/scheduler/binding.dart:1227:9)
flutter#328    AutomatedTestWidgetsFlutterBinding.pump.<anonymous closure> (package:flutter_test/src/binding.dart:1246:9)
flutter#331    TestAsyncUtils.guard (package:flutter_test/src/test_async_utils.dart:68:41)
flutter#332    AutomatedTestWidgetsFlutterBinding.pump (package:flutter_test/src/binding.dart:1232:27)
flutter#333    WidgetTester._pumpWidget (package:flutter_test/src/widget_tester.dart:587:20)
flutter#334    WidgetTester.pumpWidget.<anonymous closure> (package:flutter_test/src/widget_tester.dart:572:14)
flutter#337    TestAsyncUtils.guard (package:flutter_test/src/test_async_utils.dart:68:41)
flutter#338    WidgetTester.pumpWidget (package:flutter_test/src/widget_tester.dart:571:27)
flutter#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>
DanTup pushed a commit that referenced this pull request Aug 31, 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].*
DanTup pushed a commit that referenced this pull request Sep 16, 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
DanTup pushed a commit that referenced this pull request Apr 16, 2025
Currently when using a `CustomScrollView`, screen readers cannot list or
move focus to elements that are outside the current Viewport and cache
extent because we do not create semantic nodes for these elements.

This change introduces `SliverEnsureSemantics` which ensures its sliver
child is included in the semantics tree, whether or not it is currently
visible on the screen or within the cache extent. This way screen
readers are aware the elements are there and can navigate to them /
create accessibility traversal menus with this information.
* Under the hood a new flag has been added to `RenderSliver` called
`ensureSemantics`. `RenderViewportBase` uses this in its
`visitChildrenForSemantics` to ensure a sliver is visited when creating
the semantics tree. Previously a sliver was not visited if it was not
visible or within the cache extent. `RenderViewportBase` also uses this
in `describeSemanticsClip` and `describeApproximatePaintClip` to ensure
a sliver child that wants to "ensure semantics" is not clipped out if it
is not currently visible in the viewport or outside the cache extent.
* `RenderSliverMultiBoxAdaptor.semanticBounds` now leverages its first
child as an anchor for assistive technologies to be able to reach it if
the Sliver is a child of `SliverEnsureSemantics`. If not it will still
be dropped from the semantics tree.
* `RenderProxySliver` now considers child overrides of `semanticBounds`.

On the engine side we move from using a joystick method to scroll with
`SemanticsAction.scrollUp` and `SemanticsAction.scrollDown` to using
`SemanticsAction.scrollToOffset` completely letting the browser drive
the scrolling with its current dom scroll position "scrollTop" or
"scrollLeft". This is possible by calculating the total quantity of
content under the scrollable and sizing the scroll element based on
that.

<details open><summary>Code sample</summary>

```dart
// Copyright 2014 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

import 'package:flutter/material.dart';
import 'package:flutter/rendering.dart';

/// Flutter code sample for [SliverEnsureSemantics].

void main() => runApp(const SliverEnsureSemanticsExampleApp());

class SliverEnsureSemanticsExampleApp extends StatelessWidget {
  const SliverEnsureSemanticsExampleApp({super.key});

  @OverRide
  Widget build(BuildContext context) {
    return const MaterialApp(home: SliverEnsureSemanticsExample());
  }
}

class SliverEnsureSemanticsExample extends StatefulWidget {
  const SliverEnsureSemanticsExample({super.key});

  @OverRide
  State<SliverEnsureSemanticsExample> createState() =>
      _SliverEnsureSemanticsExampleState();
}

class _SliverEnsureSemanticsExampleState
    extends State<SliverEnsureSemanticsExample> {
  @OverRide
  Widget build(BuildContext context) {
    final ThemeData theme = Theme.of(context);
    return Scaffold(
      appBar: AppBar(
        backgroundColor: theme.colorScheme.inversePrimary,
        title: const Text('SliverEnsureSemantics Demo'),
      ),
      body: Center(
        child: CustomScrollView(
          semanticChildCount: 106,
          slivers: <Widget>[
            SliverEnsureSemantics(
              sliver: SliverToBoxAdapter(
                child: IndexedSemantics(
                  index: 0,
                  child: Card(
                    child: Padding(
                      padding: const EdgeInsets.all(8.0),
                      child: Column(
                        crossAxisAlignment: CrossAxisAlignment.start,
                        children: <Widget>[
                          Semantics(
                            header: true,
                            headingLevel: 3,
                            child: Text(
                              'Steps to reproduce',
                              style: theme.textTheme.headlineSmall,
                            ),
                          ),
                          const Text('Issue description'),
                          Semantics(
                            header: true,
                            headingLevel: 3,
                            child: Text(
                              'Expected Results',
                              style: theme.textTheme.headlineSmall,
                            ),
                          ),
                          Semantics(
                            header: true,
                            headingLevel: 3,
                            child: Text(
                              'Actual Results',
                              style: theme.textTheme.headlineSmall,
                            ),
                          ),
                          Semantics(
                            header: true,
                            headingLevel: 3,
                            child: Text(
                              'Code Sample',
                              style: theme.textTheme.headlineSmall,
                            ),
                          ),
                          Semantics(
                            header: true,
                            headingLevel: 3,
                            child: Text(
                              'Screenshots',
                              style: theme.textTheme.headlineSmall,
                            ),
                          ),
                          Semantics(
                            header: true,
                            headingLevel: 3,
                            child: Text(
                              'Logs',
                              style: theme.textTheme.headlineSmall,
                            ),
                          ),
                        ],
                      ),
                    ),
                  ),
                ),
              ),
            ),
            SliverFixedExtentList(
              itemExtent: 44.0,
              delegate: SliverChildBuilderDelegate(
                (BuildContext context, int index) {
                  return Card(
                    child: Padding(
                      padding: const EdgeInsets.all(8.0),
                      child: Text('Item $index'),
                    ),
                  );
                },
                childCount: 50,
                semanticIndexOffset: 1,
              ),
            ),
            SliverEnsureSemantics(
              sliver: SliverToBoxAdapter(
                child: IndexedSemantics(
                  index: 51,
                  child: Card(
                    child: Padding(
                      padding: const EdgeInsets.all(8.0),
                      child: Semantics(
                        header: true,
                        child: const Text('Footer 1'),
                      ),
                    ),
                  ),
                ),
              ),
            ),
            SliverEnsureSemantics(
              sliver: SliverToBoxAdapter(
                child: IndexedSemantics(
                  index: 52,
                  child: Card(
                    child: Padding(
                      padding: const EdgeInsets.all(8.0),
                      child: Semantics(
                        header: true,
                        child: const Text('Footer 2'),
                      ),
                    ),
                  ),
                ),
              ),
            ),
            SliverEnsureSemantics(
              sliver: SliverToBoxAdapter(
                child: IndexedSemantics(
                  index: 53,
                  child: Semantics(link: true, child: const Text('Link #1')),
                ),
              ),
            ),
            SliverEnsureSemantics(
              sliver: SliverToBoxAdapter(
                child: IndexedSemantics(
                  index: 54,
                  child: OverflowBar(
                    children: <Widget>[
                      TextButton(
                        onPressed: () {},
                        child: const Text('Button 1'),
                      ),
                      TextButton(
                        onPressed: () {},
                        child: const Text('Button 2'),
                      ),
                    ],
                  ),
                ),
              ),
            ),
            SliverEnsureSemantics(
              sliver: SliverToBoxAdapter(
                child: IndexedSemantics(
                  index: 55,
                  child: Semantics(link: true, child: const Text('Link #2')),
                ),
              ),
            ),
            SliverEnsureSemantics(
              sliver: SliverSemanticsList(
                sliver: SliverFixedExtentList(
                  itemExtent: 44.0,
                  delegate: SliverChildBuilderDelegate(
                    (BuildContext context, int index) {
                      return Semantics(
                        role: SemanticsRole.listItem,
                        child: Card(
                          child: Padding(
                            padding: const EdgeInsets.all(8.0),
                            child: Text('Second List Item $index'),
                          ),
                        ),
                      );
                    },
                    childCount: 50,
                    semanticIndexOffset: 56,
                  ),
                ),
              ),
            ),
            SliverEnsureSemantics(
              sliver: SliverToBoxAdapter(
                child: IndexedSemantics(
                  index: 107,
                  child: Semantics(link: true, child: const Text('Link #3')),
                ),
              ),
            ),
          ],
        ),
      ),
    );
  }
}

// A sliver that assigns the role of SemanticsRole.list to its sliver child.
class SliverSemanticsList extends SingleChildRenderObjectWidget {
  const SliverSemanticsList({super.key, required Widget sliver})
    : super(child: sliver);

  @OverRide
  RenderSliverSemanticsList createRenderObject(BuildContext context) =>
      RenderSliverSemanticsList();
}

class RenderSliverSemanticsList extends RenderProxySliver {
  @OverRide
  void describeSemanticsConfiguration(SemanticsConfiguration config) {
    super.describeSemanticsConfiguration(config);
    config.role = SemanticsRole.list;
  }
}
```
</details>

Fixes: flutter#160217

## 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.

---------

Co-authored-by: Renzo Olivares <[email protected]>
DanTup pushed a commit that referenced this pull request Apr 16, 2025
<!-- start_original_pr_link -->
Reverts: flutter#165589
<!-- end_original_pr_link -->
<!-- start_initiating_author -->
Initiated by: Renzo-Olivares
<!-- end_initiating_author -->
<!-- start_revert_reason -->
Reason for reverting: breaking internal tests
<!-- end_revert_reason -->
<!-- start_original_pr_author -->
Original PR Author: Renzo-Olivares
<!-- end_original_pr_author -->

<!-- start_reviewers -->
Reviewed By: {Piinks}
<!-- end_reviewers -->

<!-- start_revert_body -->
This change reverts the following previous change:
Currently when using a `CustomScrollView`, screen readers cannot list or
move focus to elements that are outside the current Viewport and cache
extent because we do not create semantic nodes for these elements.

This change introduces `SliverEnsureSemantics` which ensures its sliver
child is included in the semantics tree, whether or not it is currently
visible on the screen or within the cache extent. This way screen
readers are aware the elements are there and can navigate to them /
create accessibility traversal menus with this information.
* Under the hood a new flag has been added to `RenderSliver` called
`ensureSemantics`. `RenderViewportBase` uses this in its
`visitChildrenForSemantics` to ensure a sliver is visited when creating
the semantics tree. Previously a sliver was not visited if it was not
visible or within the cache extent. `RenderViewportBase` also uses this
in `describeSemanticsClip` and `describeApproximatePaintClip` to ensure
a sliver child that wants to "ensure semantics" is not clipped out if it
is not currently visible in the viewport or outside the cache extent.
* `RenderSliverMultiBoxAdaptor.semanticBounds` now leverages its first
child as an anchor for assistive technologies to be able to reach it if
the Sliver is a child of `SliverEnsureSemantics`. If not it will still
be dropped from the semantics tree.
* `RenderProxySliver` now considers child overrides of `semanticBounds`.

On the engine side we move from using a joystick method to scroll with
`SemanticsAction.scrollUp` and `SemanticsAction.scrollDown` to using
`SemanticsAction.scrollToOffset` completely letting the browser drive
the scrolling with its current dom scroll position "scrollTop" or
"scrollLeft". This is possible by calculating the total quantity of
content under the scrollable and sizing the scroll element based on
that.

<details open><summary>Code sample</summary>

```dart
// Copyright 2014 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

import 'package:flutter/material.dart';
import 'package:flutter/rendering.dart';

/// Flutter code sample for [SliverEnsureSemantics].

void main() => runApp(const SliverEnsureSemanticsExampleApp());

class SliverEnsureSemanticsExampleApp extends StatelessWidget {
  const SliverEnsureSemanticsExampleApp({super.key});

  @OverRide
  Widget build(BuildContext context) {
    return const MaterialApp(home: SliverEnsureSemanticsExample());
  }
}

class SliverEnsureSemanticsExample extends StatefulWidget {
  const SliverEnsureSemanticsExample({super.key});

  @OverRide
  State<SliverEnsureSemanticsExample> createState() =>
      _SliverEnsureSemanticsExampleState();
}

class _SliverEnsureSemanticsExampleState
    extends State<SliverEnsureSemanticsExample> {
  @OverRide
  Widget build(BuildContext context) {
    final ThemeData theme = Theme.of(context);
    return Scaffold(
      appBar: AppBar(
        backgroundColor: theme.colorScheme.inversePrimary,
        title: const Text('SliverEnsureSemantics Demo'),
      ),
      body: Center(
        child: CustomScrollView(
          semanticChildCount: 106,
          slivers: <Widget>[
            SliverEnsureSemantics(
              sliver: SliverToBoxAdapter(
                child: IndexedSemantics(
                  index: 0,
                  child: Card(
                    child: Padding(
                      padding: const EdgeInsets.all(8.0),
                      child: Column(
                        crossAxisAlignment: CrossAxisAlignment.start,
                        children: <Widget>[
                          Semantics(
                            header: true,
                            headingLevel: 3,
                            child: Text(
                              'Steps to reproduce',
                              style: theme.textTheme.headlineSmall,
                            ),
                          ),
                          const Text('Issue description'),
                          Semantics(
                            header: true,
                            headingLevel: 3,
                            child: Text(
                              'Expected Results',
                              style: theme.textTheme.headlineSmall,
                            ),
                          ),
                          Semantics(
                            header: true,
                            headingLevel: 3,
                            child: Text(
                              'Actual Results',
                              style: theme.textTheme.headlineSmall,
                            ),
                          ),
                          Semantics(
                            header: true,
                            headingLevel: 3,
                            child: Text(
                              'Code Sample',
                              style: theme.textTheme.headlineSmall,
                            ),
                          ),
                          Semantics(
                            header: true,
                            headingLevel: 3,
                            child: Text(
                              'Screenshots',
                              style: theme.textTheme.headlineSmall,
                            ),
                          ),
                          Semantics(
                            header: true,
                            headingLevel: 3,
                            child: Text(
                              'Logs',
                              style: theme.textTheme.headlineSmall,
                            ),
                          ),
                        ],
                      ),
                    ),
                  ),
                ),
              ),
            ),
            SliverFixedExtentList(
              itemExtent: 44.0,
              delegate: SliverChildBuilderDelegate(
                (BuildContext context, int index) {
                  return Card(
                    child: Padding(
                      padding: const EdgeInsets.all(8.0),
                      child: Text('Item $index'),
                    ),
                  );
                },
                childCount: 50,
                semanticIndexOffset: 1,
              ),
            ),
            SliverEnsureSemantics(
              sliver: SliverToBoxAdapter(
                child: IndexedSemantics(
                  index: 51,
                  child: Card(
                    child: Padding(
                      padding: const EdgeInsets.all(8.0),
                      child: Semantics(
                        header: true,
                        child: const Text('Footer 1'),
                      ),
                    ),
                  ),
                ),
              ),
            ),
            SliverEnsureSemantics(
              sliver: SliverToBoxAdapter(
                child: IndexedSemantics(
                  index: 52,
                  child: Card(
                    child: Padding(
                      padding: const EdgeInsets.all(8.0),
                      child: Semantics(
                        header: true,
                        child: const Text('Footer 2'),
                      ),
                    ),
                  ),
                ),
              ),
            ),
            SliverEnsureSemantics(
              sliver: SliverToBoxAdapter(
                child: IndexedSemantics(
                  index: 53,
                  child: Semantics(link: true, child: const Text('Link #1')),
                ),
              ),
            ),
            SliverEnsureSemantics(
              sliver: SliverToBoxAdapter(
                child: IndexedSemantics(
                  index: 54,
                  child: OverflowBar(
                    children: <Widget>[
                      TextButton(
                        onPressed: () {},
                        child: const Text('Button 1'),
                      ),
                      TextButton(
                        onPressed: () {},
                        child: const Text('Button 2'),
                      ),
                    ],
                  ),
                ),
              ),
            ),
            SliverEnsureSemantics(
              sliver: SliverToBoxAdapter(
                child: IndexedSemantics(
                  index: 55,
                  child: Semantics(link: true, child: const Text('Link #2')),
                ),
              ),
            ),
            SliverEnsureSemantics(
              sliver: SliverSemanticsList(
                sliver: SliverFixedExtentList(
                  itemExtent: 44.0,
                  delegate: SliverChildBuilderDelegate(
                    (BuildContext context, int index) {
                      return Semantics(
                        role: SemanticsRole.listItem,
                        child: Card(
                          child: Padding(
                            padding: const EdgeInsets.all(8.0),
                            child: Text('Second List Item $index'),
                          ),
                        ),
                      );
                    },
                    childCount: 50,
                    semanticIndexOffset: 56,
                  ),
                ),
              ),
            ),
            SliverEnsureSemantics(
              sliver: SliverToBoxAdapter(
                child: IndexedSemantics(
                  index: 107,
                  child: Semantics(link: true, child: const Text('Link #3')),
                ),
              ),
            ),
          ],
        ),
      ),
    );
  }
}

// A sliver that assigns the role of SemanticsRole.list to its sliver child.
class SliverSemanticsList extends SingleChildRenderObjectWidget {
  const SliverSemanticsList({super.key, required Widget sliver})
    : super(child: sliver);

  @OverRide
  RenderSliverSemanticsList createRenderObject(BuildContext context) =>
      RenderSliverSemanticsList();
}

class RenderSliverSemanticsList extends RenderProxySliver {
  @OverRide
  void describeSemanticsConfiguration(SemanticsConfiguration config) {
    super.describeSemanticsConfiguration(config);
    config.role = SemanticsRole.list;
  }
}
```
</details>

Fixes: flutter#160217

## 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.
<!-- end_revert_body -->

Co-authored-by: auto-submit[bot] <[email protected]>
DanTup pushed a commit that referenced this pull request May 21, 2025
Fixes error found in rolling to google.

```
[☠] Android toolchain - develop for Android devices (the doctor check crashed)
    ✗ Due to an error, the doctor check did not complete. If the error message
      below is not helpful, please let us know about this issue at
      https://github.com/flutter/flutter/issues.
    ✗ type 'Null' is not a subtype of type 'String' of 'executable'
    • #0      LocalProcessManager.canRun
      (package:process/src/interface/local_process_manager.dart:124)
      #1      getEmulatorVersion
      (package:flutter_tools/src/android/android_workflow.dart:64)
      #2      AndroidValidator.validateImpl
      (package:flutter_tools/src/android/android_workflow.dart:200)
      #3      DoctorValidator.validate
      (package:flutter_tools/src/doctor_validator.dart:58)
      #4      Doctor.startValidatorTasks.<anonymous closure>
      (package:flutter_tools/src/doctor.dart:244)
      #5      asyncGuard.<anonymous closure>
      (package:flutter_tools/src/base/async_guard.dart:109)
      #6      _rootRun (dart:async/zone.dart:1525)
      #7      _CustomZone.run (dart:async/zone.dart:1422)
      #8      _runZoned (dart:async/zone.dart:2033)
      #9      runZonedGuarded (dart:async/zone.dart:2019)
      #10     runZoned (dart:async/zone.dart:1952)
      #11     asyncGuard (package:flutter_tools/src/base/async_guard.dart:106)
      #12     Doctor.startValidatorTasks
      (package:flutter_tools/src/doctor.dart:234)
      #13     Doctor.diagnose (package:flutter_tools/src/doctor.dart:372)
      #14     DoctorCommand.runCommand
      (package:flutter_tools/src/commands/doctor.dart:59)
      #15     FlutterCommand.verifyThenRunCommand
      (package:flutter_tools/src/runner/flutter_command.dart:1897)
      <asynchronous suspension>
      #16     FlutterCommand.run.<anonymous closure>
      (package:flutter_tools/src/runner/flutter_command.dart:1551)
      <asynchronous suspension>
      #17     AppContext.run.<anonymous closure>
      (package:flutter_tools/src/base/context.dart:154)
      <asynchronous suspension>
      #18     CommandRunner.runCommand (package:args/command_runner.dart:212)
      <asynchronous suspension>
      #19     FlutterCommandRunner.runCommand.<anonymous closure>
      (package:flutter_tools/src/runner/flutter_command_runner.dart:501)
      <asynchronous suspension>
      #20     AppContext.run.<anonymous closure>
      (package:flutter_tools/src/base/context.dart:154)
      <asynchronous suspension>
      #21     FlutterCommandRunner.runCommand
      (package:flutter_tools/src/runner/flutter_command_runner.dart:438)
      <asynchronous suspension>
      #22     run.<anonymous closure>.<anonymous closure>
      (package:flutter_tools/runner.dart:98)
      <asynchronous suspension>
      #23     AppContext.run.<anonymous closure>
      (package:flutter_tools/src/base/context.dart:154)
      <asynchronous suspension>
      #24     AppContext.run.<anonymous closure>
      (package:flutter_tools/src/base/context.dart:154)
      <asynchronous suspension>
      #25     run (package:mobile.flutter.cli/flutter_tools.dart:106)
      <asynchronous suspension>
      #26     main (google3:///mobile/flutter/cli/bin/cli_usage_aot.dart:4)
```

## 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].

<!-- 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
DanTup pushed a commit that referenced this pull request Apr 22, 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) {
                  …
DanTup pushed a commit that referenced this pull request Jun 10, 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
DanTup pushed a commit that referenced this pull request Jun 10, 2026
…rent (e.g. Table) (flutter#185793)

## Issue

Fixes flutter#174133 (and the duplicate flutter#180337). Placing a widget that hosts
an `OverlayPortal` — most visibly `Slider`, but anything that calls
`OverlayPortalController.show()` before its `OverlayPortal` is mounted —
inside a `Table`/`TableRow` crashes during mount with:

```
'package:flutter/src/rendering/object.dart':
Failed assertion: line 2138 pos 12: 'child.owner == owner': is not true.

#2  RenderObject.redepthChild
#3  _RenderDeferredLayoutBox.redepthChildren           overlay.dart:2576
#4  RenderObject.redepthChild
#5  RenderObject.adoptChild
#6  _RenderTheater._addDeferredChild                   overlay.dart:1312
#7  _OverlayEntryLocation._addChild                    overlay.dart:2185
#8  _OverlayPortalElement.insertRenderObjectChild      overlay.dart:2447
...
#24 _TableElement.mount.<anonymous closure>...        table.dart:303
```

This is a regression introduced between Flutter 3.32 and 3.35.

## Root cause

`Table` defers calling `adoptChild` on its `RenderObject` children until
*every* row has been mounted (`_TableElement.insertRenderObjectChild` is
a no-op while `_doingMountOrUpdate`; the children are wired in later by
`_updateRenderObjectChildren`). Meanwhile `_OverlayPortalElement.mount`
runs `super.mount` (which "attaches" the layout surrogate to its parent
— but Table swallows it) and then immediately mounts the overlay child,
which causes the deferred-layout box to be adopted by the
`_RenderTheater`. The theater is attached, so the deferred box receives
an owner — *while the layout surrogate has none yet*.

When the theater calls `redepthChild(deferredBox)`, the deferred box's
`redepthChildren` unconditionally calls
`_layoutSurrogate.redepthChild(this)`, which trips the `child.owner ==
owner` assertion across that owner boundary.

## Fix

`_RenderDeferredLayoutBox.redepthChildren` now skips the cross-redepth
when the surrogate is not yet attached, mirroring the existing guard in
`_RenderLayoutSurrogateProxyBox.redepthChildren`:

```dart
if (_layoutSurrogate.attached) {
  _layoutSurrogate.redepthChild(this);
}
```

The depth invariant is restored when the surrogate is finally adopted by
its parent: `_RenderLayoutSurrogateProxyBox.redepthChildren` already
calls `redepthChild(_deferredLayoutChild)` once that child becomes
attached.

## Tests

Adds a regression test in `test/widgets/table_test.dart` placing an
`OverlayPortal` whose controller is `.show()`'d before mount (mirroring
`Slider`) inside a `TableRow`, asserting that no exception is thrown and
the overlay child is present.

Without this fix the new test reproduces the assertion. With this fix
`flutter test test/widgets/table_test.dart`,
`test/widgets/overlay_portal_test.dart`,
`test/widgets/overlay_test.dart`, `test/widgets/raw_tooltip_test.dart`,
`test/widgets/overlay_layout_builder_test.dart`, and
`test/material/slider_test.dart` all pass.

## 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].
- [x] I listed at least one issue that this PR fixes in the description
above.
- [x] I added new tests to check the change I am making.
- [x] All existing and new tests are passing.

[Contributor Guide]:
https://github.com/flutter/flutter/wiki/Tree-hygiene#overview
[Tree Hygiene]: https://github.com/flutter/flutter/wiki/Tree-hygiene
[Flutter Style Guide]:
https://github.com/flutter/flutter/wiki/Style-guide-for-Flutter-repo

---------

Co-authored-by: Victor Sanni <[email protected]>
DanTup pushed a commit that referenced this pull request Jun 10, 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
DanTup pushed a commit that referenced this pull request Aug 6, 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 <[email protected]>
DanTup pushed a commit that referenced this pull request Aug 25, 2026
…dependencies through the new DSL (flutter#191218)

This is PR 3 of 11 in the AGP 9.1.0 / public `gradle-api`/ newdsl
migration stack.

* It migrates many (but not all) usages of getLegacyAndroidExtension. 
* Introduces consistency in renaming of imports. 
* Adds a test to ensure we are not adding internal apis (thanks
@mboetger from pr1)
* builds the ability to run our gradle tests with multiple AGP versions
(see packages/flutter_tools/gradle/build.gradle.kts)

Between PR 3 and PR 8, an Add-to-app host app embedding a Flutter module
with a custom build type (for example "staging") gets release engine
artifacts. That means hot reload, debugger attach, and DevTools do not
operate in that build.
We can't move the work in PR 8 up but I would not want to cut a release
between this pr and 8 landing. If we keep reviewing one pr a day then
that is not a risk.

Apps impacted by this change can use matchingFallbacks to avoid this
problem (see code below).

In pr 8 we change when we look for "isDebuggable" to much later in the
gradle lifeycle when all the variants have been created which then lets
us use a new api to understand if the variant is intended to be
debuggable.

Kotlin 
```kotlin
// host app build.gradle.kts
android {
    buildTypes {
        create("staging") {
            isDebuggable = true
            applicationIdSuffix = ".staging"
            matchingFallbacks += "debug" /// This line. 
        }
    }
}
```
Groovy 
```groovy
// host app build.gradle
android {
    buildTypes {
        staging {
            debuggable true
            applicationIdSuffix ".staging"
            matchingFallbacks = ['debug'] /// This line. 
        }
    }
}
```

Depends on flutter#190957 (PR 2).
- @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 passed presubmits, postsubmits, 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)

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
every pr.

--- 
Agent authored description. 
This is PR 3 of 11 in the AGP 9.1.0 / public `gradle-api` migration
stack (flutter#180137, flutter#166550).

### Key Changes
- **DSL Build Mode Overloads**: Adds `buildModeFor` overloads accepting
`ApplicationBuildType`, `DynamicFeatureBuildType`, and
`LibraryBuildType` DSL types alongside the `(buildTypeName,
isDebuggable)` core overload.
- **Robust CompileSdkVersion Domain Model**: Extracts
`CompileSdkVersion` with constructor invariant validation (`init {
require(...) }`) enforcing mutual exclusivity between `apiLevel` and
`previewCodename`.
- **Namespaced Multi-AGP Build Property**: Namespaces the AGP version
property in `packages/flutter_tools/gradle/build.gradle.kts` as
`flutter.internal.agpVersion` (defaulting to `8.11.1`) to prevent user
app properties from leaking into the included build during app
compilation.
- **Standardized Type Aliasing**: Applies non-temporal type aliasing
(`import com.android.build.api.dsl.BuildType as DslBuildType`) across
`FlutterPlugin.kt` and `PluginHandler.kt`.
- **Public DSL Extension Access**: Updates `addFlutterDependencies` and
`PluginHandler` to iterate `AgpCommonExtensionWrapper.buildTypes`.
- **Build & Bytecode Validation**: Adds the
`:validateNoCommonExtensionInBytecode` task in `build.gradle.kts` to
prevent compiled main classes from referencing binary-incompatible
`CommonExtension`, and adds `BytecodeValidatorTest.kt` verifying the
binary pattern-matching and class scanning logic.
- **Comprehensive Unit Tests**: Adds full 4-way dispatch test coverage
in `AgpCommonExtensionWrapperTest`, dependency wiring tests in
`FlutterPluginTest`, and decomposes `PluginHandlerTest` mock fixtures
into focused helpers with positive assertions.

### Add-to-App & DSL Scope Context
`LibraryBuildType` does not expose `isDebuggable` at DSL scope. In PR 3,
custom build types on library projects (e.g. host app 'staging') fall
back to `"release"` at DSL scope. In PR 8 ("Unify add-to-app module
wiring on the variant API"), module wiring will be unified on
`Component.debuggable` at variant scope.

## 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 <[email protected]>
Co-authored-by: Reid Baker <[email protected]>
DanTup pushed a commit that referenced this pull request Oct 21, 2026
…rror 206) (flutter#194867)

When a Flutter project, SDK, or subprocess command path on Windows
exceeds `MAX_PATH` (260 characters), Win32 process and file operations
fail with OS error code `206` (`ERROR_FILENAME_EXCED_RANGE`: `The
filename or extension is too long`). Previously,
`_handleWindowsException` in `error_handling_io.dart` did not recognize
error code `206`, causing `ErrorHandlingProcessManager` and
`ErrorHandlingFileSystem` to rethrow an unhandled
`ProcessPackageException` or `FileSystemException` and trigger a crash
report.

Add `kFilenameExcedRange = 206` to `_handleWindowsException` so
operations failing with error code `206` exit cleanly with a `ToolExit`
instructing the user to move the Flutter SDK and/or project to a shorter
path or enable long paths on Windows.

### Previous output
```text
Unhandled exception:
ProcessPackageException: ProcessException: The filename or extension is too long
  Command: C:\Users\User\AppData\Local\Temp\...
#0      LocalProcessManager.runSync (package:process/src/interface/local_process_manager.dart:118)
#1      ErrorHandlingProcessManager.runSync.<anonymous closure> (package:flutter_tools/src/base/error_handling_io.dart:1310)
#2      _runSync (package:flutter_tools/src/base/error_handling_io.dart:1118)
#3      ErrorHandlingProcessManager.runSync (package:flutter_tools/src/base/error_handling_io.dart:1308)
#4      _DefaultPub._preloadPubCache (package:flutter_tools/src/dart/pub.dart:645)
```

### Current output
```text
Flutter failed to run "C:\Users\User\AppData\Local\Temp\...". The filename or extension is too long.
ProcessException: The filename or extension is too long
  Command: C:\Users\User\AppData\Local\Temp\...
Please consider moving the Flutter SDK and/or project to a shorter path, or enabling long paths on Windows.
```

Fixes flutter#194570
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.

0 participants