Jim Graham
0eb2d51ec9
Use the new pushImageFilter offset parameter to fix the transform of the children ( #113673 ) ( #115884 )
2022-11-23 07:42:34 +00:00
Jonah Williams
9bb07b5f70
Revert "Use the new pushImageFilter offset parameter to fix the transform of the children ( #113673 )" ( #115861 )
...
This reverts commit 91aeda7bf6f977207d7ac07ca46c26560007a244.
2022-11-22 13:29:56 -08:00
Jim Graham
91aeda7bf6
Use the new pushImageFilter offset parameter to fix the transform of the children ( #113673 )
2022-11-22 17:24:44 +00:00
fzyzcjy
c23b5ca7db
Fix addToScene documentation ( #113987 )
2022-11-01 22:18:52 +00:00
fzyzcjy
fb9065fe00
Layer ... was previously used as oldLayer assertion error in debug mode, and page being blank in release mode, caused by LeaderLayer addToScene bug (#113998 )
2022-11-01 22:17:08 +00:00
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
Polina Cherkasova
0a35cf95eb
Instrument State, Layer, RenderObject and Element. ( #111328 )
2022-09-20 16:39:46 -07:00
Jonah Williams
44d3181deb
[framework] remove restriction on texture layer rasterization ( #109900 )
2022-08-20 03:06:23 +00:00
Jonah Williams
9ae37030ae
Use toPictureSync for faster zoom page transition ( #106621 )
2022-07-22 15:58:04 +00:00
Pierre-Louis
e71eb183d8
Use curly_braces_in_flow_control_structures for rendering ( #104611 )
...
* Use `curly_braces_in_flow_control_structures` for `rendering`
* fix comments
* fix dangling
2022-05-25 19:57:57 +02:00
Dan Field
1c852cedaa
Do not assert callbacks contains key if disposed ( #104292 )
2022-05-20 14:51:14 -07:00
Dan Field
d54cdf9e18
Add a mechanism to observe layer tree composition. ( #103378 )
2022-05-17 11:22:11 -07:00
Michael Goderbauer
8bec125aaf
Avoid analyzing API example code twice, clean-up ( #103548 )
2022-05-11 21:27:45 -07:00
Jonah Williams
fba9214d11
[framework] remove usage and deprecate physical model layer ( #102274 )
2022-04-26 16:14:04 -07:00
Michael Goderbauer
51bcdb9407
super parameters for framework ( #100905 )
2022-04-13 22:38:40 -07:00
wangying
38542d284c
Add some debug properties to BackdropFilterLayer ( #101101 )
2022-04-11 09:59:08 -07:00
fzyzcjy
8037677dd6
Fix FollowerLayer (CompositedTransformFollower) has null pointer error when using with some kinds of Layers ( #100672 )
2022-03-25 16:25:13 -07:00
fzyzcjy
36fa6c4d90
Fix wrong documentation: There is no LeaderLayer._lastOffset anymore ( #100300 )
2022-03-18 16:55:12 -07:00
Ian Hickson
ab89ce285f
Clean up the bindings APIs. ( #89451 )
2022-02-03 14:55:15 -08:00
chunhtai
28ca7bd789
Allow current leader of layerlink to detach before the previous leade… ( #96810 )
2022-01-24 11:50:11 -08:00
Michael Goderbauer
d290763941
enable more retained rendering opportunities for LeaderLayer ( #96486 )
2022-01-11 18:20:14 -08:00
chunhtai
e17a1858e5
LayerLink can temporary allow multiple leaders ( #95977 )
2022-01-07 17:50:10 -08:00
Michael Goderbauer
065c0feaaf
Do not crash on LeaderLayer.applyTransform after retained rendering ( #96144 )
2022-01-07 16:25:20 -08:00
Dan Field
fa8e3e6877
Reland "Ensure the engineLayer is disposed when an OpacityLayer is disabled"" ( #96295 )
2022-01-07 10:55:05 -08:00
Dan Field
ab0a335973
Ban sync*/async* from user facing code ( #95050 )
2021-12-12 13:05:03 -08:00
Ren You
a607a60b4a
Revert "Ensure the engineLayer is disposed when an OpacityLayer is disabled ( #94280 )" ( #94743 )
...
This reverts commit c567f8439bcc7728fad5480848b2e2b2ff429df2.
2021-12-06 12:05:50 -08:00
Jason C.H
c567f8439b
Ensure the engineLayer is disposed when an OpacityLayer is disabled ( #94280 )
2021-12-03 16:34:02 -08:00
Michael Goderbauer
ca788d8941
Leader not always dirty ( #92598 )
2021-10-28 10:35:03 -07:00
Michael Goderbauer
210a905f21
Remove unused offset from Layer.addToScene/addChildrenToScene ( #91753 )
2021-10-14 12:48:06 -07:00
Dan Field
528f77dc99
Opacity fix ( #90017 )
...
* Make sure Opacity widgets/layers do not drop the offset
2021-09-13 19:10:15 -07:00
Dan Field
9db9256b38
Revert "Make sure Opacity widgets/layers do not drop the offset ( #89264 )" ( #89999 )
...
This reverts commit 0d0f7a4fb065da5de8640f1d6757cd5b9bc5534b.
2021-09-13 13:15:19 -07:00
Dan Field
0d0f7a4fb0
Make sure Opacity widgets/layers do not drop the offset ( #89264 )
2021-09-12 21:17:23 -07:00
Anis Alibegić
a753d09cc9
Fixed several typos ( #89485 )
2021-09-07 14:56:04 -07:00
arfy slowy
202fc02ca1
fix: typo spelling grammar ( #88439 )
2021-09-03 15:09:31 -07:00
Jonah Williams
7f26dbe0d4
[flutter] remove elevation checker ( #86837 )
2021-07-21 21:51:06 -07:00
Dan Field
48ac40904a
Doc typo in layer.dart ( #86033 )
2021-07-08 23:48:14 -07:00
Dan Field
4d9a3753a4
Assert disposed layers are not reused ( #85798 )
2021-07-07 14:26:04 -07:00
Ahmed Ashour
a3dc90c4f5
Add space before curly parentheses. ( #85306 )
2021-07-01 13:51:05 -07:00
Dan Field
025397ae3f
Release retained resources from layers/dispose pictures ( #84740 )
2021-06-25 12:01:03 -07:00
Alexandre Ardhuin
323ffe1233
fix indentation issues ( #84374 )
2021-06-12 00:34:02 -07:00
Jim Graham
6738462744
Add BackdropFilter blend mode ( #80129 )
2021-04-26 18:04:02 -07:00
Alexandre Ardhuin
f82046b150
add trailing comma when argList is splitted ( #79650 )
2021-04-03 07:09:02 -07:00
Alexandre Ardhuin
41507a0408
add missing trailing commas ( #79352 )
2021-03-30 17:04:02 -07:00
nt4f04uNd
9b6d267ea3
adding freeze parameter to Texture and TextureBox ( #75738 )
2021-02-22 10:21:03 -08:00
Kate Lovett
97481e125a
Remove deprecated Layer.findAll ( #73749 )
2021-01-20 15:44:02 -08:00
Greg Spencer
bbc0161669
Remove references to Window, and switch usages to PlatformDispatcher or SingletonFlutterWindow ( #69617 )
...
* Remove references to dart:ui.Window, and point usages to PlatformDispatcher or SingletonFlutterWindow, as appropriate
* remove new test platform dispatchers
* Amend documentation
2020-11-09 15:26:29 -08:00
Greg Spencer
88809aa247
Standardize dartdoc macro names ( #69445 )
2020-11-02 13:28:05 -08:00
Michael Goderbauer
d127f2c94a
Fix nullability for some routing related stuff ( #67675 )
2020-10-08 15:56:31 -07:00
LongCatIsLooong
731374016b
Reland "Add CompositedTransformFollower.{followerAnchor, leaderAnchor} for custom anchoring ( #64930 )" ( #65871 ) ( #65884 )
2020-10-08 11:07:03 -07:00
Alexandre Ardhuin
c2e43403af
apply upcoming lint cast_nullable_to_non_nullable ( #66455 )
...
* apply upcoming lint cast_nullable_to_non_nullable
* make RenderObjectElement.renderObject non-nullable
2020-09-27 21:29:42 +02:00