Commit graph

4584 commits

Author SHA1 Message Date
Greg Spencer 8c271e5cb8
Implement Material MenuBar and MenuAnchor (#112239)
This implements a MenuBar widget that can render a Material menu bar, and a MenuAnchor widget used to create a cascading menu in a region. The menus are drawn in the overlay, while the menu bar itself is in the regular widget tree. Keyboard traversal works between the two.

This implementation of the MenuBar uses MenuAnchor to create a cascading menu that contains widgets representing the menu items. These menu items can be any kind of widget, but are typically SubmenuButtons that host submenus, or MenuItemButtons that have shortcut hints (but don't actually activate the shortcuts) and don't host submenus.

Cascading menus can be created outside of a MenuBar by using a MenuAnchor. They can be either given a specific location to appear (a coordinate), or they can be located by the MenuAnchor region that wraps the control that opens them.

The developer may also create a MenuController to pass to the various menu primitives (MenuBar or MenuAnchor) to associate menus so that they can be traversed together and closed together. Creating a controller is not required.
2022-09-28 14:10:18 -07:00
Jesús S Guerrero 45584b2528
Web subsharding (#112505) 2022-09-28 19:23:35 +00:00
Jenn Magder 86e510137b
Update pod repo to pull the latest Flutter pods in plugin_lint_mac (#112237) 2022-09-28 18:14:52 +00:00
Jenn Magder 94b740ad6d
Roll gallery for devicelab tests (#112509) 2022-09-28 18:13:24 +00:00
Jenn Magder 1bdba68d16
Force benchmark app to portrait (#112502) 2022-09-27 23:51:17 +00:00
Harry Terkelsen 366766a3cf
Remove ali.png which doesn't exist (#112506) 2022-09-27 16:14:55 -07:00
Andrew Kolos cb5b5c3459
Tighten asset variant detection criteria to only include device-pixel-ratio variants (#110721) 2022-09-27 20:57:33 +00:00
Casey Hillers bd5c347193
Revert "Add support for Material 3 Divider and VerticalDivider" (#112471) 2022-09-27 15:15:59 +00:00
Camille Simon f57c2fe8ff
Bump kotlin version in multiple_flutters benchmark test (#111521) 2022-09-27 13:27:27 +00:00
Flutter GitHub Bot 2adee31ce8
Roll pub packages (#112408) 2022-09-26 21:21:58 +00:00
Taha Tesser 1d5f455c4c
Add support for Material 3 Divider and VerticalDivider (#112378) 2022-09-26 20:36:09 +00:00
Alex Wallen b22388ee68
Add a flutter app that can resize itself as integration test app. (#112297) 2022-09-26 17:45:19 +00:00
Darren Austin 07665fba77
Added tokens for the divider widget. (#112323) 2022-09-24 07:13:24 +00:00
godofredoc 8fbd87065a
Add a script to post-process docs. (#112228) 2022-09-23 18:19:19 +00:00
Qun Cheng e167162830
Updated ProgressIndicator to M3 (#112139) 2022-09-23 11:13:40 -07:00
Jason Simmons b31f41bd1a
Unlock the device before running a StartupTest benchmark (#112243) 2022-09-23 14:38:09 +00:00
Casey Hillers 4aa27d844e
Revert "Migrate package/flutter to JS static interop. (#111315)" (#112247) 2022-09-23 04:00:22 +00:00
Flutter GitHub Bot a24b50ba8f
Roll pub packages (#112225) 2022-09-22 21:18:22 +00:00
Flutter GitHub Bot f16fe11ecf
Roll pub packages (#112021) 2022-09-22 20:23:42 +00:00
Greg Spencer 1f0760a1cc
Fix API docs CSS files so dark mode works (#112023) 2022-09-21 18:33:08 +00:00
gaaclarke 5a7b0bdf13
macos isolate platform channels (#110882) 2022-09-21 09:30:06 -07:00
Xilai Zhang 30efcf406b
[flutter_conductor] Conductor should stop mirroring beta releases to dev (#100716) 2022-09-21 16:19:20 +00:00
Flutter GitHub Bot d5946021e5
Roll pub packages (#112004) 2022-09-20 22:07:57 +00:00
Jenn Magder 60c6cbf0ca
Remove Apple Silicon workarounds from plugin lint test (#111432) 2022-09-20 21:12:39 +00:00
Qun Cheng 06b87fba64
Update Radio button to material 3 (#111774) 2022-09-20 14:09:20 -07:00
Greg Spencer ce7789e030
Some miscellaneous changes found while making another PR (#111620) 2022-09-20 21:03:02 +00:00
Darren Austin ba489607a1
Fixed an issue with FilterChip's changing size when selected due to border size. (#111916) 2022-09-19 15:29:24 -07:00
Qun Cheng 2ba20e5ab6
Update token v0.127 to v0.132 (#111913) 2022-09-19 14:38:23 -07:00
Darren Austin df110ef020
Provide Material 3 defaults for vanilla Chip widget. (#111597) 2022-09-19 19:23:55 +00:00
joshualitt 6906493a94
Migrate package/flutter to JS static interop. (#111315) 2022-09-19 10:28:37 -07:00
gaaclarke a7166e7a4e
Reland isolate platform channels with conditional compilation (#111712) 2022-09-19 16:52:33 +00:00
dependabot[bot] cb8c72545c
Bump ubuntu from e4771b7 to eb1392b in /dev/ci/docker_linux (#110534) 2022-09-19 16:19:11 +00:00
Viren Khatri e2ab3e581e
fixed inconsistent file names for *_chip.dart files and added a test (#111364) 2022-09-17 03:17:06 +00:00
Dan Field d905fbab0d
Rev dartdoc to 6.1.1 (#111767) 2022-09-16 20:35:49 +00:00
Jenn Magder 7714a8d034
Do not codesign transitive dependency iOS pod resource bundles (#111714) 2022-09-16 18:02:12 +00:00
Taha Tesser e8e979772a
Reland "Update MaterialBanner to support Material 3" (#111299) 2022-09-16 17:24:07 +00:00
jensjoha b7b8b759bc
Add flutter startup benchmark (#111658)
Add flutter startup benchmark for Linux, Windows and MacOs.

Via guide on https://github.com/flutter/flutter/pull/111461#issuecomment-1247113905
2022-09-16 08:41:30 +02:00
gaaclarke 12506ed978
Revert isolate platform channels because of google integration tooling (#111702)
* Revert "turned on background isolate platform channel tests for android (#111279)"

This reverts commit 71b47975a9.

* Revert "Reland: Started handling messages from background isolates. (#111320)"

This reverts commit 1ad2757042.
2022-09-15 16:46:08 -07:00
Flutter GitHub Bot d26365504c
Roll pub packages (#111679) 2022-09-15 19:51:47 +00:00
Flutter GitHub Bot 07f42bd2ac
Roll pub packages (#111635) 2022-09-15 17:58:16 +00:00
Alex Wallen 96b49aae31
[macOS] Add flutter_view example. (#111326) 2022-09-14 23:44:14 +00:00
Gary Qian a8a6fe2fb1
Reland "Add initial compile tests #109177" (#111562) 2022-09-14 19:35:16 +00:00
Qun Cheng 23d1b15345
Updated tokens to v0.127 (#111495) 2022-09-14 11:34:40 -07:00
Alexandre Ardhuin 4f9b19e25a
fix for upcoming use_build_context_synchronously changes (#111539) 2022-09-14 18:14:47 +00:00
Jenn Magder 489094ad98
Quiet iOS native test result zipping (#111434) 2022-09-13 23:08:41 +00:00
gaaclarke 71b47975a9
turned on background isolate platform channel tests for android (#111279) 2022-09-13 10:00:07 -07:00
chunhtai ca75e66b75
Reland "Migrate android_semantics_testing to null safety (#111420)" (#111487) 2022-09-13 16:59:29 +00:00
Zachary Anderson e99341920e
Revert "Migrate android_semantics_testing to null safety (#111420)" (#111429)
This reverts commit 0df0e2ea1f.
2022-09-12 18:11:07 -07:00
Flutter GitHub Bot 9ba35816ca
Roll pub packages (#111423) 2022-09-12 23:03:50 +00:00
chunhtai 0df0e2ea1f
Migrate android_semantics_testing to null safety (#111420) 2022-09-12 23:01:18 +00:00
Jonah Williams cd83477457
[framework] work around to load self packages from packages/ (#111350) 2022-09-12 18:30:00 +00:00
gaaclarke 1ad2757042
Reland: Started handling messages from background isolates. (#111320) 2022-09-12 17:44:48 +00:00
Christopher Fujino 2e299e1934
[flutter_tools] Pin url_launcher_android and update packages (#111309) 2022-09-09 23:57:03 +00:00
gaaclarke c33115943f
Revert "Started handling messages from background isolates." (#111318) 2022-09-09 23:25:17 +00:00
Loïc Sharma 22f3b4edf5
[Windows] Use dark title bar on dark system theme (#111042) 2022-09-09 22:23:59 +00:00
gaaclarke 0d19d46b44
Started handling messages from background isolates. (#109005)
Started handling messages from background isolates.
2022-09-09 15:14:21 -07:00
Qun Cheng 75fac6ae4d
Migrated Switch to Material 3 (#110095) 2022-09-09 11:53:48 -07:00
Casey Hillers e3f8ee8806
Revert "Update MaterialBanner to support Material 3" (#111288) 2022-09-09 18:44:56 +00:00
gaaclarke d2434a2b60
Added platform channel integration tests for macos (#110606) 2022-09-08 22:39:07 +00:00
Qun Cheng 98eac3f198
Migrated Checkbox to Material 3 - Added Error State (#111153) 2022-09-08 14:42:29 -07:00
Camille Simon 70f6bed9ee
Fix spell_check_test (#110814) 2022-09-08 21:24:12 +00:00
Alex Wallen 652ff7a5e6
[macOS] Add platform_view_macos__start_up tests devicelab test suite. (#111041) 2022-09-08 19:35:20 +00:00
Kate Lovett 5f2d730f1f
Revert Ballistic & Clamping simulation updates (#111201) 2022-09-08 17:43:54 +00:00
Alex Wallen eac2329ebf
Re-land [macOS] Bring up "flutter_gallery" devicelab, start up test for x86. (#110379) 2022-09-08 16:49:17 +00:00
Flutter GitHub Bot fc444aedab
Roll pub packages (#110944) 2022-09-08 16:01:41 +00:00
Sigurd Meldgaard d80e994a62
Reland: Show output from pub get in flutter pub get (#110851) 2022-09-08 15:13:23 +02:00
Kevin Chisholm 02c8fb35f1
Add prompt to publish on discord (#111154) 2022-09-08 02:21:21 +00:00
Alex Wallen 9a4e4bd3d9
Delete flutter_gallery_mac__start_up. (#111147) 2022-09-08 00:00:00 +00:00
hellohuanlin 8e2333dcc7
[platform_view]use cmd to uninstall the app (#111139) 2022-09-07 22:45:26 +00:00
keyonghan ab77e43566
Migrate Linux android gallery e2e and hybrid tests to build+test (#110533) 2022-09-07 20:19:20 +00:00
Darren Austin 33ed6a3533
Fixing elevation issues with Material 3 (#110624)
* Added support for surfaceTintColor and shadowColor to the Dialog widgets.
* Updated the defaults for Material.shadowColor and Material.surfaceTint to allow turning off the features with a transparent color.
* Added support for shadowColor and surfaceTintColor for Drawer widget.
2022-09-06 16:16:45 -07:00
Dan Field eaff1562a9
Dispose Paragraph objects (#110627) 2022-09-06 20:45:55 +00:00
Ivan Dlugos 723b82e4f0
Feat: dSYM debug info for iOS & macOS builds (#101586) 2022-09-05 18:16:16 +00:00
Taha Tesser d8fdb83555
Update MaterialBanner to support Material 3 (#105957) 2022-09-05 09:00:24 +00:00
Jenn Magder c075ef058c
Revert "[Windows] Use dark title bar on dark system theme" (#110890) 2022-09-03 00:18:34 +00:00
Loïc Sharma 2fb5b2729a
[Windows] Use dark title bar on dark system theme (#110615) 2022-09-02 23:15:12 +00:00
Elliott Brooks (she/her) 57e42f0223
Manually update DWDS version to v.16.0.0 (#110822) 2022-09-02 19:17:48 +00:00
Chris Yang 1560d0cef7
[Benchmark: platform_views_layout] show and hide more PlatformViews (#110688) 2022-09-02 17:05:55 +00:00
Pierre-Louis 8853926601
Deprecate ThemeData errorColor and backgroundColor (#110162) 2022-09-02 04:02:55 +00:00
Pierre-Louis 0c2f7bc2a2
Remove errant double spaces (#110758) 2022-09-02 04:00:58 +00:00
Qun Cheng 4125a3a8f0
Fixed the leading IconButton size (#110722) 2022-09-01 19:03:13 +00:00
Qun Cheng a490a6a11d
Migrated Checkbox to Material 3 Colors (#110537) 2022-08-31 20:38:32 +00:00
Camille Simon c06e365a64
Move spell_check integration test xml declaration (#110612) 2022-08-31 20:12:55 +00:00
Jenn Magder a4530b7c12
Make module tests pass on Xcode 14 (#110556) 2022-08-30 18:51:20 +00:00
Michael Thomsen 253e3c0856
Migrate device lab runner to nulls safety (#110582) 2022-08-30 19:46:05 +02:00
Kevin Chisholm c49531f02c
[Conductor] Prefer ssh over https (#110591) 2022-08-30 17:07:13 +00:00
Loïc Sharma c60cf97c19
[Windows] Hide app until first frame is drawn (#109816) 2022-08-30 14:26:21 +00:00
hellohuanlin ee98003e24
[platform_view]add timeout for alert buttons and a few other changes to fix a test flake (#110516) 2022-08-30 00:59:58 +00:00
Jenn Magder 99372ba1e4
Revert "Add initial compile tests (#109177)" (#110550)
This reverts commit 3437fd9c03.
2022-08-29 17:46:31 -07:00
Gary Qian 3437fd9c03
Add initial compile tests (#109177) 2022-08-29 23:12:22 +00:00
Stephen (Alex) Wallen 2f3ba1a313
Readability revisions for #109891 (#110348) 2022-08-29 18:23:16 +00:00
yusuf-goog 047cb86453
Updating cirrus docker to use Ubuntu image. (#110351)
* Updating cirrus docker to use Ubuntui image.

Bug:https://github.com/flutter/flutter/issues/110295

* Update Dockerfile
2022-08-29 10:47:56 -07:00
Zachary Anderson 0e195e9d46
Revert "Show output from pub get in flutter pub get (#106300)" (#110478)
This reverts commit 3802eb627e.
2022-08-29 08:02:50 -07:00
Sigurd Meldgaard 3802eb627e
Show output from pub get in flutter pub get (#106300) 2022-08-29 07:37:19 +00:00
Jonah Williams 0c6d786e3a
Fix scroll key for bad scroll benchmark (#110440) 2022-08-28 18:41:27 +00:00
Zachary Anderson d0c8774508
Fix microbenchmarks_impeller_ios (#110392) 2022-08-27 04:21:12 +00:00
Jonah Williams e36e9ca0e2
nest list views for bad scroll (#110373) 2022-08-26 22:10:24 +00:00
Zachary Anderson 056f11060f
Add several new iOS/Impeller benchmarks (#110358) 2022-08-26 14:06:26 -07:00
Jenn Magder d65d64d194
Revert "[macOS] Bring up "flutter_gallery" devicelab, start up test for x86. (#110370)" (#110372)
This reverts commit 4770e34859.
2022-08-26 13:48:36 -07:00
Stephen (Alex) Wallen 4770e34859
[macOS] Bring up "flutter_gallery" devicelab, start up test for x86. (#110370) 2022-08-26 20:24:52 +00:00
Stephen (Alex) Wallen d420016587
[macOS] Bring up "complex_layout" devicelab, compilation test for x86. (#110360) 2022-08-26 19:27:31 +00:00
Jonah Williams f0ffc85698
Add bad scroller benchmark (#110362) 2022-08-26 18:50:07 +00:00
Stephen (Alex) Wallen 9a34a60c0c
[macOS] Bring up "flutter_gallery_macos__compile" devicelab, compilation test for x86. (#110356) 2022-08-26 17:29:39 +00:00
Stephen (Alex) Wallen 80a635e4a9
[macOS] Bring up "basic_material_app" devicelab, compile tests for x64 macs. (#110296) 2022-08-26 15:29:14 +00:00
dependabot[bot] 5c7fa38559
Bump debian from 11.3-slim to 11.4-slim in /dev/ci/docker_linux (#107865) 2022-08-26 14:59:28 +00:00
Loïc Sharma 4898f1f5c5
[Windows] Add app startup integration test (#110114)
Add a basic integration test for the Windows's app startup. In a subsequent change (https://github.com/flutter/flutter/pull/109816), this test will be updated to verify the app's window isn't visible until after the first frame has been drawn.

Part of https://github.com/flutter/flutter/issues/41980
2022-08-25 18:54:20 -07:00
Stephen (Alex) Wallen 27bfc511ba
[macOS] Bring up "complex_layout" devicelab, startup tests for x64 (#110100) 2022-08-25 23:35:00 +00:00
Greg Spencer fefb2b00ba
Re-Land "Refactor StrokeAlign to allow double values." (#108339) (#110234) 2022-08-25 20:56:24 +00:00
Yegor 6e57ed6088
[web] fix hot restart in entrypoint generated by flutter create (#110229) 2022-08-25 20:30:00 +00:00
Christopher Fujino db51e5d944
[flutter_tools] unpin path_provider_android and roll (#110216) 2022-08-25 19:42:21 +00:00
Darren Austin 5454bab6c1
Added support for M3 filled and filled tonal buttons. (#107382) 2022-08-25 11:36:03 -07:00
hellohuanlin 5217f89dcf
[platform_view]delete previously installed app if needed (#110201) 2022-08-25 03:27:42 +00:00
Stephen (Alex) Wallen d71a8a7093
[macOS] Bring up "hello_world" devicelab, compilation test for x86. (#109891) 2022-08-24 18:04:42 +00:00
Pierre-Louis ac905b29a4
Add option to specify class name (#109865) 2022-08-24 18:53:27 +02:00
Qun Cheng c0c3874c77
Revert "Reland: Set IconButton.visualDensity default to VisualDensity.standard (#109432)" (#110119)
This reverts commit 79013b2be8.
2022-08-23 15:41:03 -07:00
keyonghan 8027842393
Copy artifacts to applicationBinaryPath when specified for build+test separation (#109879) 2022-08-23 16:32:39 +00:00
hellohuanlin 111a7d016c
[platform_view]retry launch if it fails to launch for xcuitest (#110030) 2022-08-23 01:14:44 +00:00
Zachary Anderson d79a3d7a19
Remove most benchmarks of SkSL warmup (#110040) 2022-08-22 22:31:54 +00:00
Kate Lovett 7e12b37111
Deprecate 2018 text theme parameters (#109817) 2022-08-22 20:00:34 +00:00
Greg Spencer 957a8da4a2
Revert "Re-Land "Refactor StrokeAlign to allow double values." (#109805)" (#109955)
This reverts commit b3aba4d9c8 because it breaks Google tests.
2022-08-21 20:18:09 +02:00
Michael Goderbauer ba8bc53825
Add some logs to catch flake (#109887) 2022-08-19 23:30:19 +00:00
hellohuanlin 74f5a1fe2c
[platform_view]fix typo in xcuitest (#109884) 2022-08-19 23:28:36 +00:00
Greg Spencer b3aba4d9c8
Re-Land "Refactor StrokeAlign to allow double values." (#109591) (#109805) 2022-08-19 19:36:11 +00:00
Kate Lovett b6f7289b18
Update Ballistic animation & ClampingScrollSimulation (#107735) 2022-08-19 17:24:03 +00:00
Qun Cheng 79013b2be8
Reland: Set IconButton.visualDensity default to VisualDensity.standard (#109432)
* Revert "Revert "Set `IconButton.visualDensity` default to `VisualDensity.standard` (#109349)" (#109421)"

Co-authored-by: Qun Cheng <quncheng@google.com>
2022-08-18 09:46:13 -07:00
hellohuanlin 04f4dd8e54
[platform_view]terminate the app in tear down for platform view xcuitest (#109720) 2022-08-18 02:53:55 +00:00
Alexander Aprelev bfdc9a6cfa
Introduce stubbed exclusive parameter to File.create-overridden method (#109646)
* Introduce stubbed `exclusive` parameter to `File.create`-overridden method.

This is to soften landing of a breaking change https://github.com/dart-lang/sdk/issues/49647
2022-08-17 13:26:08 -07:00
Bernardo Ferrari 01f3fca3f5
Improve ShapeDecoration performance. (#108648) 2022-08-17 19:25:06 +00:00
Camille Simon 7db25c36ad
Re-land Add Spell Check to EditableText (#109643) 2022-08-17 16:16:02 +00:00
yaakovschectman 4e068a613e
Bring up new Windows start-up tests (#109618)
* Add Windows startup test

* Add new tests for Windows desktop

* Bring up complex layout tests for Win Desktop

* Bring up flutter_view startup test for Windows

* Add Platform View startup test for Windows

* Fix typo in .ci.yaml

* Make basename variable final

* Link to bug in .ci.yaml
2022-08-17 09:38:41 -04:00
Jonah Williams 0ba88d8b43
Revert "Add Spellcheck to EditableText (Android) (#109334)" (#109631)
This reverts commit ff9fe35682.
2022-08-16 14:30:03 -07:00
Camille Simon ff9fe35682
Add Spellcheck to EditableText (Android) (#109334) 2022-08-16 18:22:45 +00:00
Casey Hillers 370fc483e3
Revert "Refactor StrokeAlign to allow double values." (#109591) 2022-08-16 06:56:07 +00:00
yaakovschectman bba2ac83b1
Add Compilation DeviceLab test for Windows (#109540)
* Add Windows compilation test (hello_world_windows__compile)

* Add devicelab target to .ci.yaml

* Bringup on new target

* Add license to generated files

* Indicate test ownership

* Delete asset from repo

* Add Windows compilation test (hello_world_windows__compile)

* Add devicelab target to .ci.yaml

* Bringup on new target

* Add license to generated files

* Indicate test ownership

* Delete icon

* Use path.basename

Re triggering tests

* Update test owner to desktop team
2022-08-15 16:26:02 -04:00
Bernardo Ferrari dd8573b871
Refactor StrokeAlign to allow double values. (#108339) 2022-08-15 20:23:20 +00:00
Ian Hickson 97901da149
Cleaner test.dart output. (#109206) 2022-08-14 08:53:54 +00:00
Christopher Fujino b79c216845
[flutter_tools] Pin path_provider_android (#109429) 2022-08-12 01:18:41 +00:00
Christopher Fujino 675f67d611
Revert "Roll pub packages (#109408)" (#109424)
This reverts commit da036da69f.
2022-08-11 16:29:05 -07:00
Qun Cheng 625d96a1c6
Revert "Set IconButton.visualDensity default to VisualDensity.standard (#109349)" (#109421)
This reverts commit 3070baf175.
2022-08-11 15:29:19 -07:00
Flutter GitHub Bot da036da69f
Roll pub packages (#109408) 2022-08-11 20:53:11 +00:00
Peter Eliasson 41f13d2087
Free library even if proc lookup fails (#108312) 2022-08-11 20:45:03 +00:00
Jim Graham fe70a2b0f7
add page delays to the fullscreen versions of the textfield perf benchmarks (#107746) 2022-08-11 19:11:06 +00:00
Qun Cheng 3070baf175
Set IconButton.visualDensity default to VisualDensity.standard (#109349)
* Set IconButton's visualDensity to standard

Co-authored-by: Qun Cheng <quncheng@google.com>
2022-08-11 10:59:51 -07:00
Ian Hickson de938e508c
Fix HTML in skeletons (ampersands must be escaped) (#109360) 2022-08-11 15:39:17 +00:00
Ian Hickson 9b2668a451
Minor fix compendium (#107874) 2022-08-11 02:33:07 +00:00
Greg Spencer e3b42e5e2f
Revert "Roll pub packages (#109348)" (#109363)
Committing to green the build.
2022-08-10 19:15:18 -07:00
Ian Hickson a1af1bb92f
Actually run customer_testing shard on Windows (#109336) 2022-08-10 23:25:23 +00:00
Flutter GitHub Bot 5a06e2bd5f
Roll pub packages (#109348) 2022-08-10 22:40:38 +00:00
Ian Hickson 7ded3d91da
API documentation cleanup (#108500) 2022-08-10 22:03:20 +00:00
Kevin Chisholm 21d3c3f255
replace engine and framework mirror args with github username arg (#109239) 2022-08-10 21:03:32 +00:00