Skip to content

Overlay portal paint transform builder - #1

Closed
LongCatIsLooong wants to merge 9 commits into
OverlayPortal-always-add-to-dirty-listfrom
OverlayPortal-paint-transform-builder
Closed

LongCatIsLooong wants to merge 9 commits into
OverlayPortal-always-add-to-dirty-listfrom
OverlayPortal-paint-transform-builder

Conversation

@LongCatIsLooong

Copy link
Copy Markdown
Owner

WIP

Pre-launch Checklist

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

LongCatIsLooong pushed a commit that referenced this pull request Mar 3, 2025
The crash indicates that FlutterJNI is returning a nullptr
SurfaceControl.Transaction. That likely indicates that we're trying to
rasterize a frame before the platform view controller is setup.
Potentially a startup race?

At any rate, if the PVC is null that means there is no platform views -
so it should be safe to create a tx on the fly. Interestingly I cannot
repro this locally even on the same device.

```
[2025-02-11 21:50:37.462356] [STDOUT] stdout: [ +173 ms] *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
[2025-02-11 21:50:37.462539] [STDOUT] stdout: [        ] Build fingerprint: 'google/cheetah/cheetah:13/TQ3A.230901.001/10750268:user/release-keys'
[2025-02-11 21:50:37.462564] [STDOUT] stdout: [        ] Revision: 'MP1.0'
[2025-02-11 21:50:37.463914] [STDOUT] stdout: [   +1 ms] ABI: 'arm64'
[2025-02-11 21:50:37.463946] [STDOUT] stdout: [        ] Timestamp: 2025-02-11 21:57:42.183302140-0800
[2025-02-11 21:50:37.463959] [STDOUT] stdout: [        ] Process uptime: 3s
[2025-02-11 21:50:37.464054] [STDOUT] stdout: [        ] Cmdline: dev.benchmarks.platform_views_layout
[2025-02-11 21:50:37.464174] [STDOUT] stdout: [        ] pid: 15185, tid: 15246, name: 1.raster  >>> dev.benchmarks.platform_views_layout <<<
[2025-02-11 21:50:37.464354] [STDOUT] stdout: [        ] uid: 10250
[2025-02-11 21:50:37.464398] [STDOUT] stdout: [        ] tagged_addr_ctrl: 0000000000000001 (PR_TAGGED_ADDR_ENABLE)
[2025-02-11 21:50:37.464440] [STDOUT] stdout: [        ] signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x0000000000000000
[2025-02-11 21:50:37.464602] [STDOUT] stdout: [        ] Cause: null pointer dereference
[2025-02-11 21:50:37.464651] [STDOUT] stdout: [        ]     x0  b400007b82ff2e70  x1  000000000000002d  x2  b400007c3309f370  x3  0000007abbcc6a23
[2025-02-11 21:50:37.464745] [STDOUT] stdout: [        ]     x4  0000007a30d286b0  x5  0000007a4f6dd47b  x6  0000000000000000  x7  61686b4b11ff3a78
[2025-02-11 21:50:37.464831] [STDOUT] stdout: [        ]     x8  0000000000000000  x9  1417c2bd490e1f78  x10 0000000000000010  x11 000000000000009c
[2025-02-11 21:50:37.464933] [STDOUT] stdout: [        ]     x12 0000000000000adb  x13 b400007ba2fe9510  x14 0000000000000e6b  x15 b400007ba2fe9510
[2025-02-11 21:50:37.465012] [STDOUT] stdout: [        ]     x16 0000000000000001  x17 0000000000000067  x18 0000007a2f996000  x19 b400007b82ff2e70
[2025-02-11 21:50:37.465082] [STDOUT] stdout: [        ]     x20 000000000000002d  x21 b400007ae3064b60  x22 b400007af30d0fa8  x23 0000000000000001
[2025-02-11 21:50:37.465155] [STDOUT] stdout: [        ]     x24 0000007a30d2a000  x25 b400007b73028fb0  x26 0000007a3a22da20  x27 000000003b9bf6c8
[2025-02-11 21:50:37.465235] [STDOUT] stdout: [        ]     x28 b400007af30d0fa8  x29 b400007ad3022cd0
[2025-02-11 21:50:37.465318] [STDOUT] stdout: [        ]     lr  0000007a3a8c7918  sp  0000007a30d28940  pc  0000000000000000  pst 0000000040001000
[2025-02-11 21:50:37.465401] [STDOUT] stdout: [        ] backtrace:
[2025-02-11 21:50:37.465491] [STDOUT] stdout: [        ]       #00 pc 0000000000000000  <unknown>
[2025-02-11 21:50:37.465596] [STDOUT] stdout: [        ]       #1 pc 000000000088b914  /data/app/~~u9nRjz4bI1GoKFecw6gtbg==/dev.benchmarks.platform_views_layout-RoPBoOldhc38L7sINb2Vgg==/lib/arm64/libflutter.so (flutter::PlatformViewAndroidJNIImpl::createTransaction()+104) (BuildId: 8fab16f9507483301ef418db2c91ed06689696b1)
[2025-02-11 21:50:37.465688] [STDOUT] stdout: [        ]       #2 pc 000000000087f738  /data/app/~~u9nRjz4bI1GoKFecw6gtbg==/dev.benchmarks.platform_views_layout-RoPBoOldhc38L7sINb2Vgg==/lib/arm64/libflutter.so (std::_fl::__function::__func<flutter::AndroidSurfaceVKImpeller::SetNativeWindow(fml::RefPtr<flutter::AndroidNativeWindow>, std::_fl::shared_ptr<flutter::PlatformViewAndroidJNI> const&)::$_0, std::_fl::allocator<flutter::AndroidSurfaceVKImpeller::SetNativeWindow(fml::RefPtr<flutter::AndroidNativeWindow>, std::_fl::shared_ptr<flutter::PlatformViewAndroidJNI> const&)::$_0>, impeller::android::SurfaceTransaction ()>::operator()()+16) (BuildId: 8fab16f9507483301ef418db2c91ed06689696b1)
[2025-02-11 21:50:37.465785] [STDOUT] stdout: [        ]       flutter#3 pc 0000000000bdbf1c  /data/app/~~u9nRjz4bI1GoKFecw6gtbg==/dev.benchmarks.platform_views_layout-RoPBoOldhc38L7sINb2Vgg==/lib/arm64/libflutter.so (std::_fl::__function::__func<impeller::AHBSwapchainImplVK::AcquireNextDrawable()::$_0, std::_fl::allocator<impeller::AHBSwapchainImplVK::AcquireNextDrawable()::$_0>, bool ()>::operator()()+1716) (BuildId: 8fab16f9507483301ef418db2c91ed06689696b1)
[2025-02-11 21:50:37.465874] [STDOUT] stdout: [        ]       flutter#4 pc 0000000000b1d180  /data/app/~~u9nRjz4bI1GoKFecw6gtbg==/dev.benchmarks.platform_views_layout-RoPBoOldhc38L7sINb2Vgg==/lib/arm64/libflutter.so (flutter::SurfaceFrame::Submit()+148) (BuildId: 8fab16f9507483301ef418db2c91ed06689696b1)
[2025-02-11 21:50:37.465989] [STDOUT] stdout: [        ]       flutter#5 pc 0000000000beb2b4  /data/app/~~u9nRjz4bI1GoKFecw6gtbg==/dev.benchmarks.platform_views_layout-RoPBoOldhc38L7sINb2Vgg==/lib/arm64/libflutter.so (flutter::Rasterizer::DrawToSurfacesUnsafe(flutter::FrameTimingsRecorder&, std::_fl::vector<std::_fl::unique_ptr<flutter::LayerTreeTask, std::_fl::default_delete<flutter::LayerTreeTask> >, std::_fl::allocator<std::_fl::unique_ptr<flutter::LayerTreeTask, std::_fl::default_delete<flutter::LayerTreeTask> > > >)+1284) (BuildId: 8fab16f9507483301ef418db2c91ed06689696b1)
[2025-02-11 21:50:37.466400] [STDOUT] stdout: [        ]       flutter#6 pc 0000000000beac58  /data/app/~~u9nRjz4bI1GoKFecw6gtbg==/dev.benchmarks.platform_views_layout-RoPBoOldhc38L7sINb2Vgg==/lib/arm64/libflutter.so (flutter::Rasterizer::DrawToSurfaces(flutter::FrameTimingsRecorder&, std::_fl::vector<std::_fl::unique_ptr<flutter::LayerTreeTask, std::_fl::default_delete<flutter::LayerTreeTask> >, std::_fl::allocator<std::_fl::unique_ptr<flutter::LayerTreeTask, std::_fl::default_delete<flutter::LayerTreeTask> > > >)+112) (BuildId: 8fab16f9507483301ef418db2c91ed06689696b1)
[2025-02-11 21:50:37.466444] [STDOUT] stdout: [        ]       flutter#7 pc 0000000000bec144  /data/app/~~u9nRjz4bI1GoKFecw6gtbg==/dev.benchmarks.platform_views_layout-RoPBoOldhc38L7sINb2Vgg==/lib/arm64/libflutter.so (std::_fl::__function::__func<flutter::Rasterizer::Draw(std::_fl::shared_ptr<flutter::Pipeline<flutter::FrameItem> > const&)::$_0, std::_fl::allocator<flutter::Rasterizer::Draw(std::_fl::shared_ptr<flutter::Pipeline<flutter::FrameItem> > const&)::$_0>, void (std::_fl::unique_ptr<flutter::FrameItem, std::_fl::default_delete<flutter::FrameItem> >)>::operator()(std::_fl::unique_ptr<flutter::FrameItem, std::_fl::default_delete<flutter::FrameItem> >&&)+192) (BuildId: 8fab16f9507483301ef418db2c91ed06689696b1)
[2025-02-11 21:50:37.466468] [STDOUT] stdout: [        ]       flutter#8 pc 0000000000bebc48  /data/app/~~u9nRjz4bI1GoKFecw6gtbg==/dev.benchmarks.platform_views_layout-RoPBoOldhc38L7sINb2Vgg==/lib/arm64/libflutter.so (flutter::Rasterizer::Draw(std::_fl::shared_ptr<flutter::Pipeline<flutter::FrameItem> > const&)+360) (BuildId: 8fab16f9507483301ef418db2c91ed06689696b1)
[2025-02-11 21:50:37.466521] [STDOUT] stdout: [        ]       flutter#9 pc 0000000000bf9f7c  /data/app/~~u9nRjz4bI1GoKFecw6gtbg==/dev.benchmarks.platform_views_layout-RoPBoOldhc38L7sINb2Vgg==/lib/arm64/libflutter.so (std::_fl::__function::__func<fml::internal::CopyableLambda<flutter::Shell::OnAnimatorDraw(std::_fl::shared_ptr<flutter::Pipeline<flutter::FrameItem> >)::$_0>, std::_fl::allocator<fml::internal::CopyableLambda<flutter::Shell::OnAnimatorDraw(std::_fl::shared_ptr<flutter::Pipeline<flutter::FrameItem> >)::$_0> >, void ()>::operator()()+84) (BuildId: 8fab16f9507483301ef418db2c91ed06689696b1)
[2025-02-11 21:50:37.466543] [STDOUT] stdout: [        ]       flutter#10 pc 00000000008a09ec  /data/app/~~u9nRjz4bI1GoKFecw6gtbg==/dev.benchmarks.platform_views_layout-RoPBoOldhc38L7sINb2Vgg==/lib/arm64/libflutter.so (fml::MessageLoopImpl::RunExpiredTasksNow()+728) (BuildId: 8fab16f9507483301ef418db2c91ed06689696b1)
[2025-02-11 21:50:37.466667] [STDOUT] stdout: [        ]       flutter#11 pc 00000000008a4600  /data/app/~~u9nRjz4bI1GoKFecw6gtbg==/dev.benchmarks.platform_views_layout-RoPBoOldhc38L7sINb2Vgg==/lib/arm64/libflutter.so (fml::MessageLoopAndroid::MessageLoopAndroid()::$_0::__invoke(int, int, void*)+84) (BuildId: 8fab16f9507483301ef418db2c91ed06689696b1)
[2025-02-11 21:50:37.466746] [STDOUT] stdout: [        ]       flutter#12 pc 0000000000011178  /system/lib64/libutils.so (android::Looper::pollOnce(int, int*, int*, void**)+808) (BuildId: 0b4a793fa8045c04066d988c68bac8bb)
[2025-02-11 21:50:37.466784] [STDOUT] stdout: [        ]       flutter#13 pc 00000000000185e4  /system/lib64/libandroid.so (ALooper_pollOnce+100) (BuildId: 682dab490c18361d5d6527bcdd86cdfa)
[2025-02-11 21:50:37.466865] [STDOUT] stdout: [        ]       flutter#14 pc 00000000008a470c  /data/app/~~u9nRjz4bI1GoKFecw6gtbg==/dev.benchmarks.platform_views_layout-RoPBoOldhc38L7sINb2Vgg==/lib/arm64/libflutter.so (fml::MessageLoopAndroid::Run()+28) (BuildId: 8fab16f9507483301ef418db2c91ed06689696b1)
[2025-02-11 21:50:37.466903] [STDOUT] stdout: [        ]       flutter#15 pc 00000000008a283c  /data/app/~~u9nRjz4bI1GoKFecw6gtbg==/dev.benchmarks.platform_views_layout-RoPBoOldhc38L7sINb2Vgg==/lib/arm64/libflutter.so (std::_fl::__function::__func<fml::Thread::Thread(std::_fl::function<void (fml::Thread::ThreadConfig const&)> const&, fml::Thread::ThreadConfig const&)::$_0, std::_fl::allocator<fml::Thread::Thread(std::_fl::function<void (fml::Thread::ThreadConfig const&)> const&, fml::Thread::ThreadConfig const&)::$_0>, void ()>::operator()()+116) (BuildId: 8fab16f9507483301ef418db2c91ed06689696b1)
[2025-02-11 21:50:37.466943] [STDOUT] stdout: [        ]       flutter#16 pc 00000000008a2670  /data/app/~~u9nRjz4bI1GoKFecw6gtbg==/dev.benchmarks.platform_views_layout-RoPBoOldhc38L7sINb2Vgg==/lib/arm64/libflutter.so (fml::ThreadHandle::ThreadHandle(std::_fl::function<void ()>&&)::$_0::__invoke(void*)+8) (BuildId: 8fab16f9507483301ef418db2c91ed06689696b1)
[2025-02-11 21:50:37.467002] [STDOUT] stdout: [        ]       flutter#17 pc 00000000000c226c  /apex/com.android.runtime/lib64/bionic/libc.so (__pthread_start(void*)+204) (BuildId: dc4001c2ef2dfc23467040797a96840c)
[2025-02-11 21:50:37.467058] [STDOUT] stdout: [        ]       flutter#18 pc 0000000000054a30  /apex/com.android.runtime/lib64/bionic/libc.so (__start_thread+64) (BuildId: dc4001c2ef2dfc23467040797a96840c)
[2025-02-11 21:50:37.525275] [STDOUT] stdout: [  +57 ms] 00:00 �[32m+0�[0m�[31m -1�[0m: scrolling performance test (setUpAll) �[1m�[31m[E]�[0m�[0m
```
LongCatIsLooong pushed a commit that referenced this pull request Apr 15, 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 flutter#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]>
LongCatIsLooong pushed a commit that referenced this pull request Apr 15, 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 flutter#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]>
LongCatIsLooong pushed a commit that referenced this pull request Apr 30, 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)
      flutter#3      DoctorValidator.validate
      (package:flutter_tools/src/doctor_validator.dart:58)
      flutter#4      Doctor.startValidatorTasks.<anonymous closure>
      (package:flutter_tools/src/doctor.dart:244)
      flutter#5      asyncGuard.<anonymous closure>
      (package:flutter_tools/src/base/async_guard.dart:109)
      flutter#6      _rootRun (dart:async/zone.dart:1525)
      flutter#7      _CustomZone.run (dart:async/zone.dart:1422)
      flutter#8      _runZoned (dart:async/zone.dart:2033)
      flutter#9      runZonedGuarded (dart:async/zone.dart:2019)
      flutter#10     runZoned (dart:async/zone.dart:1952)
      flutter#11     asyncGuard (package:flutter_tools/src/base/async_guard.dart:106)
      flutter#12     Doctor.startValidatorTasks
      (package:flutter_tools/src/doctor.dart:234)
      flutter#13     Doctor.diagnose (package:flutter_tools/src/doctor.dart:372)
      flutter#14     DoctorCommand.runCommand
      (package:flutter_tools/src/commands/doctor.dart:59)
      flutter#15     FlutterCommand.verifyThenRunCommand
      (package:flutter_tools/src/runner/flutter_command.dart:1897)
      <asynchronous suspension>
      flutter#16     FlutterCommand.run.<anonymous closure>
      (package:flutter_tools/src/runner/flutter_command.dart:1551)
      <asynchronous suspension>
      flutter#17     AppContext.run.<anonymous closure>
      (package:flutter_tools/src/base/context.dart:154)
      <asynchronous suspension>
      flutter#18     CommandRunner.runCommand (package:args/command_runner.dart:212)
      <asynchronous suspension>
      flutter#19     FlutterCommandRunner.runCommand.<anonymous closure>
      (package:flutter_tools/src/runner/flutter_command_runner.dart:501)
      <asynchronous suspension>
      flutter#20     AppContext.run.<anonymous closure>
      (package:flutter_tools/src/base/context.dart:154)
      <asynchronous suspension>
      flutter#21     FlutterCommandRunner.runCommand
      (package:flutter_tools/src/runner/flutter_command_runner.dart:438)
      <asynchronous suspension>
      flutter#22     run.<anonymous closure>.<anonymous closure>
      (package:flutter_tools/runner.dart:98)
      <asynchronous suspension>
      flutter#23     AppContext.run.<anonymous closure>
      (package:flutter_tools/src/base/context.dart:154)
      <asynchronous suspension>
      flutter#24     AppContext.run.<anonymous closure>
      (package:flutter_tools/src/base/context.dart:154)
      <asynchronous suspension>
      flutter#25     run (package:mobile.flutter.cli/flutter_tools.dart:106)
      <asynchronous suspension>
      flutter#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
LongCatIsLooong pushed a commit that referenced this pull request Aug 4, 2025
…er#172783)" (flutter#172900)

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

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

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

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

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

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

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

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

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

## Pre-launch Checklist

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

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

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

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

but fails on CI:

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

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

## Pre-launch Checklist

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

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

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

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

---------

Co-authored-by: Gray Mackall <[email protected]>
LongCatIsLooong pushed a commit that referenced this pull request Apr 23, 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) {
                  …
LongCatIsLooong pushed a commit that referenced this pull request Jun 1, 2026
flutter#187370)

…gine (flutter#187268)"

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

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

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

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

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

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

If this commit is removing binaries from the cache, this test should be fixed by
removing the relevant entry from either the "binariesWithEntitlements" or
"binariesWithoutEntitlements" getters in dev/tools/lib/codesign.dart.
╔═╡ERROR #1╞════════════════════════════════════════════════════════════════════
║ UNEXPECTED ERROR!
║ Exception: Did not find all expected binaries!
║ #0      verifyExist (file:///Volumes/Work/s/w/ir/x/w/flutter/dev/bots/suite_runners/run_verify_binaries_codesigned_tests.dart:231:5)
║ <asynchronous suspension>
║ #1      verifyPreCodesignedTestRunner (file:///Volumes/Work/s/w/ir/x/w/flutter/dev/bots/suite_runners/run_verify_binaries_codesigned_tests.dart:40:3)
║ <asynchronous suspension>
║ #2      _runFromList (file:///Volumes/Work/s/w/ir/x/w/flutter/dev/bots/utils.dart:727:7)
║ <asynchronous suspension>
║ flutter#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
LongCatIsLooong pushed a commit that referenced this pull request Jun 3, 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>
           flutter#3      _BuildIOSSubCommand.runCommand (package:flutter_tools/src/commands/build_ios.dart:986:37)
           <asynchronous suspension>
           flutter#4      BuildIOSArchiveCommand.runCommand (package:flutter_tools/src/commands/build_ios.dart:477:50)
           <asynchronous suspension>
           flutter#5      FlutterCommand.run.<anonymous closure> (package:flutter_tools/src/runner/flutter_command.dart:1590:27)
           <asynchronous suspension>
           flutter#6      AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:154:19)
           <asynchronous suspension>
           flutter#7      CommandRunner.runCommand (package:args/command_runner.dart:212:13)
           <asynchronous suspension>
           flutter#8      FlutterCommandRunner.runCommand.<anonymous closure> (package:flutter_tools/src/runner/flutter_command_runner.dart:496:9)
           <asynchronous suspension>
           flutter#9      AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:154:19)
           <asynchronous suspension>
           flutter#10     FlutterCommandRunner.runCommand (package:flutter_tools/src/runner/flutter_command_runner.dart:431:5)
           <asynchronous suspension>
           flutter#11     FlutterCommandRunner.run.<anonymous closure> (package:flutter_tools/src/runner/flutter_command_runner.dart:307:33)
           <asynchronous suspension>
           flutter#12     run.<anonymous closure>.<anonymous closure> (package:flutter_tools/runner.dart:104:11)
           <asynchronous suspension>
           flutter#13     AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:154:19)
           <asynchronous suspension>
           flutter#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]>
LongCatIsLooong pushed a commit that referenced this pull request Aug 20, 2026
…on documentation (flutter#190842)

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

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

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

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

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

Follow up work is tracked in
flutter#190964

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

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

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

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

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

Part of flutter#180137 and flutter#166550.

## Pre-launch Checklist

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

---------

Co-authored-by: reidbaker-agent <[email protected]>
LongCatIsLooong pushed a commit that referenced this pull request Oct 16, 2026
Issue: flutter#193579.

This is a fix for the following error:
```
Processing /Volumes/Work/s/w/ir/x/w/flutter/bin/cache/pkg/tests/registry/flutter_cocoon.test...
Unhandled exception:
ProcessException: No such file or directory
  Command: ./test_utilities/bin/flutter_test_runner.sh dashboard
#0      _ProcessImpl._start (dart:io-patch/process_patch.dart:411:33)
#1      Process.start (dart:io-patch/process_patch.dart:42:20)
#2      shell (file:///Volumes/Work/s/w/ir/x/w/flutter/dev/customer_testing/lib/runner.dart:236:29)
flutter#3      runTests (file:///Volumes/Work/s/w/ir/x/w/flutter/dev/customer_testing/lib/runner.dart:172:31)
<asynchronous suspension>
flutter#4      main (file:///Volumes/Work/s/w/ir/x/w/flutter/dev/customer_testing/run_tests.dart:15:8)
<asynchronous suspension>
```
LongCatIsLooong 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)
flutter#3      ErrorHandlingProcessManager.runSync (package:flutter_tools/src/base/error_handling_io.dart:1308)
flutter#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
LongCatIsLooong pushed a commit that referenced this pull request Oct 22, 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)
flutter#3      ErrorHandlingProcessManager.runSync (package:flutter_tools/src/base/error_handling_io.dart:1308)
flutter#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.

1 participant