Skip to content

Commit c04c46c

Browse files
Unify Surface code between Skwasm and CanvasKit
Fix CPU rendering fallback Respond to review comments Remove unused imports from surface_test.dart Don't double dispose of displayFactory feat: Add bitmap-less rendering support to OffscreenCanvasRasterizer by introducing `rasterizeToCanvas` and `canvasImageSource` to `Surface` and `CkOffscreenSurface`. Skip tests which use OffscreenSurfaceProvider in Safari format Use the base canvas to create Images in Skwasm Fix analysis warnings. Don't render disposed pictures. Add TODO comments Add isDisposed to Picture Fix up merge Delete confusing comment Enhance documentation for `LocalHistoryEntry` class (#179223) Fixes : #11660 - [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 `///`). - [ ] 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: Victor Sanni <victorsanniay@gmail.com> Roll Dart SDK from 019cb923bf62 to 17749965ec57 (5 revisions) (#179640) https://dart.googlesource.com/sdk.git/+log/019cb923bf62..17749965ec57 2025-12-09 dart-internal-merge@dart-ci-internal.iam.gserviceaccount.com Version 3.11.0-227.0.dev 2025-12-09 dart-internal-merge@dart-ci-internal.iam.gserviceaccount.com Version 3.11.0-226.0.dev 2025-12-09 dart-internal-merge@dart-ci-internal.iam.gserviceaccount.com Version 3.11.0-225.0.dev 2025-12-09 dart-internal-merge@dart-ci-internal.iam.gserviceaccount.com Version 3.11.0-224.0.dev 2025-12-09 dart-internal-merge@dart-ci-internal.iam.gserviceaccount.com Version 3.11.0-223.0.dev If this roll has caused a breakage, revert this CL and stop the roller using the controls here: https://autoroll.skia.org/r/dart-sdk-flutter Please CC dart-vm-team@google.com,jimgraham@google.com on the revert to ensure that a human is aware of the problem. To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose To report a problem with the AutoRoller itself, please file a bug: https://issues.skia.org/issues/new?component=1389291&template=1850622 Documentation for the AutoRoller is here: https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md Roll Skia from f9e32c28c5c5 to 82fff05cc621 (2 revisions) (#179641) https://skia.googlesource.com/skia.git/+log/f9e32c28c5c5..82fff05cc621 2025-12-09 recipe-mega-autoroller@chops-service-accounts.iam.gserviceaccount.com Roll recipe dependencies (trivial). 2025-12-09 skia-autoroll@skia-public.iam.gserviceaccount.com Roll vulkan-deps from 4edb81c5d7c8 to 3486579f434a (4 revisions) If this roll has caused a breakage, revert this CL and stop the roller using the controls here: https://autoroll.skia.org/r/skia-flutter-autoroll Please CC jimgraham@google.com,kjlubick@google.com on the revert to ensure that a human is aware of the problem. To file a bug in Skia: https://bugs.chromium.org/p/skia/issues/entry To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose To report a problem with the AutoRoller itself, please file a bug: https://issues.skia.org/issues/new?component=1389291&template=1850622 Documentation for the AutoRoller is here: https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md Make sure that a CupertinoPageScaffold doesn't crash in 0x0 environment (#179245) This is my attempt to handle https://github.com/flutter/flutter/issues/6537 for the CupertinoPageScaffold widget. Co-authored-by: Tong Mu <dkwingsmt@users.noreply.github.com> Co-authored-by: Victor Sanni <victorsanniay@gmail.com> Make sure that a CupertinoSlider doesn't crash in 0x0 environment (#179566) This is my attempt to handle https://github.com/flutter/flutter/issues/6537 for the CupertinoSlider widget. Make sure that a CupertinoSegmentedControl doesn't crash in 0x0 envir… (#179544) This is my attempt to handle https://github.com/flutter/flutter/issues/6537 for the CupertinoSegmentedControl widget. Make sure that a Tooltip doesn't crash in 0x0 environment (#178461) This is my attempt to handle https://github.com/flutter/flutter/issues/6537 for the Tooltip widget. --------- Co-authored-by: Tong Mu <dkwingsmt@users.noreply.github.com> Co-authored-by: Victor Sanni <victorsanniay@gmail.com> Make sure that a CupertinoMagnifier doesn't crash in 0x0 environment (#179206) This is my attempt to handle https://github.com/flutter/flutter/issues/6537 for the CupertinoMagnifier widget. Co-authored-by: Tong Mu <dkwingsmt@users.noreply.github.com> Co-authored-by: Victor Sanni <victorsanniay@gmail.com> Make sure that a CupertinoFormSection doesn't crash in 0x0 environment (#179001) This is my attempt to handle https://github.com/flutter/flutter/issues/6537 for the CupertinoFormSection widget. Co-authored-by: Tong Mu <dkwingsmt@users.noreply.github.com> Co-authored-by: Victor Sanni <victorsanniay@gmail.com> Make sure that a CupertinoListSection doesn't crash in 0x0 environment (#179068) This is my attempt to handle https://github.com/flutter/flutter/issues/6537 for the CupertinoListSection widget. Co-authored-by: Tong Mu <dkwingsmt@users.noreply.github.com> Co-authored-by: Victor Sanni <victorsanniay@gmail.com> Make SettingsChannel configuration queue not static (#179636) SettingsChannel has a static data structure that stores system configurations. This is fine if there is one engine. If there are two FlutterViews and two engines - this static configuration is shared between the two different engines. Because of the way the queue deletes old entries this will result in one engine missing it's configuration. Fixes: #179559 - [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. Make sure that a CupertinoDialogAction doesn't crash in 0x0 environment (#178956) This is my attempt to handle https://github.com/flutter/flutter/issues/6537 for the CupertinoDialogAction widget. Co-authored-by: Tong Mu <dkwingsmt@users.noreply.github.com> Roll Skia from 82fff05cc621 to e61cc6d073fd (4 revisions) (#179646) https://skia.googlesource.com/skia.git/+log/82fff05cc621..e61cc6d073fd 2025-12-09 recipe-mega-autoroller@chops-service-accounts.iam.gserviceaccount.com Roll recipe dependencies (trivial). 2025-12-09 recipe-mega-autoroller@chops-service-accounts.iam.gserviceaccount.com Roll recipe dependencies (trivial). 2025-12-09 vigneshv@google.com SkCrabbyAvifCodec: Disable sample transforms 2025-12-09 bungeman@google.com Roll FreeType from 1518bc83 to 30e45abe (119 commits) If this roll has caused a breakage, revert this CL and stop the roller using the controls here: https://autoroll.skia.org/r/skia-flutter-autoroll Please CC jimgraham@google.com,kjlubick@google.com on the revert to ensure that a human is aware of the problem. To file a bug in Skia: https://bugs.chromium.org/p/skia/issues/entry To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose To report a problem with the AutoRoller itself, please file a bug: https://issues.skia.org/issues/new?component=1389291&template=1850622 Documentation for the AutoRoller is here: https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md Implement flutter/accessibility channel (#179484) Fixes https://github.com/flutter/flutter/issues/172023 Roll Fuchsia Linux SDK from _pSztGZvEA3-Ry-GW... to u5vxWTRT0HlxOP5_r... (#179652) If this roll has caused a breakage, revert this CL and stop the roller using the controls here: https://autoroll.skia.org/r/fuchsia-linux-sdk-flutter Please CC jimgraham@google.com,zra@google.com on the revert to ensure that a human is aware of the problem. To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose To report a problem with the AutoRoller itself, please file a bug: https://issues.skia.org/issues/new?component=1389291&template=1850622 Documentation for the AutoRoller is here: https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md Check for a null cached image in SingleFrameCodec::getNextFrame (#179483) This could happen if the image decoder invoked its callback with a null image to signal an error. The SingleFrameCodec's status will be kComplete but its cached image will not be set. Fixes https://github.com/flutter/flutter/issues/161031 Marks Mac_ios draw_arcs_all_stroke_styles_perf_ios__timeline_summary to be unflaky (#179669) <!-- meta-tags: To be used by the automation script only, DO NOT MODIFY. { "name": "Mac_ios draw_arcs_all_stroke_styles_perf_ios__timeline_summary" } --> The test has been passing for [50 consecutive runs](https://data.corp.google.com/sites/flutter_infra_metrics_datasite/flutter_check_test_flakiness_status_dashboard/?p=BUILDER_NAME:%22Mac_ios%20draw_arcs_all_stroke_styles_perf_ios__timeline_summary%22). This test can be marked as unflaky. Roll Packages from 338ecd3864b8 to 74a5a5314f5c (4 revisions) (#179693) https://github.com/flutter/packages/compare/338ecd3864b8...74a5a5314f5c 2025-12-10 47866232+chunhtai@users.noreply.github.com [ci] Rewrites branch exists without external dependencies (flutter/packages#10594) 2025-12-10 61003485+BottlePumpkin@users.noreply.github.com [rfw] Add Flexible widget support to core widgets (flutter/packages#9750) 2025-12-09 matt.boetger@gmail.com Redistribute package ownership among Android team (flutter/packages#10569) 2025-12-09 10687576+bparrishMines@users.noreply.github.com [camera_android_camerax] Updates pigeon generation to prevent crash when objects call to Dart after a hot restart (flutter/packages#10571) If this roll has caused a breakage, revert this CL and stop the roller using the controls here: https://autoroll.skia.org/r/flutter-packages-flutter-autoroll Please CC flutter-ecosystem@google.com on the revert to ensure that a human is aware of the problem. To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose To report a problem with the AutoRoller itself, please file a bug: https://issues.skia.org/issues/new?component=1389291&template=1850622 Documentation for the AutoRoller is here: https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md Manually roll characters (#179447) Flutter pub roller does not update characters to 1.4.1. - [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. - [ ] 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]. - [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 Roll Dart SDK from 17749965ec57 to 077062c5e515 (3 revisions) (#179691) https://dart.googlesource.com/sdk.git/+log/17749965ec57..077062c5e515 2025-12-10 dart-internal-merge@dart-ci-internal.iam.gserviceaccount.com Version 3.11.0-230.0.dev 2025-12-10 dart-internal-merge@dart-ci-internal.iam.gserviceaccount.com Version 3.11.0-229.0.dev 2025-12-10 dart-internal-merge@dart-ci-internal.iam.gserviceaccount.com Version 3.11.0-228.0.dev If this roll has caused a breakage, revert this CL and stop the roller using the controls here: https://autoroll.skia.org/r/dart-sdk-flutter Please CC dart-vm-team@google.com,jimgraham@google.com on the revert to ensure that a human is aware of the problem. To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose To report a problem with the AutoRoller itself, please file a bug: https://issues.skia.org/issues/new?component=1389291&template=1850622 Documentation for the AutoRoller is here: https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md Fixed RenderFlex overflow in RouteObserver Example (#170980) Fixed RenderOverflow in RouteObserver Example: https://api.flutter.dev/flutter/widgets/RouteObserver-class.html <!-- 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 --> This PR is about solving render overflow issue in Route Observer Example in Live Website. I've wrapped the body with a Scrollable View to solve this issue | | | | --- | --- | | B | ![image](https://github.com/user-attachments/assets/c8fa78e7-62ca-4bd1-9798-588c636cd61a) | | A | ![image](https://github.com/user-attachments/assets/3a2b4697-121a-43e3-9c85-b1379a575af1) | - [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]. - [ ] I listed at least one issue that this PR fixes in the description above. - [ ] 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]. - [ ] I followed the [breaking change policy] and added [Data Driven Fixes] where supported. - [x] All existing and new tests are passing. <!-- 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: Victor Sanni <victorsanniay@gmail.com> added onUserInteractionIfError for form (#175515) This PR adds a new `AutovalidateMode` value: `onUserInteractionIfError`. This mode allows `Form` and `FormField` widgets to auto-validate **only when a field already has an error and the user interacts with it again**. - Current modes (`disabled`, `always`, `onUserInteraction`, `onUnfocus`) do not cover the case where developers want validation **only when correcting an error**. - This improves UX by reducing unnecessary validation calls while still ensuring errors disappear as soon as the user fixes them. - Added `onUserInteractionIfError` to `AutovalidateMode`. - Updated Dartdoc with detailed description and example snippet. - Added new unit tests to validate behavior. - Verified no regressions in other modes (`always`, `onUnfocus`, `onUserInteraction`). ```dart TextFormField( autovalidateMode: AutovalidateMode.onUserInteractionIfError, validator: (value) => value!.isEmpty ? 'Required field' : null, ) ```` --- Fixes #\<INSERT\_RELATED\_ISSUE\_NUMBER\_IF\_ANY> --- * Added widget tests to confirm that: * No validation occurs until a field has an error. * Once an error exists, validation runs automatically on user interaction. * Resetting the form clears errors correctly. * Regression tests ensure that `always`, `onUserInteraction`, and `onUnfocus` modes still behave correctly. --- * [x] I have read the [[Contributor Guide](https://github.com/flutter/flutter/blob/main/docs/contributing/Tree-hygiene.md)](https://github.com/flutter/flutter/blob/main/docs/contributing/Tree-hygiene.md) * [x] I have read the \[Tree Hygiene] wiki page and followed its guidance * [x] I have read and followed the \[Flutter Style Guide] * [x] I signed the \[CLA] * [x] I added a new enum value with clear Dartdoc (`onUserInteractionIfError`) * [x] I added example code in the Dartdoc * [x] I added new widget/unit tests for the new mode * [x] All existing and new tests pass * [x] I ran `flutter analyze` and fixed all issues * [x] No breaking changes introduced (or marked accordingly) --- * [x] Yes * [x] No --- *(N/A — logic-only change)* --- * The new mode reduces unnecessary validation until the user corrects an error. * All tests confirm correct behavior and no regressions in existing modes. --------- Co-authored-by: Loïc Sharma <737941+loic-sharma@users.noreply.github.com> Fix the issue with pinned headers in nested SliverMainAxisGroup. (#179132) Fixes: #178973 - [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. - [ ] 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 Ensure that the engine converts std::filesystem::path objects to UTF-8 strings on Windows (#179528) Fixes https://github.com/flutter/flutter/issues/178896 --------- Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com> Reland: Add framework-side hitTestBehavior support to Semantics (#178817) (#179352) This is a reland of #178817, which was reverted in #179100 due to test failures. The original PR introduced `hitTestBehavior` to the semantics framework but incorrectly applied `opaque` behavior to `ModalRoute`, which blocked platform views from receiving pointer events. Instead of making the entire modal opaque, we: 1. Keep `ModalRoute` without explicit `hitTestBehavior` (defaults to `defer`) 2. Make only the dialog/sheet content opaque (blocks clicks to barrier) 3. Platform views remain clickable because they're outside the opaque content boundary Fixes #149001 Original PR: #177570 Revert: #178744 Roll Skia from e61cc6d073fd to 59c6cad539f7 (22 revisions) (#179714) https://skia.googlesource.com/skia.git/+log/e61cc6d073fd..59c6cad539f7 2025-12-10 bungeman@google.com Modernize SkFontMgr_Mac::onMatchFamilyStyleCharacter 2025-12-10 kylechar@google.com Upgrade gradle to version 9.1.0 2025-12-10 skia-autoroll@skia-public.iam.gserviceaccount.com Roll vulkan-deps from 9f7342ee3761 to 50c5f8b4dd57 (8 revisions) 2025-12-10 bungeman@google.com Revert "Pass first family name to paragraph fallback" 2025-12-10 kjlubick@google.com Revert "[rust bmp] Add initial Rust BMP decoder implementation" 2025-12-10 bungeman@google.com Roll HarfBuzz from 08b52ae2 to 31695252 (971 commits) 2025-12-10 recipe-mega-autoroller@chops-service-accounts.iam.gserviceaccount.com Roll recipe dependencies (trivial). 2025-12-10 sergiog@microsoft.com [rust bmp] Add initial Rust BMP decoder implementation 2025-12-10 bungeman@google.com Pass first family name to paragraph fallback 2025-12-10 kjlubick@google.com Update CanvasKit to use const version of SerialProcs 2025-12-10 kjlubick@google.com Remove legacy SkParagraphBuilder API 2025-12-10 michaelludwig@google.com [wgsl] Stop forcing all function calls into scratch lets 2025-12-10 michaelludwig@google.com [ganesh] Guard division by zero in AAConvexPathRenderer 2025-12-10 nicolettep@google.com [graphite] Use depth/stencil image aspects for default d/s attachments 2025-12-10 nscobie@google.com Make SkDebugf calls log at Android's WARN level in RenderEngine 2025-12-10 skia-autoroll@skia-public.iam.gserviceaccount.com Manual roll Dawn from 57fca18a1603 to 9e1721615b33 (7 revisions) 2025-12-10 skia-autoroll@skia-public.iam.gserviceaccount.com Roll vulkan-deps from 3486579f434a to 9f7342ee3761 (5 revisions) 2025-12-10 recipe-mega-autoroller@chops-service-accounts.iam.gserviceaccount.com Roll recipe dependencies (trivial). 2025-12-10 skia-autoroll@skia-public.iam.gserviceaccount.com Roll ANGLE from 78bb5a33a9e9 to c2a048f9a1db (7 revisions) 2025-12-10 skia-autoroll@skia-public.iam.gserviceaccount.com Roll Skia Infra from ca3eb8741f18 to 492dfbfe3bb2 (10 revisions) 2025-12-10 skia-autoroll@skia-public.iam.gserviceaccount.com Roll Dawn from 8de9b80c5bd9 to 57fca18a1603 (17 revisions) 2025-12-10 recipe-mega-autoroller@chops-service-accounts.iam.gserviceaccount.com Roll recipe dependencies (trivial). If this roll has caused a breakage, revert this CL and stop the roller using the controls here: https://autoroll.skia.org/r/skia-flutter-autoroll Please CC jimgraham@google.com,kjlubick@google.com on the revert to ensure that a human is aware of the problem. To file a bug in Skia: https://bugs.chromium.org/p/skia/issues/entry To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose To report a problem with the AutoRoller itself, please file a bug: https://issues.skia.org/issues/new?component=1389291&template=1850622 Documentation for the AutoRoller is here: https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md Use kPreventOverdraw for arcs with overlapping stroke caps (#179312) Fixes #178746 Before: <img width="341" height="527" alt="image" src="https://github.com/user-attachments/assets/b2458490-109f-4e6f-b35d-3bc0e5648de6" /> After: <img width="295" height="566" alt="image" src="https://github.com/user-attachments/assets/f5958934-dae2-4181-b142-9c68f8cdc2e8" /> - [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 Roll Dart SDK from 077062c5e515 to dbcb567e2432 (2 revisions) (#179715) https://dart.googlesource.com/sdk.git/+log/077062c5e515..dbcb567e2432 2025-12-11 dart-internal-merge@dart-ci-internal.iam.gserviceaccount.com Version 3.11.0-232.0.dev 2025-12-10 dart-internal-merge@dart-ci-internal.iam.gserviceaccount.com Version 3.11.0-231.0.dev If this roll has caused a breakage, revert this CL and stop the roller using the controls here: https://autoroll.skia.org/r/dart-sdk-flutter Please CC dart-vm-team@google.com,jimgraham@google.com on the revert to ensure that a human is aware of the problem. To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose To report a problem with the AutoRoller itself, please file a bug: https://issues.skia.org/issues/new?component=1389291&template=1850622 Documentation for the AutoRoller is here: https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md Roll Skia from 59c6cad539f7 to deb0153719dd (2 revisions) (#179721) https://skia.googlesource.com/skia.git/+log/59c6cad539f7..deb0153719dd 2025-12-11 skia-autoroll@skia-public.iam.gserviceaccount.com Roll Dawn from 9e1721615b33 to f39150de4906 (8 revisions) 2025-12-11 skia-autoroll@skia-public.iam.gserviceaccount.com Roll Skia Infra from 492dfbfe3bb2 to 6cd15cab2194 (10 revisions) If this roll has caused a breakage, revert this CL and stop the roller using the controls here: https://autoroll.skia.org/r/skia-flutter-autoroll Please CC jimgraham@google.com,kjlubick@google.com on the revert to ensure that a human is aware of the problem. To file a bug in Skia: https://bugs.chromium.org/p/skia/issues/entry To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose To report a problem with the AutoRoller itself, please file a bug: https://issues.skia.org/issues/new?component=1389291&template=1850622 Documentation for the AutoRoller is here: https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md Roll Fuchsia Linux SDK from u5vxWTRT0HlxOP5_r... to QssSL8DkxIbMvf89C... (#179729) If this roll has caused a breakage, revert this CL and stop the roller using the controls here: https://autoroll.skia.org/r/fuchsia-linux-sdk-flutter Please CC jimgraham@google.com,zra@google.com on the revert to ensure that a human is aware of the problem. To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose To report a problem with the AutoRoller itself, please file a bug: https://issues.skia.org/issues/new?component=1389291&template=1850622 Documentation for the AutoRoller is here: https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md Roll Dart SDK from dbcb567e2432 to 3d4b989bdc41 (1 revision) (#179733) https://dart.googlesource.com/sdk.git/+log/dbcb567e2432..3d4b989bdc41 2025-12-11 dart-internal-merge@dart-ci-internal.iam.gserviceaccount.com Version 3.11.0-233.0.dev If this roll has caused a breakage, revert this CL and stop the roller using the controls here: https://autoroll.skia.org/r/dart-sdk-flutter Please CC dart-vm-team@google.com,jimgraham@google.com on the revert to ensure that a human is aware of the problem. To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose To report a problem with the AutoRoller itself, please file a bug: https://issues.skia.org/issues/new?component=1389291&template=1850622 Documentation for the AutoRoller is here: https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md Roll Skia from deb0153719dd to d570e2317110 (2 revisions) (#179734) https://skia.googlesource.com/skia.git/+log/deb0153719dd..d570e2317110 2025-12-11 skia-autoroll@skia-public.iam.gserviceaccount.com Roll vulkan-deps from 50c5f8b4dd57 to f23836d62fa0 (5 revisions) 2025-12-11 skia-autoroll@skia-public.iam.gserviceaccount.com Roll ANGLE from c2a048f9a1db to 92d454d83328 (10 revisions) If this roll has caused a breakage, revert this CL and stop the roller using the controls here: https://autoroll.skia.org/r/skia-flutter-autoroll Please CC jimgraham@google.com,kjlubick@google.com on the revert to ensure that a human is aware of the problem. To file a bug in Skia: https://bugs.chromium.org/p/skia/issues/entry To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose To report a problem with the AutoRoller itself, please file a bug: https://issues.skia.org/issues/new?component=1389291&template=1850622 Documentation for the AutoRoller is here: https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md [skia] Disable legacy image decoders (#179277) After https://github.com/flutter/flutter/commit/8666e1af8ffa7e8cb0b9a7b6bb5bdd19afeabc49 Flutter shouldn't be reliant on Skia's legacy image codec registration. This will enforce that. - [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]. - [ ] 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 Revert "Android implementation of content sizing" (#179698) Reverts flutter/flutter#176063 Fixes: #179667 Git bisect: ``` ❯ git bisect log git bisect start 'master' 'flutter-3.38-candidate.0' git bisect good df87ee3db00df61d882f99e655a3dc5f8387f806 git bisect good 951b25d2400a298f77a10e6a790905d045f62ddf git bisect good 337bbfbe042a89c0a887c895fa3aa364decc7077 git bisect good 8e952d62976dfe77e54849e9e110e5ebb7ef7f71 git bisect good 723fec502fd9788c94fb039464ab9418b3ca9a3e git bisect bad 96c65251a604a3960a9186b3011a70ee6883148f git bisect good 4000ce2b4e576e356ee0f8a3841bbb5e280cac2c git bisect good 26f311ca5e8519f31b10a2fca6f10b6eaa028e04 git bisect bad 8cc9feed310df448d80798bfc710e950cdbba4a8 git bisect bad b37b6fa92736083e8c24a56da8b4b3d326df1c31 git bisect bad f197a3a00ca9483435b8c04bb972fbcfa7737f25 ``` Roll Packages from 74a5a5314f5c to 36383d6b0cd4 (4 revisions) (#179740) https://github.com/flutter/packages/compare/74a5a5314f5c...36383d6b0cd4 2025-12-10 engine-flutter-autoroll@skia.org Manual roll Flutter from 6a1f5b7f85a4 to e25d71b086d6 (30 revisions) (flutter/packages#10601) 2025-12-10 arin.abdul99@gmail.com [go_router] Fixes an issue where `onEnter` blocking causes navigation stack loss (stale state restoration) (flutter/packages#10476) 2025-12-10 stuartmorgan@google.com [file_selector] Update Linux example for deprecations (flutter/packages#10542) 2025-12-10 engine-flutter-autoroll@skia.org Manual roll Flutter from b2de367c41e0 to 6a1f5b7f85a4 (22 revisions) (flutter/packages#10593) If this roll has caused a breakage, revert this CL and stop the roller using the controls here: https://autoroll.skia.org/r/flutter-packages-flutter-autoroll Please CC flutter-ecosystem@google.com on the revert to ensure that a human is aware of the problem. To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose To report a problem with the AutoRoller itself, please file a bug: https://issues.skia.org/issues/new?component=1389291&template=1850622 Documentation for the AutoRoller is here: https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md chore: linux fuchsia tests are flaking (#179744) Roll Skia from d570e2317110 to 979b7ae09145 (4 revisions) (#179742) https://skia.googlesource.com/skia.git/+log/d570e2317110..979b7ae09145 2025-12-11 kjlubick@google.com Add ZoomInSlide for investigating aliasing bugs 2025-12-11 kjlubick@google.com Add missing bazel dep to fontmgr_coretext 2025-12-11 mike@reedtribe.org Refactor gradients API 2025-12-11 sergiog@microsoft.com Reland "[rust bmp] Add initial Rust BMP decoder implementation" If this roll has caused a breakage, revert this CL and stop the roller using the controls here: https://autoroll.skia.org/r/skia-flutter-autoroll Please CC jimgraham@google.com,kjlubick@google.com on the revert to ensure that a human is aware of the problem. To file a bug in Skia: https://bugs.chromium.org/p/skia/issues/entry To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose To report a problem with the AutoRoller itself, please file a bug: https://issues.skia.org/issues/new?component=1389291&template=1850622 Documentation for the AutoRoller is here: https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md [ Analysis ] Added initial implementation of the `flutter_analyzer_plugin` (#175679) The `flutter_analyzer_plugin` implements rules previously enforced by the `dev/bots/analyze.dart` check run on the CI, allowing for earlier detection of custom lint violations before a change is uploaded for review. Currently, the plugin implements the following rules: - avoid_future_catch_error - no_double_clamp - no_stopwatches - protect_public_state_subtypes - render_box_intrinsics Towards https://github.com/flutter/flutter/issues/175276 fix: fresh install of windows support (#179720) - python 3.14 (pipes -> shlex) - content_aware_hash.ps1 call from gn - visual studio 2026 (MS changed directory naming) Roll Dart SDK from 3d4b989bdc41 to 9a65db770758 (2 revisions) (#179746) https://dart.googlesource.com/sdk.git/+log/3d4b989bdc41..9a65db770758 2025-12-11 dart-internal-merge@dart-ci-internal.iam.gserviceaccount.com Version 3.11.0-235.0.dev 2025-12-11 dart-internal-merge@dart-ci-internal.iam.gserviceaccount.com Version 3.11.0-234.0.dev If this roll has caused a breakage, revert this CL and stop the roller using the controls here: https://autoroll.skia.org/r/dart-sdk-flutter Please CC dart-vm-team@google.com,jimgraham@google.com on the revert to ensure that a human is aware of the problem. To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose To report a problem with the AutoRoller itself, please file a bug: https://issues.skia.org/issues/new?component=1389291&template=1850622 Documentation for the AutoRoller is here: https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md Add 3.38.5 changelog (#179750) Reverts "[ Analysis ] Added initial implementation of the `flutter_analyzer_plugin` (#175679)" (#179766) <!-- start_original_pr_link --> Reverts: flutter/flutter#175679 <!-- end_original_pr_link --> <!-- start_initiating_author --> Initiated by: jtmcdole <!-- end_initiating_author --> <!-- start_revert_reason --> Reason for reverting: Linux linux_unopt is now timing out in postsubmit <!-- end_revert_reason --> <!-- start_original_pr_author --> Original PR Author: bkonyi <!-- end_original_pr_author --> <!-- start_reviewers --> Reviewed By: {srawlins} <!-- end_reviewers --> <!-- start_revert_body --> This change reverts the following previous change: The `flutter_analyzer_plugin` implements rules previously enforced by the `dev/bots/analyze.dart` check run on the CI, allowing for earlier detection of custom lint violations before a change is uploaded for review. Currently, the plugin implements the following rules: - avoid_future_catch_error - no_double_clamp - no_stopwatches - protect_public_state_subtypes - render_box_intrinsics Towards https://github.com/flutter/flutter/issues/175276 <!-- end_revert_body --> Co-authored-by: auto-submit[bot] <flutter-engprod-team@google.com> [ Tool ] Assemble: "Improper" validation error when dealing with base64 encoded dart-define value (#178737) addressing a regression from #172510 that caused the assemble command to fail in the validation phase when a dart-define was passed as a base64-encoded value. Example command: ``` flutter --verbose assemble --no-version-check \ --output=<build_output_path>/ \ -dTargetPlatform=ios \ -dTargetFile=lib/main.dart \ -dBuildMode=release \ -dConfiguration=Debug \ -dIosArchs=arm64 \ -dSdkRoot=<xcode_sdk_path>/iPhoneOS.sdk \ -dSplitDebugInfo= \ -dTreeShakeIcons=false \ -dTrackWidgetCreation=true \ -dDartObfuscation=false \ -dAction=install \ -dFrontendServerStarterPath= \ --ExtraGenSnapshotOptions= \ --DartDefines=ZW52PXFh \ --ExtraFrontEndOptions= \ -dSrcRoot=<project_root> \ -dTargetDeviceOSVersion= \ -dCodesignIdentity=<codesign_identity> \ release_ios_bundle_flutter_assets ``` Partially addressing: https://github.com/flutter/flutter/issues/178452 - [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. - [ ] 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: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com> Co-authored-by: Ben Konyi <bkonyi@google.com> Exit with code 1 when calling `flutter build` without arguments (#175900) Resolves #5797 - [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. - [ ] 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]. - [ ] I followed the [breaking change policy] and added [Data Driven Fixes] where supported. - [x] All existing and new tests are passing. A whole bunch of tool tests failed locally even before the change, so I'll have to see CI results to know if something actually broke due to the change. Roll Skia from 979b7ae09145 to 7ad91f64b468 (6 revisions) (#179770) https://skia.googlesource.com/skia.git/+log/979b7ae09145..7ad91f64b468 2025-12-12 skia-autoroll@skia-public.iam.gserviceaccount.com Roll vulkan-deps from f23836d62fa0 to 63f49739609f (3 revisions) 2025-12-11 kjlubick@google.com Mac ld doesn't support --allow-multiple-definition 2025-12-11 kjlubick@google.com Delete unused makeIndexWriter functions 2025-12-11 kjlubick@google.com Mark other makeVertexWriter checks as unlikely/likely 2025-12-11 kjlubick@google.com Check vertex allocation in PathStencilCoverOp 2025-12-11 michaelludwig@google.com [graphite] RendererProvider selects path strategy If this roll has caused a breakage, revert this CL and stop the roller using the controls here: https://autoroll.skia.org/r/skia-flutter-autoroll Please CC jimgraham@google.com,kjlubick@google.com on the revert to ensure that a human is aware of the problem. To file a bug in Skia: https://bugs.chromium.org/p/skia/issues/entry To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose To report a problem with the AutoRoller itself, please file a bug: https://issues.skia.org/issues/new?component=1389291&template=1850622 Documentation for the AutoRoller is here: https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md [fuchsia] temporarily disable touch-input-test due to the flakiness (#179747) The FlutterEmbedTapTest.* are running on fuchsia_debug_x64_tester, and they are recently flaky; FlutterTapTest is less but still flaky. Before finding out the root cause, disabling the test suite is better than disabling the entire builder. https://ci.chromium.org/ui/p/flutter/builders/prod/Linux%20linux_fuchsia_tests - [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 Roll Skia from 7ad91f64b468 to 344ff9c41fb6 (1 revision) (#179774) https://skia.googlesource.com/skia.git/+log/7ad91f64b468..344ff9c41fb6 2025-12-12 michaelludwig@google.com [wgsl] check binary component matrix polyfill once If this roll has caused a breakage, revert this CL and stop the roller using the controls here: https://autoroll.skia.org/r/skia-flutter-autoroll Please CC jimgraham@google.com,kjlubick@google.com on the revert to ensure that a human is aware of the problem. To file a bug in Skia: https://bugs.chromium.org/p/skia/issues/entry To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose To report a problem with the AutoRoller itself, please file a bug: https://issues.skia.org/issues/new?component=1389291&template=1850622 Documentation for the AutoRoller is here: https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md [ios][pv] accept/reject gesture based on hitTest (with new widget API) (#179659) This is a follow up PR to [this original PR](https://github.com/flutter/flutter/pull/177859). The difference is the API - the original PR chooses Option 1 [in the design doc](https://docs.google.com/document/d/1ag4drAdJsR7y-rQZkqJWc6tOQ4qCbflQSGyoxsSC6MM/edit?tab=t.0), while this PR chooses Option 3. To directly use flutter API, just pass in the policy when creating UiKitView widget. ``` UiKitView( ... gestureBlockingPolicy: UiKitViewGestureBlockingPolicy) ... ) ``` For plugins, we need to update plugins to use this new API. ``` WebView( ... gestureBlockingPolicy: UiKitViewGestureBlockingPolicy ) { return UiKitView( .. gestureBlockingPolicy: gestureBlockingPolicy ) } ``` For more information, refer to [the old PR](https://github.com/flutter/flutter/pull/177859). *List which issues are fixed by this PR. You must list at least one issue. An issue is not required if the PR fixes something trivial like a typo.* https://github.com/flutter/flutter/issues/175099 https://github.com/flutter/flutter/issues/165787 *If you had to change anything in the [flutter/tests] repo, include a link to the migration guide as per the [breaking change policy].* - [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. - [ ] 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 Fix draggable scrollable sheet example drag speed is off (#179179) - Fix https://github.com/flutter/flutter/issues/179102 - In this PR: - Fix the sheet position so that it will follow the pointer, even when dragging mouse beyond the window then returns inside. - Some improvement for coding convention: - declare minChildSize and maxChildSize const(s) then use them in the hardcoded positions - move `_isOnDesktopAndWeb` out of Grabber, so it's easier to see Grabber widget purpose when reading the code <details open> <summary>Demo</summary> | before | after | | --------------- | --------------- | <img width="360" src="https://github.com/user-attachments/assets/5f4f507d-1491-47a2-90a6-c2a32ecdf6b5"> | <img width="360" src="https://github.com/user-attachments/assets/b2eb9ede-572e-4fcb-81c1-2269b8db2140"> </details> - [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. - [ ] 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]. - [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 --------- Signed-off-by: huycozy <huy@nevercode.io> Roll Skia from 344ff9c41fb6 to 4251aa7454da (2 revisions) (#179779) https://skia.googlesource.com/skia.git/+log/344ff9c41fb6..4251aa7454da 2025-12-12 skia-autoroll@skia-public.iam.gserviceaccount.com Roll Dawn from f39150de4906 to 83072ee716dc (25 revisions) 2025-12-12 recipe-mega-autoroller@chops-service-accounts.iam.gserviceaccount.com Roll recipe dependencies (trivial). If this roll has caused a breakage, revert this CL and stop the roller using the controls here: https://autoroll.skia.org/r/skia-flutter-autoroll Please CC jimgraham@google.com,kjlubick@google.com on the revert to ensure that a human is aware of the problem. To file a bug in Skia: https://bugs.chromium.org/p/skia/issues/entry To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose To report a problem with the AutoRoller itself, please file a bug: https://issues.skia.org/issues/new?component=1389291&template=1850622 Documentation for the AutoRoller is here: https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md Roll Skia from 4251aa7454da to ee08571bbf67 (1 revision) (#179783) https://skia.googlesource.com/skia.git/+log/4251aa7454da..ee08571bbf67 2025-12-12 skia-autoroll@skia-public.iam.gserviceaccount.com Roll ANGLE from 92d454d83328 to fe3c8640fe8d (11 revisions) If this roll has caused a breakage, revert this CL and stop the roller using the controls here: https://autoroll.skia.org/r/skia-flutter-autoroll Please CC jimgraham@google.com,kjlubick@google.com on the revert to ensure that a human is aware of the problem. To file a bug in Skia: https://bugs.chromium.org/p/skia/issues/entry To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose To report a problem with the AutoRoller itself, please file a bug: https://issues.skia.org/issues/new?component=1389291&template=1850622 Documentation for the AutoRoller is here: https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md Roll Fuchsia Linux SDK from QssSL8DkxIbMvf89C... to fppT9ZrwbFx7iYrIh... (#179785) If this roll has caused a breakage, revert this CL and stop the roller using the controls here: https://autoroll.skia.org/r/fuchsia-linux-sdk-flutter Please CC jimgraham@google.com,zra@google.com on the revert to ensure that a human is aware of the problem. To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose To report a problem with the AutoRoller itself, please file a bug: https://issues.skia.org/issues/new?component=1389291&template=1850622 Documentation for the AutoRoller is here: https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md Roll Packages from 36383d6b0cd4 to 0ac7a032dbcd (1 revision) (#179793) https://github.com/flutter/packages/compare/36383d6b0cd4...0ac7a032dbcd 2025-12-11 49842031+Haidar0096@users.noreply.github.com [in_app_purchase_storekit] Add Transaction.unfinished API and expose appAccountToken (flutter/packages#10439) If this roll has caused a breakage, revert this CL and stop the roller using the controls here: https://autoroll.skia.org/r/flutter-packages-flutter-autoroll Please CC flutter-ecosystem@google.com on the revert to ensure that a human is aware of the problem. To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose To report a problem with the AutoRoller itself, please file a bug: https://issues.skia.org/issues/new?component=1389291&template=1850622 Documentation for the AutoRoller is here: https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md Roll Skia from ee08571bbf67 to e66816c3645e (2 revisions) (#179792) https://skia.googlesource.com/skia.git/+log/ee08571bbf67..e66816c3645e 2025-12-12 mike@reedtribe.org Stop using (deprecated) SkGradientShader 2025-12-12 michaelludwig@google.com [graphite] Fix vello build typo in RendererProvider If this roll has caused a breakage, revert this CL and stop the roller using the controls here: https://autoroll.skia.org/r/skia-flutter-autoroll Please CC jimgraham@google.com,kjlubick@google.com on the revert to ensure that a human is aware of the problem. To file a bug in Skia: https://bugs.chromium.org/p/skia/issues/entry To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose To report a problem with the AutoRoller itself, please file a bug: https://issues.skia.org/issues/new?component=1389291&template=1850622 Documentation for the AutoRoller is here: https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md Add documentation for what to do when bumping the minimum sdk version supported by flutter (#179795) Fixes #170807 - [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: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com> [win32] Do not flood message loop with wake up messages (#179538) Fixes https://github.com/flutter/flutter/issues/173843 *If you had to change anything in the [flutter/tests] repo, include a link to the migration guide as per the [breaking change policy].* - [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/c…
1 parent 84b5f53 commit c04c46c

File tree

272 files changed

+8541
-4850
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

272 files changed

+8541
-4850
lines changed

.ci.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3579,7 +3579,6 @@ targets:
35793579
- name: Mac_ios draw_arcs_all_stroke_styles_perf_ios__timeline_summary
35803580
recipe: devicelab/devicelab_drone
35813581
presubmit: false
3582-
bringup: true
35833582
timeout: 60
35843583
properties:
35853584
tags: >

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,10 @@ docs/releases/Hotfix-Documentation-Best-Practices.md
3232

3333
## Flutter 3.38 Changes
3434

35+
### [3.38.5](https://github.com/flutter/flutter/releases/tag/3.38.5)
36+
37+
- [flutter/179700](https://github.com/flutter/flutter/issues/179700) Update dart to 3.10.4.
38+
3539
### [3.38.4](https://github.com/flutter/flutter/releases/tag/3.38.4)
3640

3741
- [flutter/178547](https://github.com/flutter/flutter/issues/178547) Rendering issues in the Linux desktop embedder when using Skia.

DEPS

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ vars = {
1515
'flutter_git': 'https://flutter.googlesource.com',
1616
'skia_git': 'https://skia.googlesource.com',
1717
'llvm_git': 'https://llvm.googlesource.com',
18-
'skia_revision': 'f9e32c28c5c5ee1ca4ab4dec6ef327b4e91754b6',
18+
'skia_revision': 'edf52cb27f29d20534a0a84db1689d3fc3256758',
1919

2020
# WARNING: DO NOT EDIT canvaskit_cipd_instance MANUALLY
2121
# See `lib/web_ui/README.md` for how to roll CanvasKit to a new version.
@@ -59,14 +59,14 @@ vars = {
5959
# updated revision list of existing dependencies. You will need to
6060
# gclient sync before and after update deps to ensure all deps are updated.
6161
# updated revision list of existing dependencies.
62-
'dart_revision': '019cb923bf62e68b0b5b5ea98e4a74472a8a0bcb',
62+
'dart_revision': 'f105c21685743fe5758661a2cb69d3ff3636edb6',
6363

6464
# WARNING: DO NOT EDIT MANUALLY
6565
# The lines between blank lines above and below are generated by a script. See create_updated_flutter_deps.py
6666
'dart_ai_rev': '4eb2446144a8af374e08da8d3c743dcce129f87f',
6767
'dart_binaryen_rev': '6ec7b5f9c615d3b224c67ae221d6812c8f8e1a96',
68-
'dart_boringssl_rev': '098d5baf008ffa6321e2c4a358f5475fcf1fe938',
69-
'dart_core_rev': '5c3e2c38df268be2347f3aad30ced0147dd012bb',
68+
'dart_boringssl_rev': '29e2ef6cc121e6d30a38bdb3fce3ddd489e6e2eb',
69+
'dart_core_rev': '58b0a108b4d1310465e8482d6629357891df1cb1',
7070
'dart_devtools_rev': 'bac6843cce3c98d8794a7cce796faaa8860cc00f',
7171
'dart_ecosystem_rev': 'eac66d93142907b39f2271647c111f36ff3365b9',
7272
'dart_http_rev': 'a22386e9c390290c916d1c53a3d3c1447ec120ce',
@@ -77,7 +77,7 @@ vars = {
7777
'dart_protobuf_rev': '9e30258e0aa6a6430ee36c84b75308a9702fde42',
7878
'dart_pub_rev': 'b297f1f5e42f2569f15a98548f44b4b9a48487c1',
7979
'dart_sync_http_rev': '6666fff944221891182e1f80bf56569338164d72',
80-
'dart_tools_rev': 'd03c394b24829f662098e590a2c812a076b01199',
80+
'dart_tools_rev': '97014f33a2aad59385df73f25baf9c304ca5c866',
8181
'dart_vector_math_rev': '70a9a2cb610d040b247f3ca2cd70a94c1c6f6f23',
8282
'dart_web_rev': '35fc98dd8f9da175ed0a2dcf246299e922e1e1e2',
8383
'dart_webdev_rev': '234e44c2ba0aa6cee5a36026538ca89457bf0d55',
@@ -810,7 +810,7 @@ deps = {
810810
'packages': [
811811
{
812812
'package': 'fuchsia/sdk/core/linux-amd64',
813-
'version': '_pSztGZvEA3-Ry-GWNEj4jMKX5mX1NoFMYXMEm0f9-8C'
813+
'version': 'fppT9ZrwbFx7iYrIhYwdk2rAWE_LBcSvyxu_cZkULTkC'
814814
}
815815
],
816816
'condition': 'download_fuchsia_deps and not download_fuchsia_sdk',
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
338ecd3864b89c367e58a2bfd69c3767531ecbe4
1+
0ac7a032dbcd4a6b05e52b54183ffa2c98c44dfa

dev/integration_tests/android_verified_input/pubspec.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ dependencies:
1919

2020
async: ^2.13.0 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
2121
boolean_selector: 2.1.2 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
22-
characters: 1.4.0 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
22+
characters: 1.4.1 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
2323
collection: 1.19.1 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
2424
file: 7.0.1 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
2525
matcher: 0.12.18 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
@@ -80,4 +80,4 @@ dev_dependencies:
8080
webkit_inspection_protocol: 1.2.1 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
8181
yaml: 3.1.3 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
8282

83-
# PUBSPEC CHECKSUM: 2kn18j
83+
# PUBSPEC CHECKSUM: fj70b8
Lines changed: 58 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,58 @@
1+
# Removing support for an Android API level in Flutter (go/flutter-android-remove-api-level)
2+
3+
## Objective
4+
5+
Provides a list of areas to consider and examples of former work for how to update Flutter to no longer support an old version of the Android API.
6+
7+
### Overview
8+
After Flutter has decided to bump the minimum supported Android SDK, ideally through a justification document like http://goto.google.com/rfc-flutter-android-m-deprecation, this document covers what to update and suggests an order.
9+
10+
#### Google3
11+
Googlers should start by following the Google3 migration steps defined in go/flutter-android-g3-minsdk-version.
12+
Google apps can be migrated to a higher minimum API level before Flutter drops support.
13+
14+
#### Bump templates used in `flutter create`
15+
Templates take the least justification or configuration to bump.
16+
Example PR: https://github.com/flutter/flutter/pull/170882
17+
18+
#### Add auto migration for apps targeting deprecated APIs.
19+
20+
Example PR: https://github.com/flutter/flutter/pull/170882 `android_project_migration_test.dart`
21+
22+
#### Modify tooling to enforce a new minimum version.
23+
24+
Example PR: https://github.com/flutter/flutter/pull/170882 see `DependencyVersionChecker.kt` and `gradle_utils.dart`
25+
26+
#### Update the engine minSdk and tests
27+
[Upgrading-Engine's-Android-API-version.md](Upgrading-Engine's-Android-API-version.md)
28+
29+
#### Breaking change notice
30+
Create a breaking change notice for the next stable release.
31+
32+
See "Minimum Android SDK has changed" in [Flutter 3.35 Technical Blog Post](https://blog.flutter.dev/whats-new-in-flutter-3-35-c58ef72e3766).
33+
34+
#### Update documentation
35+
36+
Update documentation page to indicate the old API is not tested: https://docs.flutter.dev/reference/supported-platforms.
37+
38+
Example PR: https://github.com/flutter/website/pull/12230
39+
40+
##### Issue hygiene
41+
Close all GitHub issues against the deprecated platform.
42+
43+
#### Packages
44+
After a stable build is published with the new minimum Android API level.
45+
46+
1. Update all existing Flutter maintained plugins to use the new stable Flutter version.
47+
2. Audit native Android code in any plugins that have no longer used codepaths and delete those codepaths.
48+
49+
Example PRs:
50+
* https://github.com/flutter/packages/pull/9851
51+
* https://github.com/flutter/packages/pull/9987
52+
* https://github.com/flutter/packages/pull/10470
53+
54+
55+
#### Related documents
56+
57+
Example tracking bug for `minSdk` 24 https://github.com/flutter/flutter/issues/170807
58+
Google3 documentation go/flutter-android-g3-minsdk-version

engine/src/build/vs_toolchain.py

Lines changed: 16 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
import glob
1919
import json
2020
import os
21-
import pipes
21+
import shlex
2222
import platform
2323
import re
2424
import shutil
@@ -39,12 +39,14 @@
3939
('2019', '16.0'),
4040
('2017', '15.0'),
4141
('2022', '17.0'),
42+
('2026', '18'),
4243
])
4344

4445
VC_VERSIONS = {
4546
'2017': 'VC141',
4647
'2019': 'VC142',
4748
'2022': 'VC143',
49+
'2026': 'VC145',
4850
}
4951

5052

@@ -168,6 +170,12 @@ def GetVisualStudioVersion():
168170
for k,v in list(MSVS_VERSIONS.items()))
169171
available_versions = []
170172
for version in supported_versions:
173+
# Also look for the numeric version folder (e.g. "18")
174+
search_versions = [version]
175+
if version in MSVS_VERSIONS:
176+
search_versions.append(MSVS_VERSIONS[version])
177+
178+
for version in search_versions:
171179
for path in (
172180
os.environ.get('vs%s_install' % version),
173181
os.path.expandvars('%ProgramFiles(x86)%' +
@@ -192,15 +200,20 @@ def DetectVisualStudioPath():
192200
# build/toolchain/win/setup_toolchain.py as well.
193201
version_as_year = GetVisualStudioVersion()
194202

203+
path_versions = [version_as_year]
204+
if version_as_year in MSVS_VERSIONS:
205+
path_versions.append(MSVS_VERSIONS[version_as_year])
206+
195207
# The VC++ >=2017 install location needs to be located using COM instead of
196208
# the registry. For details see:
197209
# https://blogs.msdn.microsoft.com/heaths/2016/09/15/changes-to-visual-studio-15-setup/
198210
# For now we use a hardcoded default with an environment variable override.
199211
possible_install_paths = (
200212
os.path.expandvars('%s/Microsoft Visual Studio/%s/%s' %
201-
(program_path_var, version_as_year, product))
213+
(program_path_var, v_check, product))
202214
for program_path_var in ('%ProgramFiles%', '%ProgramFiles(x86)%')
203-
for product in ('Enterprise', 'Professional', 'Community', 'Preview'))
215+
for product in ('Enterprise', 'Professional', 'Community', 'Preview')
216+
for v_check in path_versions)
204217
for path in (
205218
os.environ.get('vs%s_install' % version_as_year), *possible_install_paths):
206219
if path and os.path.exists(path):

engine/src/flutter/.ci.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -162,6 +162,7 @@ targets:
162162

163163
- name: Linux linux_fuchsia_tests
164164
recipe: engine_v2/engine_v2
165+
bringup: true
165166
timeout: 90
166167
enabled_branches:
167168
# Don't run this on release branches

engine/src/flutter/.clang-tidy

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,4 +60,4 @@ CheckOptions:
6060
# updated.
6161
#
6262
# tl;dr: I'm sorry.
63-
HeaderFilterRegex: "[..\/]+\/flutter\/(assets|benchmarking|bin|build|ci|common|display_list|docs|examples|flow|flutter_frontend_server|flutter_vma|fml|impeller|lib|runtime|shell|skia|sky|testing|tools|txt|vulkan|wasm|web_sdk)\/.*"
63+
HeaderFilterRegex: "[..\/]+\/flutter\/(assets|benchmarking|bin|build|ci|common|display_list|docs|examples|flow|flutter_frontend_server|flutter_vma|fml|impeller|lib|runtime|shell|skia|skwasm|sky|testing|tools|txt|vulkan|wasm|web_sdk)\/.*"

engine/src/flutter/fml/string_conversion.cc

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,4 +44,9 @@ std::u16string Utf8ToUtf16(const std::string_view string) {
4444
return converter.from_bytes(string.data());
4545
}
4646

47+
std::string PathToUtf8(const std::filesystem::path& path) {
48+
const std::u8string path_u8 = path.u8string();
49+
return std::string(path_u8.begin(), path_u8.end());
50+
}
51+
4752
} // namespace fml

0 commit comments

Comments
 (0)