Nate
3267fbc07a
Implement switch expressions in dev/ ( #139048 )
...
I previously made a PR (#136140 ) that used `switch` expressions to make some parts of the Flutter codebase easier to understand. It was assigned to the framework team, and @christopherfujino let me know that it was too large to effectively review and recommended breaking it up into smaller pull requests.
Here's a PR that only targets files in the `dev/` directory. Hopefully this will be easier to work with!
(solves issue https://github.com/flutter/flutter/issues/136139 )
2023-11-28 23:40:28 +00:00
engine-flutter-autoroll
9c4df1f1f5
Roll Flutter Engine from 01fcec7214db to 570fec4fa92c (2 revisions) ( #139178 )
...
01fcec7214...570fec4fa9
2023-11-28 skia-flutter-autoroll@skia.org Roll Skia from f07025afd712 to 6ad886e9593a (5 revisions) (flutter/engine#48469 )
2023-11-28 jason-simmons@users.noreply.github.com Remove use of variable length arrays (flutter/engine#48232 )
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Please CC matanl@google.com ,rmistry@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
2023-11-28 23:27:43 +00:00
Gregor Zurowski
352a06018f
Fix comment ( #138973 )
...
A documentation tiny fix of the comment for `WidgetsBindingObserver`.
2023-11-28 23:27:40 +00:00
yim
f3c84ce20f
Added some documentation for OverlayPortal ( #138934 )
...
Fixes : #138836
Adds some comments to OverlayPortal to clarify its behavior.
2023-11-28 23:22:24 +00:00
Gabriel Tavares
66935a82e8
feature(table-widget): Added intrinsicHeight to TableCellVerticalAlignment enum. ( #130264 )
...
**What has been done?**
----------------------
Added new enumeration in `TableCellVerticalAlignment`, which sets the cell size to the same as the topmost cell. There are no noticeable problems in using it in all cells together, as there are in `TableCellVerticalAlignment.fill` which is made not to be used in all cells together because it has another purpose.
**Explanation of the logic**
----------------------
An assignment was made (which already existed in `TableCellVerticalAlignment.top; middle and bottom`) that assigns `rowHeight` the maximum double between the initialized height and the height of its child.

Basically, defining a minimum cell height based on its child, and letting each table row have its own height stipulated from the largest element, creating an `IntrinsicHeight` for TableCell automatically.

As the `TableCellVerticalAlignment` logic already provides for the use of the height of the largest cell in the row, it was possible to reuse this logic, and just not make the break statement that exists to fill in the calculation for `intrinsicHeight`.
Real example in an Android application after added enumeration
----------------------

Opened issue
----------------------
FIX : #130261
2023-11-28 23:13:09 +00:00
engine-flutter-autoroll
ef3c617061
Roll Flutter Engine from 97ede154dcd8 to 01fcec7214db (1 revision) ( #139172 )
...
97ede154dc...01fcec7214
2023-11-28 15619084+vashworth@users.noreply.github.com Skip unexpected events in MultiPlatformViewBackgroundForegroundScenario (flutter/engine#48456 )
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Please CC matanl@google.com ,rmistry@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
2023-11-28 21:59:56 +00:00
LongCatIsLooong
f2b74725c5
Ensure Icon vertically centers its icon glyph. ( #138937 )
...
Fixes https://github.com/flutter/flutter/issues/138592 .
In an `Icon` widget if the icon font's body (ascender + descender) is larger than the font's units per em, the icon height reported by the text layout library will be larger than the specified font size. When that happens the icon glyph gets pushed towards the bottom because the `Icon` widget is wrapped in a fontSize x fontSize SizedBox and thus has a fixed height of fontSize px. This wasn't a problem for material icons because its UPEM == body.
2023-11-28 21:24:28 +00:00
engine-flutter-autoroll
223f32e09e
Roll Flutter Engine from fd3a33f8b239 to 97ede154dcd8 (2 revisions) ( #139168 )
...
fd3a33f8b2...97ede154dc
2023-11-28 jonahwilliams@google.com [Impeller] Skip mask blur with 0 sigma. (flutter/engine#48457 )
2023-11-28 jonahwilliams@google.com [Impeller] match sigma scaling to Skia scaling. (flutter/engine#48434 )
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Please CC matanl@google.com ,rmistry@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
2023-11-28 20:59:06 +00:00
engine-flutter-autoroll
95a8f000f6
Roll Flutter Engine from d375d5b95d59 to fd3a33f8b239 (2 revisions) ( #139163 )
...
d375d5b95d...fd3a33f8b2
2023-11-28 skia-flutter-autoroll@skia.org Roll Skia from 8752700a2565 to f07025afd712 (1 revision) (flutter/engine#48462 )
2023-11-28 30870216+gaaclarke@users.noreply.github.com [Impeller] implements incorporating the gaussian blur snapshot transform (flutter/engine#48426 )
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Please CC matanl@google.com ,rmistry@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
2023-11-28 20:14:06 +00:00
engine-flutter-autoroll
1676877c9e
Roll Flutter Engine from e4b18fa3661e to d375d5b95d59 (2 revisions) ( #139157 )
...
e4b18fa366...d375d5b95d
2023-11-28 jonahwilliams@google.com [Impeller] Recycle descriptor sets. (flutter/engine#48343 )
2023-11-28 skia-flutter-autoroll@skia.org Roll Skia from 88443909711b to 8752700a2565 (3 revisions) (flutter/engine#48460 )
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Please CC matanl@google.com ,rmistry@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
2023-11-28 19:23:24 +00:00
Tirth
18b239fbde
Added keyboardType & textInputAction props to SearchBar, SearchAnchor & SearchAnchor.bar ( #138553 )
...
Added `keyboardType` & `textInputAction` props to `SearchBar`, `SearchAnchor` & `SearchAnchor.bar`
Fixes #138483
2023-11-28 18:38:55 +00:00
Jim Kalafut
89edac4041
Fix header formatting typo in PopupMenuButton docs ( #139084 )
...
I believe this was intended (in #128351 ) to be a heading, but currently in the [published docs](https://api.flutter.dev/flutter/material/PopupMenuButton-class.html ) it is rendered as:
```
/// ## Updating to MenuAnchor
```
2023-11-28 18:01:07 +00:00
Kate Lovett
92ad558e25
Fix turbulence seed for all tests with ink sparkles ( #138757 )
...
Fixes https://github.com/flutter/flutter/issues/138753
This makes sure that InkSparkles are always fixed for testing rather than random.
2023-11-28 17:59:19 +00:00
Victoria Ashworth
358e39137f
Renable macOS 13 tests ( #139083 )
...
A workaround was added for https://github.com/flutter/flutter/issues/138238 , so let's re-enable macOS 13 tests
2023-11-28 16:13:08 +00:00
engine-flutter-autoroll
65e9c427dc
Roll Flutter Engine from 8715e9b9119d to e4b18fa3661e (1 revision) ( #139142 )
...
8715e9b911...e4b18fa366
2023-11-28 skia-flutter-autoroll@skia.org Roll Skia from 259041aed940 to 88443909711b (1 revision) (flutter/engine#48449 )
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Please CC matanl@google.com ,rmistry@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
2023-11-28 15:56:05 +00:00
engine-flutter-autoroll
edf278658b
Roll Packages from e774e8887ce2 to 3c054661a3a6 (2 revisions) ( #139140 )
...
e774e8887c...3c054661a3
2023-11-28 engine-flutter-autoroll@skia.org Manual roll Flutter from b5f163a6f2 to 6bf3ccd47d (20 revisions) (flutter/packages#5495 )
2023-11-27 43054281+camsim99@users.noreply.github.com [quick_actions_android] Run tests on AVDs running Android 34 (flutter/packages#5220 )
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 ,rmistry@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
2023-11-28 15:41:16 +00:00
engine-flutter-autoroll
91274cf600
Roll Flutter Engine from 6ad827e9a71b to 8715e9b9119d (1 revision) ( #139136 )
...
6ad827e9a7...8715e9b911
2023-11-28 skia-flutter-autoroll@skia.org Roll Skia from 7db11e437559 to 259041aed940 (1 revision) (flutter/engine#48446 )
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Please CC matanl@google.com ,rmistry@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
2023-11-28 15:15:56 +00:00
engine-flutter-autoroll
7794715a45
Roll Flutter Engine from c18d3df967dc to 6ad827e9a71b (1 revision) ( #139135 )
...
c18d3df967...6ad827e9a7
2023-11-28 skia-flutter-autoroll@skia.org Roll Skia from 38e60fd69349 to 7db11e437559 (1 revision) (flutter/engine#48445 )
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Please CC matanl@google.com ,rmistry@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
2023-11-28 14:24:26 +00:00
engine-flutter-autoroll
92588b45f7
Roll Flutter Engine from 1caa7478db0d to c18d3df967dc (1 revision) ( #139133 )
...
1caa7478db...c18d3df967
2023-11-28 kjlubick@users.noreply.github.com Replace all calls to SkTypeface::Make with SkFontMgr ones (flutter/engine#48319 )
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Please CC matanl@google.com ,rmistry@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
2023-11-28 13:23:07 +00:00
engine-flutter-autoroll
82adb05cd1
Roll Flutter Engine from 4f217e1f9afe to 1caa7478db0d (1 revision) ( #139129 )
...
4f217e1f9a...1caa7478db
2023-11-28 skia-flutter-autoroll@skia.org Roll Skia from 4ab39e85a055 to 38e60fd69349 (1 revision) (flutter/engine#48439 )
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Please CC matanl@google.com ,rmistry@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
2023-11-28 10:15:25 +00:00
Bruno Leroux
a28f4e3a6c
Fix textScalerOf and maybeTextScalerOf documentations ( #139123 )
...
## Description
This PR fixes an inversion on `MediaQuery.textScalerOf` and `MediaQuery.maybeTextScalerOf `documentation.
## Related Issue
Fixes https://github.com/flutter/flutter/issues/139071
## Tests
Documentation only
2023-11-28 08:57:04 +00:00
engine-flutter-autoroll
897c2f85b4
Roll Flutter Engine from c25cc65720de to 4f217e1f9afe (1 revision) ( #139126 )
...
c25cc65720...4f217e1f9a
2023-11-28 skia-flutter-autoroll@skia.org Roll Skia from ee5ede6f90cf to 4ab39e85a055 (1 revision) (flutter/engine#48438 )
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Please CC matanl@google.com ,rmistry@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
2023-11-28 08:36:25 +00:00
engine-flutter-autoroll
9c9a9d18fc
Roll Flutter Engine from 3381d3ff0df7 to c25cc65720de (1 revision) ( #139121 )
...
3381d3ff0d...c25cc65720
2023-11-28 skia-flutter-autoroll@skia.org Roll Skia from 4a74daba343b to ee5ede6f90cf (2 revisions) (flutter/engine#48437 )
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Please CC jacksongardner@google.com ,rmistry@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
2023-11-28 08:02:16 +00:00
engine-flutter-autoroll
f64cae3558
Roll Flutter Engine from 96137d05fabc to 3381d3ff0df7 (4 revisions) ( #139119 )
...
96137d05fa...3381d3ff0d
2023-11-28 skia-flutter-autoroll@skia.org Roll Skia from 62b4bf2bef5c to 4a74daba343b (1 revision) (flutter/engine#48436 )
2023-11-28 skia-flutter-autoroll@skia.org Roll Dart SDK from 8b962b2b9e72 to b58735e626f6 (1 revision) (flutter/engine#48435 )
2023-11-28 skia-flutter-autoroll@skia.org Roll Skia from 600986ba305d to 62b4bf2bef5c (1 revision) (flutter/engine#48433 )
2023-11-28 jonahwilliams@google.com [Impeller] Add benchmarks that measure the time it takes to record canvas operations. (flutter/engine#48374 )
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Please CC jacksongardner@google.com ,rmistry@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
2023-11-28 07:21:38 +00:00
neko-andrew
ad62645fce
Fix intrinsic width of input decorator ( #138074 )
...
Fix min intrinsic width of input decorator by removing left or right padding when `prefixIcon` or `suffixIcon` are used.
Fixes #137937 .
2023-11-28 05:20:07 +00:00
Zachary Anderson
e49cc81222
Run platform_channels_benchmarks on Pixel 7 Pro ( #139092 )
...
Related to https://github.com/flutter/flutter/issues/138689 for 64-bit
coverage for Dart VM changes in this area
cc @aam
2023-11-27 19:43:09 -08:00
Jonah Williams
2150424cee
Reland Add platform view wide gamut test ( #139101 )
...
Reland of https://github.com/flutter/flutter/pull/138837
I reverted too many config files, the app needed the pbx project file in order to find the new class I added. Instead, just put the new platform view in the app delegate so it builds.
2023-11-28 02:23:21 +00:00
engine-flutter-autoroll
947488d546
Roll Flutter Engine from 5ffe1f4453e2 to 96137d05fabc (2 revisions) ( #139108 )
...
5ffe1f4453...96137d05fa
2023-11-28 1961493+harryterkelsen@users.noreply.github.com [canvaskit] Fall back to `drawImage` for browsers that don't support `createImageBitmap` (flutter/engine#48336 )
2023-11-28 skia-flutter-autoroll@skia.org Roll Fuchsia Linux SDK from qyRH6zYfUEjo9L1x2... to Vqcs_2rbtDfbmu3WX... (flutter/engine#48428 )
Also rolling transitive DEPS:
fuchsia/sdk/core/linux-amd64 from qyRH6zYfUEjo to Vqcs_2rbtDfb
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Please CC jacksongardner@google.com ,rmistry@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
2023-11-28 01:47:27 +00:00
engine-flutter-autoroll
a095260149
Roll Flutter Engine from 8b100cceb236 to 5ffe1f4453e2 (2 revisions) ( #139106 )
...
8b100cceb2...5ffe1f4453
2023-11-27 matanlurey@users.noreply.github.com Update `HeaderFilterRegex` once and for all. (flutter/engine#48145 )
2023-11-27 flar@google.com SurfaceFrame root DisplayLists will no longer prepare an RTree (flutter/engine#48422 )
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Please CC jacksongardner@google.com ,rmistry@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
2023-11-28 01:06:32 +00:00
godofredoc
fe7299d318
Migrate customer_testing to sharded tests. ( #138659 )
...
This will allow Dart Team to run customer tests as part of monorepo and will be a step forward to remove ad_hoc tests.
Bug: https://github.com/dart-lang/sdk/issues/51042
Bug: https://github.com/flutter/flutter/issues/115476
2023-11-28 00:41:53 +00:00
engine-flutter-autoroll
fc203edcbf
Roll Flutter Engine from 2be719150ea9 to 8b100cceb236 (1 revision) ( #139105 )
...
2be719150e...8b100cceb2
2023-11-27 skia-flutter-autoroll@skia.org Roll Dart SDK from ef97fe2415fd to 8b962b2b9e72 (1 revision) (flutter/engine#48425 )
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Please CC jacksongardner@google.com ,rmistry@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
2023-11-28 00:29:47 +00:00
engine-flutter-autoroll
55e7b8da4b
Roll Flutter Engine from 0a098bd6f761 to 2be719150ea9 (5 revisions) ( #139103 )
...
0a098bd6f7...2be719150e
2023-11-27 goderbauer@google.com Dynamic view sizing [dart:ui] (flutter/engine#48090 )
2023-11-27 dnfield@google.com Roll shaderc to google/shaderc@37e25539ce (flutter/engine#48415 )
2023-11-27 skia-flutter-autoroll@skia.org Roll Skia from 4c964f8c4738 to 600986ba305d (6 revisions) (flutter/engine#48419 )
2023-11-27 1961493+harryterkelsen@users.noreply.github.com [canvaskit] Enable multiview rendering (flutter/engine#48301 )
2023-11-27 30870216+gaaclarke@users.noreply.github.com [Impeller] updated gaussian blur tests to use device private textures (flutter/engine#48417 )
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Please CC jacksongardner@google.com ,rmistry@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
2023-11-27 23:55:55 +00:00
hangyu
8d42987771
Record focus in route entry to move a11y focus to the last focused item ( #135771 )
...
issue: #97747
engine pr:https://github.com/flutter/engine/pull/47114
2023-11-27 23:54:50 +00:00
Kallen Tu
4727627b49
Bump DartDoc to 8.0.0 ( #139088 )
...
Bumping DartDoc to 8.0.0. https://pub.dev/packages/dartdoc/changelog
Will be also removing the `@hideConstantImplementations` directive since
the behaviour is default now.
See issue https://github.com/dart-lang/dartdoc/issues/3564 .
## 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] All existing and new tests are passing.
If you need help, consider asking for advice on the #hackers-new channel
on [Discord].
<!-- Links -->
[Contributor Guide]:
https://github.com/flutter/flutter/wiki/Tree-hygiene#overview
[Tree Hygiene]: https://github.com/flutter/flutter/wiki/Tree-hygiene
[test-exempt]:
https://github.com/flutter/flutter/wiki/Tree-hygiene#tests
[Flutter Style Guide]:
https://github.com/flutter/flutter/wiki/Style-guide-for-Flutter-repo
[Features we expect every widget to implement]:
https://github.com/flutter/flutter/wiki/Style-guide-for-Flutter-repo#features-we-expect-every-widget-to-implement
[CLA]: https://cla.developers.google.com/
[flutter/tests]: https://github.com/flutter/tests
[breaking change policy]:
https://github.com/flutter/flutter/wiki/Tree-hygiene#handling-breaking-changes
[Discord]: https://github.com/flutter/flutter/wiki/Chat
2023-11-27 15:33:07 -08:00
engine-flutter-autoroll
1269717307
Roll Flutter Engine from 900ce09b08b2 to 0a098bd6f761 (3 revisions) ( #139099 )
...
900ce09b08...0a098bd6f7
2023-11-27 skia-flutter-autoroll@skia.org Manual roll Dart SDK from c9bdb5884670 to ef97fe2415fd (6 revisions) (flutter/engine#48414 )
2023-11-27 jonahwilliams@google.com [Impeller] add explainer for Android CPU profiling. (flutter/engine#48407 )
2023-11-27 jhy03261997@gmail.com [ios] Send " did gain focus" message from engine to framework (flutter/engine#48252 )
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Please CC jacksongardner@google.com ,rmistry@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
2023-11-27 23:12:26 +00:00
auto-submit[bot]
e6a49f8a24
Reverts "Wide gamut and platform view integration test." ( #139100 )
...
Reverts flutter/flutter#138837
Initiated by: jonahwilliams
This change reverts the following previous change:
Original Description:
In https://github.com/flutter/engine/pull/48190 I discovered that overlay surfaces were not constructed with wide gamut settings. This adds a test that will fail until this is fixed.
2023-11-27 22:25:26 +00:00
Christopher Fujino
6bf3ccd47d
[flutter_tools] fix instructions to disable CLI animations ( #139094 )
...
Fixes https://github.com/flutter/flutter/issues/139011
2023-11-27 22:00:50 +00:00
engine-flutter-autoroll
6035c5ccba
Roll Flutter Engine from 9fe149249957 to 900ce09b08b2 (3 revisions) ( #139095 )
...
9fe1492499...900ce09b08
2023-11-27 skia-flutter-autoroll@skia.org Roll Skia from 743fc1cde518 to 4c964f8c4738 (2 revisions) (flutter/engine#48410 )
2023-11-27 jonahwilliams@google.com [Impeller] revert non-zero tessellation optimization. (flutter/engine#48234 )
2023-11-27 skia-flutter-autoroll@skia.org Roll Skia from b0d81aba3f78 to 743fc1cde518 (3 revisions) (flutter/engine#48406 )
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Please CC jacksongardner@google.com ,rmistry@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
2023-11-27 21:35:30 +00:00
Jonah Williams
389ebd4666
Wide gamut and platform view integration test. ( #138837 )
...
In https://github.com/flutter/engine/pull/48190 I discovered that overlay surfaces were not constructed with wide gamut settings. This adds a test that will fail until this is fixed.
2023-11-27 21:14:08 +00:00
Taha Tesser
397fd25be1
Add ability to customize NavigationBar indicator overlay and fix indicator shape for the overlay ( #138901 )
...
fixes [Provide ability to override `NavigationBar` indicator ink response overlay](https://github.com/flutter/flutter/issues/138850 )
fixes [`NavigationBar.indicatorShape` is ignored, `NavigationBarThemeData.indicatorShape` is applied to the indicator inkwell](https://github.com/flutter/flutter/issues/138900 )
### Code sample
<details>
<summary>expand to view the code sample</summary>
```dart
import 'package:flutter/material.dart';
void main() => runApp(const MyApp());
class MyApp extends StatelessWidget {
const MyApp({super.key});
@override
Widget build(BuildContext context) {
return const MaterialApp(
debugShowCheckedModeBanner: false,
home: Scaffold(
bottomNavigationBar: NavigationBarExample(),
),
);
}
}
class NavigationBarExample extends StatefulWidget {
const NavigationBarExample({super.key});
@override
State<NavigationBarExample> createState() => _NavigationBarExampleState();
}
class _NavigationBarExampleState extends State<NavigationBarExample> {
int index = 0;
@override
Widget build(BuildContext context) {
return NavigationBar(
elevation: 0,
overlayColor: const MaterialStatePropertyAll<Color>(Colors.transparent),
// indicatorShape: RoundedRectangleBorder(
// borderRadius: BorderRadius.circular(4.0),
// ),
indicatorColor: Colors.transparent,
selectedIndex: index,
onDestinationSelected: (int index) {
setState(() {
this.index = index;
});
},
destinations: const <Widget>[
NavigationDestination(
selectedIcon: Icon(Icons.home_filled),
icon: Icon(Icons.home_outlined),
label: 'Home',
),
NavigationDestination(
selectedIcon: Icon(Icons.favorite),
icon: Icon(Icons.favorite_outline),
label: 'Favorites',
),
],
);
}
}
```
</details>
### Before
#### Cannot override `NavigationBar` Indicator ink well overlay

#### Indicator shape is ignored for the indicator overlay

### After
#### Can use `NavigationBar.overlayColor` or `NavigationBarThemeData.NavigationBar` to override default indicator overlay
`overlayColor: MaterialStatePropertyAll<Color>(Colors.red.withOpacity(0.33)),`

`overlayColor: MaterialStatePropertyAll<Color>(Colors.transparent),`

#### Indicator shape is respected for the indicator overlay

2023-11-27 21:02:35 +00:00
engine-flutter-autoroll
7b80797d0f
Roll Flutter Engine from cc57ace8e2e7 to 9fe149249957 (1 revision) ( #139077 )
...
cc57ace8e2...9fe1492499
2023-11-27 skia-flutter-autoroll@skia.org Manual roll Dart SDK from f1fd14505782 to c9bdb5884670 (10 revisions) (flutter/engine#48402 )
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Please CC jacksongardner@google.com ,rmistry@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
2023-11-27 20:52:08 +00:00
Andrew Kolos
1952a6c8a1
Add type validation to non-template .arb file parsing logic ( #139035 )
...
Resolves https://github.com/flutter/flutter/issues/138297 .
When reading from a .arb file (which contains localizations of strings in the form of a user-defined JSON string-string map), validate the type of values that we read.
See [this comment of mine on #138297 ](https://github.com/flutter/flutter/issues/138297#issuecomment-1827043260 ) to see how I arrived at this fix.
2023-11-27 20:50:24 +00:00
Bartek Pacia
e8282edf4d
Update Android app project template to apply Kotlin Gradle plugin declaratively ( #139006 )
...
This PR updates the app templates generated by `flutter create` to use declarative `plugins {}` syntax for applying the Kotlin Gradle Plugin.
I realized this is missing while writing [#9857.](https://github.com/flutter/website/pull/9857 )
2023-11-27 20:50:21 +00:00
Michael Goderbauer
9147a1c1b8
Prepare for dynamically sized views - pt. 2 ( #139079 )
...
Towards https://github.com/flutter/flutter/issues/134501 .
Required to roll https://github.com/flutter/engine/pull/48090 into the framework.
Two new subclasses of FlutterView were added recently for testing (in https://github.com/flutter/flutter/pull/138849 ) that I missed in my previous PR (https://github.com/flutter/flutter/pull/138565 ).
2023-11-27 19:06:00 +00:00
Michael Goderbauer
bf5d2b875f
Prepare for dynamically sized views ( #138565 )
...
Towards https://github.com/flutter/flutter/issues/134501 .
Required to roll https://github.com/flutter/engine/pull/48090 into the framework.
**DO NOT SUBMIT until https://github.com/flutter/flutter/pull/138648 and https://github.com/flutter/engine/pull/48090 are ready.**
2023-11-27 17:41:22 +00:00
Jasper van Riet
ec639f359c
Write tests for API examples of BottomNavigationBar and IconButton ( #138188 )
...
This PR writes tests for a few of the API examples (not all), as requested in #130459 . For the test names, I used the existing tests in the `api` folder as guide.
2023-11-27 17:26:37 +00:00
engine-flutter-autoroll
9a930dd6f9
Roll Flutter Engine from 9b610ecda771 to cc57ace8e2e7 (2 revisions) ( #139072 )
...
9b610ecda7...cc57ace8e2
2023-11-27 skia-flutter-autoroll@skia.org Roll Skia from 5f0832787d0f to b0d81aba3f78 (1 revision) (flutter/engine#48401 )
2023-11-27 skia-flutter-autoroll@skia.org Roll Skia from 9fa62ccefe59 to 5f0832787d0f (1 revision) (flutter/engine#48400 )
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Please CC jacksongardner@google.com ,rmistry@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
2023-11-27 17:16:08 +00:00
stuartmorgan
d628a6ff97
Give an actionable error message when a Pod requires a higher minimum OS version ( #138097 )
...
Checks `pod install` output for the case where a pod requires a higher minimum OS deployment target version than the app is set to use, and attempts to turn it into a more actionable error message. This isn't foolproof since we are parsing the Ruby rather than actually executing it, but I would expect that the vast majority of cases would end up in the most useful version (and even those that don't are still much clearer with this as the final error message text than without it).
Fixes https://github.com/flutter/flutter/issues/113762
2023-11-27 16:22:54 +00:00
Reid Baker
311193d3f1
Edge case on flutter/flutter/issues/135402 with test ( #138814 )
...
fixes flutter/flutter/issues/135402
Edge case that was reported by a user along with a test case specifically covering their output.
2023-11-27 16:14:58 +00:00
engine-flutter-autoroll
2328995804
Roll Packages from 97f0a4049d0b to e774e8887ce2 (4 revisions) ( #139066 )
...
97f0a4049d...e774e8887c
2023-11-27 49699333+dependabot[bot]@users.noreply.github.com Bump github/codeql-action from 2.22.5 to 2.22.8 (flutter/packages#5472 )
2023-11-27 engine-flutter-autoroll@skia.org Roll Flutter from cf05f3c464 to b5f163a6f2 (3 revisions) (flutter/packages#5477 )
2023-11-27 43054281+camsim99@users.noreply.github.com [camerax] Adds proxy class for testing detached/mock objects and method calls (flutter/packages#5423 )
2023-11-24 engine-flutter-autoroll@skia.org Roll Flutter from 106667eb4b to cf05f3c464 (10 revisions) (flutter/packages#5474 )
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 ,rmistry@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
2023-11-27 15:39:54 +00:00