Commit Graph

82487 Commits

Author SHA1 Message Date
Matan Lurey
1d79946ecb Remove last two references to Cirrus CI. (#161530)
Towards https://github.com/flutter/flutter/issues/161387.
2025-01-13 23:44:40 +00:00
John McDole
0009cc358f Mark Mac_mokey microbenchmarks as flakey (#161550)
Random seed 349875783 is failing half the time.

```
flutter run -v -d IR65S859OJ4HAY6P --profile lib/benchmark_collection.dart --dart-define=seed=349875783
```

I'm concerned that this sometimes passes, which points to some hidden
timing bugs.
2025-01-13 23:14:39 +00:00
auto-submit[bot]
b95721ca6f Reverts "Match CupertinoPageTransitionsBuilder animation duration to CupertinoPageRoute (#160241)" (#161555)
<!-- start_original_pr_link -->
Reverts: flutter/flutter#160241
<!-- end_original_pr_link -->
<!-- start_initiating_author -->
Initiated by: yjbanov
<!-- end_initiating_author -->
<!-- start_revert_reason -->
Reason for reverting: there's evidence that this broke the tree
<!-- end_revert_reason -->
<!-- start_original_pr_author -->
Original PR Author: chika3742
<!-- end_original_pr_author -->

<!-- start_reviewers -->
Reviewed By: {chunhtai, MitchellGoodwin}
<!-- end_reviewers -->

<!-- start_revert_body -->
This change reverts the following previous change:
<!--
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
-->

The recent changes have made it possible to customize the duration in
PageTransitionsBuilder, so I have adjusted
CupertinoPageTransitionsBuilder's transition duration to
CupertinoPageRoute.

related issue: #29068

| Before | After | Native |
| --- | --- | --- |
| <video
src="https://github.com/user-attachments/assets/1420bb86-37d2-4d5a-b0f9-e0860e3c8f01">
| <video
src="https://github.com/user-attachments/assets/f0455f3a-ca80-4cb6-a803-b9c48ec2075e">
| <video
src="https://github.com/user-attachments/assets/74218f9d-f4a1-4008-84ac-caf73355f467">
|

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

<!-- end_revert_body -->

Co-authored-by: auto-submit[bot] <flutter-engprod-team@google.com>
2025-01-13 22:39:19 +00:00
Ben Konyi
b3e65358d7 Add validator execution times to flutter doctor --verbose (#158124)
Should help provide more information for `flutter doctor` timeouts like
we've seen in https://github.com/flutter/flutter/issues/157513
2025-01-13 21:01:44 +00:00
Matan Lurey
5f06c091b9 Explain more specifically how to use flutter drive/what it does (#161450)
_Run integration tests for the project_ is not an accurate statement, as
there is nothing inherently about `flutter_driver` that is for
integration tests (for example, it could be just plain automation,
benchmarking, etc).

In addition, clarifies what the most common two arguments might be and
their defaults.

Co-authored-by: Andrew Kolos <andrewrkolos@gmail.com>
2025-01-13 20:51:02 +00:00
Kishan Dhankecha
01fc23238e Fixed repeated strings for incompatible Gradle or AGP version in create command (#161223)
Fixed the repeated string which shows the compatible Java version in the
create command.

<img width="1003" alt="image"
src="https://github.com/user-attachments/assets/143634ef-fb36-40ce-8934-a5237d574821"
/>


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

<!-- 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
2025-01-13 20:35:16 +00:00
Matan Lurey
607c79cdfd Remove WEB_SHARD_COUNT, which no longer exists post-Cirrus. (#161527)
Towards https://github.com/flutter/flutter/issues/161387.
2025-01-13 20:21:00 +00:00
Chinmay Garde
432843a0f3 [Impeller] Update guidance on prebuilt artifacts. (#161251) 2025-01-13 19:44:37 +00:00
Jim Graham
d80be471dd Migrate DisplayList unit tests to DL/Impeller geometry classes (#161453)
Address the first item in
https://github.com/flutter/flutter/issues/161456 (Unit tests in the
display_list/ directory)

Some new `DlPath::Make<Shape>` factories were added to make test writing
simpler.

`DlPath` is now bi-directional! You can construct one from either an
`SkPath` or an `impeller::Path` and it will auto-convert to the other as
needed. This allows unit tests with custom paths to rely on
`impeller::Path` for path construction instead of `SkPath` (as long as
only simple move/line/quad/curve verbs are needed).

`RoundRect` now normalizes the argument rect in all constructors to
match Flutter expectations and `SkRRect` legacy behavior. This behavior
was already being enforced in `ui.rrect` but the unit tests we have to
verify the behavior are written against the `RoundRect` object itself so
this was the simplest way to make the unit tests work right, while
ensuring that we maintain correct behavior for `ui` objects. Ideally
these issues would be tested at the `ui` native interface instead of as
unit tests on our internal objects and we should be allowed to decide
how we want our internal APIs to behave with regard to this concept.

Skia inverted path types are no longer allowed in `DlPath` and all use
of them should be eliminated in the engine (except to test if they crash
when used in a debug unit test)

A couple of unit tests for `DlOpSpy` and Impeller's interop package were
migrated here along for the ride even though this PR was focused
primarily on `display_list/` unit tests.
2025-01-13 19:28:57 +00:00
Justin McCandless
8856ccb844 Context menu button callback docs clarification (#161451)
This PR updates the context menu button callback docs to clarify that
they are only called when their button is tapped, not when their action
happens any other way. There seemed to be confusion about this in
https://github.com/flutter/flutter/issues/117329 and
https://github.com/flutter/flutter/issues/160908.

Fixes https://github.com/flutter/flutter/issues/160908.
2025-01-13 19:27:17 +00:00
Chikamatsu Kazuya
5bd65c434a Match CupertinoPageTransitionsBuilder animation duration to CupertinoPageRoute (#160241)
<!--
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
-->

The recent changes have made it possible to customize the duration in
PageTransitionsBuilder, so I have adjusted
CupertinoPageTransitionsBuilder's transition duration to
CupertinoPageRoute.

related issue: #29068

| Before | After | Native |
| --- | --- | --- |
| <video
src="https://github.com/user-attachments/assets/1420bb86-37d2-4d5a-b0f9-e0860e3c8f01">
| <video
src="https://github.com/user-attachments/assets/f0455f3a-ca80-4cb6-a803-b9c48ec2075e">
| <video
src="https://github.com/user-attachments/assets/74218f9d-f4a1-4008-84ac-caf73355f467">
|

## 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
2025-01-13 19:11:59 +00:00
John McDole
27f8bb91a6 Udpate documentation on the third_party directories (#161407)
Fixes #161336
2025-01-13 19:03:50 +00:00
Matan Lurey
449079d4f1 Propagate environment variables when flutter drive is invoked. (#161452)
Closes https://github.com/flutter/flutter/issues/161449.

~3 LOC, with 203 lines of tests (including an e2e integration test that
it actually works).

Feedback welcome!

(The reason I'm working on this is the ability to pass environment
variables makes it much easier and less hacky to make
`android_engine_test` configurable, i.e. have different expected outputs
for OpenGLES/Vulkan, compare screenshots locally for deflaking, etc).
2025-01-13 18:48:58 +00:00
Gray Mackall
6e8d80743d Convert base application name handling to kotlin source (start of FGP kt conversion) (#155963)
Wires up a new gradle subproject defining kotlin classes to be used by
the FGP, so that we can incrementally move the entire plugin to be
written in kotlin source.

Starts by moving a piece of kotlin script.

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

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

---------

Co-authored-by: Gray Mackall <mackall@google.com>
2025-01-13 17:56:06 +00:00
Jonah Williams
ee8aab77fe [Impeller] remove API 30 restriction for SurfaceControl testing. (#161438)
In order to give a minimal repro for the AHB issues to folks, I need to
be able to show that while it _should_ work on API 29 it doesn't in a
number of places.. Since this AHB swapchain is off by default this will
have no impact on production applications.
2025-01-13 17:41:50 +00:00
engine-flutter-autoroll
72db8f69e3 Roll Packages from 65547511c004 to 3c3bc6832b39 (16 revisions) (#161515)
65547511c0...3c3bc6832b

2025-01-11 49699333+dependabot[bot]@users.noreply.github.com
[dependabot]: Bump the test-dependencies group across 2 directories with
1 update (flutter/packages#8412)
2025-01-11 49699333+dependabot[bot]@users.noreply.github.com
[dependabot]: Bump org.json:json from 20241224 to 20250107 in
/packages/in_app_purchase/in_app_purchase_android/example/android/app
(flutter/packages#8411)
2025-01-11 engine-flutter-autoroll@skia.org Roll Flutter from
4b23b81828 to 864d4f59dd (50 revisions) (flutter/packages#8408)
2025-01-10 49699333+dependabot[bot]@users.noreply.github.com
[dependabot]: Bump org.json:json from 20240303 to 20250107 in
/packages/in_app_purchase/in_app_purchase_android/android
(flutter/packages#8413)
2025-01-10 49699333+dependabot[bot]@users.noreply.github.com
[dependabot]: Bump org.json:json from 20241224 to 20250107 in
/packages/in_app_purchase/in_app_purchase/example/android/app
(flutter/packages#8410)
2025-01-10 49699333+dependabot[bot]@users.noreply.github.com
[dependabot]: Bump io.mockk:mockk from 1.13.13 to 1.13.14 in
/packages/pigeon/platform_tests/test_plugin/android
(flutter/packages#8357)
2025-01-10 magder@google.com Fix dependabot test-dependencies group
io.mockk regex (flutter/packages#8406)
2025-01-10 49699333+dependabot[bot]@users.noreply.github.com
[shared_pref]: Bump androidx.datastore:datastore from 1.0.0 to 1.1.1 in
/packages/shared_preferences/shared_preferences_android/android
(flutter/packages#7306)
2025-01-10 anay1018@gmail.com [url_launcher_windows] Correct logging url
(flutter/packages#8107)
2025-01-10 49699333+dependabot[bot]@users.noreply.github.com
[dependabot]: Bump io.mockk:mockk from 1.13.13 to 1.13.14 in
/packages/shared_preferences/shared_preferences_android/android
(flutter/packages#8358)
2025-01-10 49699333+dependabot[bot]@users.noreply.github.com
[dependabot]: Bump the androidx group across 3 directories with 1 update
(flutter/packages#8329)
2025-01-10 49699333+dependabot[bot]@users.noreply.github.com
[dependabot]: Bump org.json:json from 20240303 to 20241224 in
/packages/in_app_purchase/in_app_purchase_android/example/android/app
(flutter/packages#8372)
2025-01-10 mdebbar@google.com [url_launcher][web] Better support for
semantics in the Link widget (flutter/packages#6711)
2025-01-10 32538273+ValentinVignal@users.noreply.github.com [camera]:
Activate leak testing for sub packages (flutter/packages#8353)
2025-01-09 43054281+camsim99@users.noreply.github.com
[camera_android_camerax] Remove logic used to previously correct preview
rotation (flutter/packages#8256)
2025-01-09 47866232+chunhtai@users.noreply.github.com [go_router]
Rephrases readme to better describe the current status
(flutter/packages#8403)

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
2025-01-13 17:18:30 +00:00
Taha Tesser
cef35e7790 Update error message for when leading/trailing width exceeds ListTile width and add missing test (#161091)
Fixes [ListTile Crashes When Width Is Reduced with Leading or Trailing
Widgets](https://github.com/flutter/flutter/issues/159380)

## 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].
- [ ] 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
2025-01-13 13:57:38 +00:00
Taha Tesser
1c147a2cdb Deprecate unused ButtonStyleButton.iconAlignment property (#160023)
Fixes [Deprecate unused `ButtonStyleButton.iconAlignment`
property](https://github.com/flutter/flutter/issues/159782)

Refactor done in https://github.com/flutter/flutter/pull/158503 makes
`ButtonStyleButton.iconAlignment` redundant. In this PR I'm marking it
as deprecated without migration guide. However, it may possible to
remove it altogether.


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

<!-- 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
2025-01-13 12:11:26 +00:00
Robert Ancell
d14140f854 Provide monitor information. (#161359)
Fixes https://github.com/flutter/flutter/issues/144230
2025-01-12 21:20:40 +00:00
Jonah Williams
bd1ebf2e14 [android_engine_test] Remove background/foreground from surface texture trampoline test. (#161441)
See if this fixes the golden. The background/foreground isn't necessary
for this test which is just a gold comparison of the rendering
2025-01-11 21:16:21 +00:00
Matan Lurey
00b6a4ed06 Remove some miscellaneous references to Cirrus. (#161390)
Towards https://github.com/flutter/flutter/issues/161387.

... made a few TLC changes the best I could.
2025-01-11 05:28:56 +00:00
chunhtai
6b8b57913d add semantics role and tab (#161260)
fixes https://github.com/flutter/flutter/issues/157134

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

<!-- 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
2025-01-11 00:08:55 +00:00
Mitchell Goodwin
50f7120de5 CupertinoSheetRoute (#157568)
Fixes #42560

### Updated 12/04/24

Adds a CupertinoSheetRoute which displays an iOS style sheet, while
giving the previous route a delegated transition to sync up correctly.

There's a lot of sample files in this draft showing different use cases
for the sake of reviewing the PR. We'll want to probably go down to
about two before this PR lands.

**TODO in this PR**

- [x] Write actual documentation
- [x] Write tests

**TODO in a feature branch, and will be merged with this PR**

- [ ] Add swipe down to dismiss

**TODO in a follow up PR**

- [ ] Stretching on swipe up
- [ ] Add a fullscreen version
- [x] Dark mode theming

How it currently compares, with the simple case and nested navigation:
| Flutter  | Native|
| ------------- | ------------- |
|
![Flutter-Simple](https://github.com/user-attachments/assets/2a1f277e-91c9-48e0-b894-5fad71ef6a21)
|![Native-Simple](https://github.com/user-attachments/assets/6960252a-f762-4ad8-8d68-5c3d7cf8d4e7)
|
|
![Flutter-Nested](https://github.com/user-attachments/assets/bacb3e35-9d11-4113-9331-75daaded67e7)
|
![Native-stacked](https://github.com/user-attachments/assets/70ccbbbb-24c2-40b5-b838-4f8412828b9b)
|

Update:

![Flutter-Status-Bar](https://github.com/user-attachments/assets/c738cc5c-7176-4df2-9422-6b3fa608c943)
Now the status bar will transition from dark to light text so that it's
visible after the transition.

`cupertino_sheet.0.dart` has an example of what it looks like to do a
simple case. It's fairly straightforward.

`cupertino_sheet.1.dart` shows one with nested navigation. It's
necessary to add a `Navigator` if showing page navigation within the
sheet is wanted. I'm thinking adding an API option that auto sets this
up may be needed as there are some pitfalls.

`cupertino_sheet.2.dart` functionally does the same as above but uses
the `showCupertinoSheet` to reduce boilerplate.

## 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.
- [ ] 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
2025-01-10 23:01:08 +00:00
LongCatIsLooong
9e211cabbd Update TextEditingController.text documentation to recommend against using it in production code (#157769)
The `TextEditingController.text` setter has been a major source of
confusion, as using it would usually result in loss of cursor position
if the text field is active. Arguably it also should not be part of the
controller's interface since it is a convenience method.

There are many issues, for example:
https://github.com/flutter/flutter/issues/65547


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

<!-- 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
2025-01-10 20:59:21 +00:00
Alex Li
771b8a4197 🔊 [tool] Add a wirelessly connected device name as displayName (#160497)
An improvement for #144634.

A wirelessly connected device will displayed as `Target device 1
(wireless)` in various of places.

## 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
2025-01-10 20:51:34 +00:00
John McDole
ee4d46d43a FixForward: method was renamed (#161431) 2025-01-10 16:58:24 +00:00
Jenn Magder
864d4f59dd Mark complex_layout_scroll_perf_macos__timeline_summary unflaky (#160997)
This should have been marked unflaky when
https://github.com/flutter/flutter/issues/158251 was closed.

Co-authored-by: Chris Bracken <chris@bracken.jp>
2025-01-10 04:21:23 +00:00
Jenn Magder
0624b56e3f Mark hello_world_macos__compile unflaky (#160998)
This should have been marked unflaky when
https://github.com/flutter/flutter/issues/159542 was closed.
2025-01-10 04:21:23 +00:00
Jenn Magder
b9159dd474 Mark animated_complex_opacity_perf_macos__e2e_summary unflaky (#160996)
This should have been marked unflaky when
https://github.com/flutter/flutter/issues/157423 was closed.

Co-authored-by: Chris Bracken <chris@bracken.jp>
2025-01-10 04:21:23 +00:00
Jenn Magder
6437b9b0be Mark integration_ui_test_test_macos unflaky (#160999)
This should have been marked unflaky when
https://github.com/flutter/flutter/issues/152212 was closed.
2025-01-10 04:20:14 +00:00
Jenn Magder
c4635e526f Mark hot_mode_dev_cycle_macos_target__benchmark unflaky (#161000)
Should have been marked unflaky when
https://github.com/flutter/flutter/issues/158568 was closed.

Co-authored-by: Chris Bracken <chris@bracken.jp>
2025-01-10 04:20:14 +00:00
Matan Lurey
89b336109f Add a virtual-display (VD) platform view test, and refactor tests a bit. (#161349)
Towards https://github.com/flutter/flutter/issues/161261.

Still need to add a HC (Hybrid Composition) variant, but figured I'd do
this incrementally to make it easier to review.
2025-01-10 03:23:40 +00:00
Matan Lurey
99fe90a05e Remove CIRRUS_TASK_NAME from what I can tell, is always omitted on LUCI (#161391)
Towards https://github.com/flutter/flutter/issues/161387.

Example build, no `CIRRUS_TASK_NAME`:

<https://logs.chromium.org/logs/flutter/buildbucket/cr-buildbucket/8726279068923920961/+/u/OS_info/l_execution_details>
2025-01-10 03:05:34 +00:00
Matan Lurey
9bed9d7f95 Replace the always omitted CPU environment variable with numberOfProcessors. (#161392)
I am not sure if this is a 1:1 comparison, so please advise.

Towards https://github.com/flutter/flutter/issues/161387.
2025-01-10 02:41:05 +00:00
Matan Lurey
4efb64b53a We no longer have a separate engine repo. (#161400)
Closes https://github.com/flutter/flutter/issues/161351.
2025-01-10 02:37:29 +00:00
Michael Goderbauer
daa446750b Update Style-guide-for-Flutter-repo.md (#161344)
This mainly removes guidance around whitespace that no longer applies
because it is now handled automatically by `dart format`.
2025-01-10 02:30:10 +00:00
Chris Bracken
afc90ef592 integration_test: Add gitignore of golden image (#161404)
Ignore the golden file associated with

packages/integration_test/example/integration_test/integration_test_matches_golden_file.png

Test (and functionality) introduced in #160484.

Related issues:
* https://github.com/flutter/flutter/issues/143299.
* https://github.com/flutter/flutter/issues/160043.

## 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
2025-01-09 23:36:02 +00:00
Michael Goderbauer
3fbabb89f6 Fix link to engine docs in CONTRIBUTING.md (#161401) 2025-01-09 23:01:24 +00:00
engine-flutter-autoroll
14c2c83ede Roll Packages from 3fc6b7ace3ff to 65547511c004 (11 revisions) (#161379)
3fc6b7ace3...65547511c0

2025-01-09 stanleycocoa@gmail.com [webview_flutter_wkwebview] Add a
listener for the canGoBack property change on the iOS platform.
(flutter/packages#8203)
2025-01-09 39571861+memishood@users.noreply.github.com [flutter_svg]
Implement errorBuilder callback (flutter/packages#8364)
2025-01-08 10687576+bparrishMines@users.noreply.github.com
[interactive_media_ads] Adds remaining methods for internal wrapper of
the iOS native `IMAAdDisplayContainer`. (flutter/packages#8153)
2025-01-08 jhy03261997@gmail.com [go_router_builder] Add a fallback for
a not null List or Set param (flutter/packages#8349)
2025-01-08 engine-flutter-autoroll@skia.org Manual roll Flutter (stable)
from 8495dee1fd4a to 17025dd88227 (2 revisions) (flutter/packages#8396)
2025-01-08 10687576+bparrishMines@users.noreply.github.com
[ci][video_player_android][camera_android_camerax] Manual roll and fix
tests (flutter/packages#8391)
2025-01-07 ditman@gmail.com [ci] Run web tests in wasm (unit +
integration). (flutter/packages#8111)
2025-01-07 liff@iki.fi [camera_platform_interface] Add API support query
for image streaming (flutter/packages#8307)
2025-01-07 10687576+bparrishMines@users.noreply.github.com
[camera_android_camerax][video_player_android] Suppresses deprecation of
the `SurfaceProducer.Callback.onSurfaceDestroyed` method
(flutter/packages#8388)
2025-01-07 jessiewong401@gmail.com Bump Remaining Plugin Example Apps to
targetSdkVersion >= 34 and compileSdkVersion >= 34
(flutter/packages#8361)
2025-01-07 matanlurey@users.noreply.github.com Replace
`onSurfaceCreated` with `onSurfaceAvailable`. (flutter/packages#8384)

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
2025-01-09 22:57:50 +00:00
Valentin Vignal
34081dc2c9 Add mouseCursor parameter to ReorderableListView (#160246)
Part of https://github.com/flutter/flutter/issues/58192#issue-626789189


<table>
  <tr>
    <th>Defautl</th>
    <th>Customized</th>
  </tr>
  <tr>
    <td>



https://github.com/user-attachments/assets/91819d7e-472b-481d-84ff-bec0d812ab53



</td>
    <td>


https://github.com/user-attachments/assets/61a6841f-1845-4444-a03a-8870f0b67969




</td>
  </tr>
</table>


## 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
2025-01-09 22:29:02 +00:00
Matan Lurey
59f630b7b5 Remove Cirrus CI from Flutter goldens. (#161396)
Towards https://github.com/flutter/flutter/issues/161387.

I believe this effectively a NOP as the `CIRRUS_`-environment variables
are never set.
2025-01-09 22:27:24 +00:00
Lucas SAUDON
900eab1601 removeuseMaterial3: true, in from the template (#160525)
`useMaterial3` was `true` by default for some versions, so I think it
can be removed from the template.

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

<!-- 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
2025-01-09 21:18:15 +00:00
Matan Lurey
a336069ba1 Remove accept_android_sdk_licenses.sh, which appears unused. (#161388)
Towards https://github.com/flutter/flutter/issues/161387.

From what I can tell, this is no longer referenced or used (I
cross-checked `flutter/recipes` as well).
2025-01-09 21:14:38 +00:00
Siva
da6343150b Roll Dart to Version 3.7.0-312.0.dev (#161394)
https://dart.googlesource.com/sdk.git/+log/ba910918075e..dbe08d993b3f


[dbe08d9](https://dart.googlesource.com/sdk.git/+/dbe08d993b3fe700ed716fa068742e8fb80b0a0a)
[Version
3.7.0-312.0.dev](https://dart.googlesource.com/sdk.git/+/dbe08d993b3fe700ed716fa068742e8fb80b0a0a)
by Dart CI · 19 hours ago
[3.7.0-312.0.dev](https://dart.googlesource.com/sdk.git/+/refs/tags/3.7.0-312.0.dev)

[6254583](https://dart.googlesource.com/sdk.git/+/625458335f3714cc12fdbab06c7e11ba7c461d4c)
[[element model] migrate
`type_constraint_generation_test`](https://dart.googlesource.com/sdk.git/+/625458335f3714cc12fdbab06c7e11ba7c461d4c)
by pq · 22 hours ago

[26a2bf2](https://dart.googlesource.com/sdk.git/+/26a2bf20b7cc379f24a79cb76b0d1a3de3026e37)
[[DAS] Fixes for static declarations on Go to Imports
command](https://dart.googlesource.com/sdk.git/+/26a2bf20b7cc379f24a79cb76b0d1a3de3026e37)
by FMorschel · 22 hours ago

[c033dd2](https://dart.googlesource.com/sdk.git/+/c033dd24afd5e8cc9e61599caa063f9f22948261)
[[ddc] Updating tearoffs to be evaluated on
access.](https://dart.googlesource.com/sdk.git/+/c033dd24afd5e8cc9e61599caa063f9f22948261)
by MarkZ · 22 hours ago

[609f2f9](https://dart.googlesource.com/sdk.git/+/609f2f95b1b5e676b64427a75e7dfb84b45fff7c)
[Linter. Issue 59814. Report
unnecessary_async.](https://dart.googlesource.com/sdk.git/+/609f2f95b1b5e676b64427a75e7dfb84b45fff7c)
by Konstantin Shcheglov · 22 hours ago

[810eeb4](https://dart.googlesource.com/sdk.git/+/810eeb44656bd32a28d92f88fd05c0e1cb84bdad)
[Elements. Migrate
lib/src/dart/ast/element_locator.dart](https://dart.googlesource.com/sdk.git/+/810eeb44656bd32a28d92f88fd05c0e1cb84bdad)
by Konstantin Shcheglov · 22 hours ago

[a429df7](https://dart.googlesource.com/sdk.git/+/a429df7391c7c527d416cdd591df5f2245a22362)
[Version
3.7.0-311.0.dev](https://dart.googlesource.com/sdk.git/+/a429df7391c7c527d416cdd591df5f2245a22362)
by Dart CI · 23 hours ago
[3.7.0-311.0.dev](https://dart.googlesource.com/sdk.git/+/refs/tags/3.7.0-311.0.dev)

[94528752](https://dart.googlesource.com/sdk.git/+/94528752b2dcea728420e1cc29977dbb97c50b1d)
[[CQ] cleanup (migration-related) extension
naming](https://dart.googlesource.com/sdk.git/+/94528752b2dcea728420e1cc29977dbb97c50b1d)
by pq · 24 hours ago

[7234e6f](https://dart.googlesource.com/sdk.git/+/7234e6fa1038258dfb1c02db55095660a89a4535)
[Add analyzer entries for Dart
3.7](https://dart.googlesource.com/sdk.git/+/7234e6fa1038258dfb1c02db55095660a89a4535)
by Sam Rawlins · 25 hours ago

[e4e42f7](https://dart.googlesource.com/sdk.git/+/e4e42f798d4eaa3e70dd48d297f43702c7afe37f)
[[analyzer] Fix type of transformedParameters when inheriting
covariance](https://dart.googlesource.com/sdk.git/+/e4e42f798d4eaa3e70dd48d297f43702c7afe37f)
by Paul Berry · 26 hours ago

[3a73f32](https://dart.googlesource.com/sdk.git/+/3a73f3282476e70d1b905fa830df7be3328815cd)
[[vm,mirrors] reflectClass: throw ArgumentError for function and record
types](https://dart.googlesource.com/sdk.git/+/3a73f3282476e70d1b905fa830df7be3328815cd)
by Alexander Markov · 26 hours ago

[742850f](https://dart.googlesource.com/sdk.git/+/742850f9cc3341fcba1aaf9c2d5b5ed2babbaa61)
[[vm/aot,dart2wasm,tfa] Infer null after comparison with null only if
value is potentially
nullable](https://dart.googlesource.com/sdk.git/+/742850f9cc3341fcba1aaf9c2d5b5ed2babbaa61)
by Alexander Markov · 28 hours ago

[e46aff2](https://dart.googlesource.com/sdk.git/+/e46aff2119121d210e6e241c7d0dea52c8b4cdae)
[Version
3.7.0-310.0.dev](https://dart.googlesource.com/sdk.git/+/e46aff2119121d210e6e241c7d0dea52c8b4cdae)
by Dart CI · 31 hours ago
[3.7.0-310.0.dev](https://dart.googlesource.com/sdk.git/+/refs/tags/3.7.0-310.0.dev)

[735a739](https://dart.googlesource.com/sdk.git/+/735a73943db7ce5a18078f5d98bd463d145386ff)
[Reland "[vm] Turn on entry point checking in JIT
mode."](https://dart.googlesource.com/sdk.git/+/735a73943db7ce5a18078f5d98bd463d145386ff)
by Ivan Inozemtsev · 35 hours ago

[7ec45fa](https://dart.googlesource.com/sdk.git/+/7ec45fa41b04afb4ee96935aa473027368e56272)
[Bump tools to
b412ba4550bb634caf3c1064b7ebb671cd5e9247](https://dart.googlesource.com/sdk.git/+/7ec45fa41b04afb4ee96935aa473027368e56272)
by Devon Carew · 35 hours ago

[4de3500](https://dart.googlesource.com/sdk.git/+/4de350042e2025ab3cfceb7630f480857e4d3915)
[Version
3.7.0-309.0.dev](https://dart.googlesource.com/sdk.git/+/4de350042e2025ab3cfceb7630f480857e4d3915)
by Dart CI · 2 days ago
[3.7.0-309.0.dev](https://dart.googlesource.com/sdk.git/+/refs/tags/3.7.0-309.0.dev)

[fec029f](https://dart.googlesource.com/sdk.git/+/fec029fa046a42c1291b37ef04677fe2c686e5a4)
[[analyzer] Mark latest lint and diagnostic docs as
published](https://dart.googlesource.com/sdk.git/+/fec029fa046a42c1291b37ef04677fe2c686e5a4)
by Parker Lougheed · 2 days ago

[525afed](https://dart.googlesource.com/sdk.git/+/525afedd3f30f04765f8bd798d323f42f0c6a11b)
[Revert "analyzer: Support doc-imports with
prefixes"](https://dart.googlesource.com/sdk.git/+/525afedd3f30f04765f8bd798d323f42f0c6a11b)
by Sam Rawlins · 2 days ago

[91af235](https://dart.googlesource.com/sdk.git/+/91af235e319779544e6733da15ac45bdf3174cb2)
[Version
3.7.0-308.0.dev](https://dart.googlesource.com/sdk.git/+/91af235e319779544e6733da15ac45bdf3174cb2)
by Dart CI · 2 days ago
[3.7.0-308.0.dev](https://dart.googlesource.com/sdk.git/+/refs/tags/3.7.0-308.0.dev)

[b35bb73](https://dart.googlesource.com/sdk.git/+/b35bb73ac9227fd3266fdb6c79fdfb43feede4f1)
[[element model] migrate
`string_types`](https://dart.googlesource.com/sdk.git/+/b35bb73ac9227fd3266fdb6c79fdfb43feede4f1)
by pq · 2 days ago

[9b8841a](https://dart.googlesource.com/sdk.git/+/9b8841a1010a7ccc77ec816ab46e9d09d65d1cfc)
[[CQ] unify
`directives_ordering_test`s](https://dart.googlesource.com/sdk.git/+/9b8841a1010a7ccc77ec816ab46e9d09d65d1cfc)
by pq · 2 days ago

[77e8027](https://dart.googlesource.com/sdk.git/+/77e802730c24e183436389ce5dd9310b9d222a16)
[[CQ] remove stale `test_data`
directory](https://dart.googlesource.com/sdk.git/+/77e802730c24e183436389ce5dd9310b9d222a16)
by pq · 2 days ago

[213aa8d](https://dart.googlesource.com/sdk.git/+/213aa8d46ca1f92d6e840b91ccda6af8e09c31c5)
[Update DevTools rev to
8762b31f0d0ffeea6449fd02740e9ce7acb32503](https://dart.googlesource.com/sdk.git/+/213aa8d46ca1f92d6e840b91ccda6af8e09c31c5)
by Elliott Brooks · 2 days ago

[c86d7fe](https://dart.googlesource.com/sdk.git/+/c86d7fe8b912fdc6c14fe491696c20beabefabf3)
[[CQ] update `unnecessary_ignore`
calculation](https://dart.googlesource.com/sdk.git/+/c86d7fe8b912fdc6c14fe491696c20beabefabf3)
by pq · 2 days ago

[a1f5ee9](https://dart.googlesource.com/sdk.git/+/a1f5ee9861c73486ab3f9bdc8090c0d0342d5397)
[[element model] migrate
`abstract_single_unit`](https://dart.googlesource.com/sdk.git/+/a1f5ee9861c73486ab3f9bdc8090c0d0342d5397)
by pq · 2 days ago

[057426e](https://dart.googlesource.com/sdk.git/+/057426eb7f5450f0212a87a3351c7ad25045f3cf)
[[dart2js] Include block statements as potentially captured
scopes.](https://dart.googlesource.com/sdk.git/+/057426eb7f5450f0212a87a3351c7ad25045f3cf)
by Nate Biggs · 2 days ago

[2258ea7](https://dart.googlesource.com/sdk.git/+/2258ea7ec2ac40f91f4b45a66238b8d7d02a6df1)
[[quick fix] new correction for
`unnecessary_underscores`](https://dart.googlesource.com/sdk.git/+/2258ea7ec2ac40f91f4b45a66238b8d7d02a6df1)
by pq · 2 days ago

[a33ae0f](https://dart.googlesource.com/sdk.git/+/a33ae0fabfdc0f6a56b391ef89a02bdf33b52417)
[[CQ] unify featureSet
access](https://dart.googlesource.com/sdk.git/+/a33ae0fabfdc0f6a56b391ef89a02bdf33b52417)
by pq · 2 days ago

[876752e](https://dart.googlesource.com/sdk.git/+/876752e40f3d37dded07fd4cf51ec06eb3b332cb)
[[CQ] add feature `isEnabled`
utility](https://dart.googlesource.com/sdk.git/+/876752e40f3d37dded07fd4cf51ec06eb3b332cb)
by pq · 2 days ago

[1b04589](https://dart.googlesource.com/sdk.git/+/1b04589b5d2458bc4bb0dd68e3bf87c4c3759a02)
[[analysis_server] Improve error reported by handleExpectedRequest when
the expected request never
arrives](https://dart.googlesource.com/sdk.git/+/1b04589b5d2458bc4bb0dd68e3bf87c4c3759a02)
by Danny Tuppeny · 2 days ago

[d80fab4](https://dart.googlesource.com/sdk.git/+/d80fab4a8a6d630a6c4e55eac7032126b7035091)
[[dart2wasm] Fix dynamic switch
casts.](https://dart.googlesource.com/sdk.git/+/d80fab4a8a6d630a6c4e55eac7032126b7035091)
by Nate Biggs · 2 days ago

[a70ab61](https://dart.googlesource.com/sdk.git/+/a70ab6124cf2cbafbd890f8933bfd3228185bb5e)
[[deps] remove
dart-lang/http_multi_server](https://dart.googlesource.com/sdk.git/+/a70ab6124cf2cbafbd890f8933bfd3228185bb5e)
by Devon Carew · 2 days ago
2025-01-09 20:49:53 +00:00
Flutter GitHub Bot
ebdda42877 Marks Linux analyzer_benchmark to be flaky (#161307)
<!-- meta-tags: To be used by the automation script only, DO NOT MODIFY.
{
  "name": "Linux analyzer_benchmark"
}
-->
Issue link: https://github.com/flutter/flutter/issues/161306
2025-01-09 20:47:24 +00:00
Jonah Williams
96dffbeda5 [Impeller] fix scaling of trampoline import of GLES textures into Vulkan. (#161331)
Not sure if this just needs the dpr transform or the entire canvas
transform.

Fixes https://github.com/flutter/flutter/issues/159688

## Before


![flutter_04](https://github.com/user-attachments/assets/be60b1d0-4e94-491c-b1da-a03d66897f12)


## After


![flutter_03](https://github.com/user-attachments/assets/64cca8b7-3ae7-4f40-af26-ae61d9ec6290)
2025-01-09 20:39:29 +00:00
Srujan Gaddam
a38abc864c Support DDC library bundle format and remove support for DDC module format (#161276)
This gets us closer to enabling [hot
reload](https://github.com/dart-lang/sdk/issues/54934) on the web as
this format is a prerequisite. Historically, we added support for the
DDC module format only to enable hot reload, but that format is not
feasible for the goal, so we added the DDC library bundle format. The
DDC library bundle format is currently represented as the combination of
the `ddc` module format and `canary`. We no longer need to support the
old DDC module format.

- Adds build artifacts to build the SDKs for this format (but only in
sound mode as unsound is unsupported), and removes said artifacts for
the DDC module format.
- Update artifact maps and constants to add the new format and remove
the old format.
- Adds handling of the `canaryFeatures` flag.
- Update dwds to 24.3.0 and use the new
`FrontendServerDdcLibraryBundleStrategyProvider`.
- Add bootstrap code for the new format. Kept DDC module format
bootstrap code as it's used internally.
- Updates tests.

I ran `spinning_square` with the new module format to verify that it can
run.

## 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].
- [ ] I followed the [breaking change policy] and added [Data Driven
Fixes] where supported.
- [X] All existing and new tests are passing.
2025-01-09 20:36:43 +00:00
Matan Lurey
fe73879f95 Remove seemingly stale web Cirrus and "Web Installer" instructions (#161389)
Towards https://github.com/flutter/flutter/issues/161387.

Bit of markdown TLC as well.
2025-01-09 20:13:04 +00:00
Matan Lurey
f2e59e738c Proposal to deprecate webGoldenComparator. (#161196)
Towards https://github.com/flutter/flutter/issues/160261.

This is a PR and proposal all-in-one to deprecate, and remove, pending
the removal of the HTML backend, `WebGoldenComparator` (and related
symbols, `webGoldenComparator` and `DefaultWebGoldenComparator`).

The concept of `WebGoldenComparator` was added because the HTML-based
renderer could not support the `GoldenFileComparator` contract:


7141c2a136/packages/flutter_test/lib/src/_matchers_web.dart (L105-L108)

Once the Skia renderer (and now, SkWasm renderer) were added, it was now
possible to support the same API used by the native engine(s). This PR
conditionally, if _not_ using the HTML renderer, uses
`goldenFileComparator` instead, which re-uses the same code that
previously backed `DefaultWebGoldenFileComparator`.

No _new_ logic has been introduced in this change. This might need an
iteration or two to get right.

Feedback welcome!
2025-01-09 19:26:08 +00:00
Nate Wilson
3d433adf87 ImplicitlyAnimatedWidgetState code cleanup (#160567)
preparing for https://github.com/flutter/flutter/pull/154378

It'd be nice to clean up the implicitly animated widget logic,
especially since it could make the upcoming PR easier to review.
2025-01-09 18:00:31 +00:00