gaaclarke
35b18ba2e9
Made flag for debugging build time of user created widgets ( #100926 )
...
* Added a bool that allows us to limit debugProfileBuildsEnabled to user
created widgets.
* made it turned on by default
* switched to hashmap
* Cleaned everything up and added tests
* fixed an odd test where it wants to be able to add asserts and run in profile mode
* hixie feedback
* hixie2
* made it default to false
* updated docstring as per dans request
2022-04-05 10:54:21 -07:00
Greg Spencer
2d9ad26086
Implements a PlatformMenuBar widget and associated data structures ( #100274 )
...
Implements a PlatformMenuBar widget and associated data structures for defining menu bars that use native APIs for rendering.
This PR includes:
A PlatformMenuBar class, which is a widget that menu bar data can be attached to for sending to the platform.
A PlatformMenuDelegate base, which is the type taken by a new WidgetsBinding.platformMenuDelegate.
An implementation of the above in DefaultPlatformMenuDelegate that talks to the built-in "flutter/menu" channel to talk to the built-in platform implementation. The delegate is so that a plugin could override with its own delegate and provide other platforms with native menu support using the same widgets to define the menus.
This is the framework part of the implementation. The engine part will be in flutter/engine#32080 (and flutter/engine#32358 )
2022-04-04 15:03:10 -07:00
chunhtai
26398e6821
Fix crashes when current route parsing transactions are discarded ( #100657 )
...
* Fix crashes when current route parsing transactions are discarded
* refactor
* update
2022-04-04 12:39:04 -07:00
chunhtai
8f2aaa99ab
Reland "Allow unknown device kind to scroll scrollables ( #100800 )" ( #101301 )
...
This reverts commit baa45a1718e732d0df317766f879f3e7d1b8de2a.
2022-04-04 10:52:06 -07:00
Taha Tesser
0b216f7a28
Refactor ToggleButtons (remove RawMaterialButton) ( #99493 )
2022-03-31 14:25:10 -07:00
Taha Tesser
f263806c26
Fix Local DataTableTheme not being inherited by DataTable Widget ( #101112 )
2022-03-31 12:25:10 -07:00
chunhtai
baa45a1718
Revert "Allow unknown device kind to scroll scrollables ( #100800 )" ( #101129 )
...
This reverts commit 000f4d1590322cc229072a6e9616051cab074286.
2022-03-31 10:45:41 -07:00
Darren Austin
a8e6fd5ba7
Material 3 common buttons should use sparkle splash effect on Android. ( #101075 )
2022-03-30 20:20:13 -07:00
Michael Goderbauer
3e406c6781
Prepare packages (minus tools,framework) for use_super_parameters ( #100510 )
2022-03-30 15:31:59 -07:00
Michael Goderbauer
0ff8030df4
Fix constructor doc for ScrollView.primary ( #100935 )
2022-03-30 10:21:31 -07:00
Taha Tesser
2642a5432f
Fix LicensePage too much spacing padding when applicationVersion and applicationLegalese are empty ( #101030 )
2022-03-30 07:55:12 -07:00
Taha Tesser
02b2c2cde6
Fix IconTheme is not inherited when Icon is provided to ListTile.title and ListTile.subtitle ( #100757 )
2022-03-30 02:50:12 -07:00
Pierre-Louis
3a4bf257bc
[Fonts] Update icons ( #100885 )
...
* update icons
* add test
2022-03-30 07:40:51 +02:00
Greg Spencer
255f967ca2
Add isActivatedBy to ShortcutActivator ( #100167 )
2022-03-29 20:30:13 -07:00
Emmanuel Garcia
032205eaca
Reland: "Use texture layer when displaying an Android view" ( #100990 )
2022-03-29 19:40:17 -07:00
chunhtai
000f4d1590
Allow unknown device kind to scroll scrollables ( #100800 )
2022-03-29 13:05:09 -07:00
Zachary Anderson
37d619d228
Revert "Reland: "Use texture layer when displaying an Android view" ( #100934 )" ( #100950 )
...
This reverts commit 61c30eed4f19009aa3caf8eede877c40c105b1b9.
2022-03-29 08:27:55 -07:00
Emmanuel Garcia
61c30eed4f
Reland: "Use texture layer when displaying an Android view" ( #100934 )
2022-03-28 21:25:06 -07:00
gaaclarke
912873baa7
Relands "Starts using the --source flag to compile the dart registrant. ( #98046 )" ( #100572 )
2022-03-28 18:15:10 -07:00
Daniel Agbemava
4ece077249
Update performanceOverlay links ( #100894 )
2022-03-28 13:50:08 -07:00
Andrei Diaconu
2b974aed17
Make popup menus avoid display features ( #98981 )
2022-03-28 13:45:06 -07:00
Taha Tesser
e4bd5d5562
CupertinoSegmentedControl/CupertinoSlidingSegmentedControl: Add clickable cursor for web (#99551 )
2022-03-28 01:40:11 -07:00
Taha Tesser
d2cb63c8fa
CupertinoActionSheet/CupertinoAlertDialog: Add clickable cursor for web (#99548 )
2022-03-28 01:15:08 -07:00
Alex Li
543a7e8588
✨ Android Q transition by default ( #100812 )
2022-03-25 22:25:07 -07:00
Michael Goderbauer
7eeafb1287
Consider backgroundBlendMode in equality of BoxDecoration ( #100788 )
2022-03-25 16:50:15 -07:00
Christopher Fujino
ef8e3578c1
[flutter_tools] update pub packages ( #100726 )
2022-03-25 16:45:09 -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
LongCatIsLooong
a63ee24b17
Reland "Avoid calling performLayout when only the relayout boundary is different" ( #100581 )
2022-03-25 16:20:14 -07:00
Taha Tesser
4526519225
Tooltip: Add an example for TooltipTriggerMode.manual and add tests for existing Tooltip examples (#100554 )
2022-03-25 15:51:06 -07:00
Zachary Anderson
bfa272ac3e
Revert " ✨ Android Q transition by default ( #98559 )" ( #100799 )
...
This reverts commit c82ddd39e54fed2401e8b89dd82960d6ac9717d3.
2022-03-25 14:54:21 -07:00
Alex Li
c82ddd39e5
✨ Android Q transition by default ( #98559 )
2022-03-25 14:03:21 -07:00
Tyler Holland
7208065019
Allow Drawer width to be customized ( #99777 )
...
* Add ability to customize Drawer width
* Fix formatting
* More formatting
* Formatting again
* Add width to DrawerThemeData and add associated tests
* Fix test formatting
2022-03-25 21:19:20 +01:00
chunhtai
a3b7feb897
Editable text sends enableInteractiveSelection to text input client ( #100649 )
...
* Editable text sends enableInteractiveSelection to text input client
* addressing comments
2022-03-25 13:13:56 -07:00
Justin McCandless
ef11bff4e0
Check for mount after cut postframecallback ( #100776 )
...
Fixes a crash that can happen when removing an input field immediately after cut.
2022-03-25 10:49:07 -07:00
chunhtai
568eef343e
Revert "Dismiss Modal Barrier on handleTapCancel ( #98191 )" ( #100784 )
...
This reverts commit 58ad6e1befb771369c697570ada026a806db5ada.
2022-03-25 10:43:10 -07:00
xubaolin
31191dd29a
Fixes some widgets(ListView.builder, GridView.builder etc.) state-lose issue ( #100547 )
...
* ++
* ++
* ++
* ++
* codereview feedback
* ++
2022-03-25 09:27:08 +08:00
fzyzcjy
7c804f6909
Fix typo (again) ( #100684 )
2022-03-24 13:46:37 -07:00
chunhtai
93fc7f59a5
fix hidden TextSpan with recognizer does not auto scroll ( #100494 )
2022-03-24 13:39:55 -07:00
Emmanuel Garcia
19680c34cc
Revert "Reland: "Always use texture layer when displaying an Android view" ( #100237 )" ( #100660 )
...
This reverts commit d92fedcccb645ba155e93c5b72052692f10196b1.
2022-03-24 00:28:13 -07:00
Taha Tesser
321ffa2ead
Move ListTileTheme and its tests into separate classes and add visualDensity to the ListTileTheme ( #100622 )
2022-03-23 13:29:30 -07:00
CHAHBOUN Mohammed
ba53b55949
Add child for placeholder widget ( #100372 )
2022-03-23 13:20:23 -07:00
Darren Austin
0a7b3d72c9
Updated tokens to v0.92. ( #100599 )
2022-03-23 12:10:17 -07:00
jellynoone
3420b9c50e
Fix compute in unsound null safety debug mode ( #100544 )
2022-03-23 11:30:07 -07:00
Justin McCandless
1f3ed602a1
Fix crash after paste and unmount ( #100589 )
2022-03-23 10:15:09 -07:00
WenJingRui
dbbaf68ee4
Fix: fix the delay of showOnScreen animation when keyboard comes up. ( #99546 )
2022-03-23 02:10:09 -07:00
xubaolin
f1d8e30c4b
Add HitTestBehavior property to MouseRegion ( #100405 )
2022-03-22 23:55:11 -07:00
xubaolin
16dda86539
Fix a ModalbottomSheet bug ( #99970 )
2022-03-22 15:55:13 -07:00
Jonah Williams
32c021bd33
[framework] use Uint8List for SMC ( #100582 )
2022-03-22 15:00:13 -07:00
Darren Austin
86c02e998b
Migrate Card widget to Material 3. ( #100532 )
2022-03-22 13:46:56 -07:00
LongCatIsLooong
dc331d393b
[RenderAnimatedSize] Resume interrupted resizing animation on attach ( #100519 )
2022-03-22 13:15:12 -07:00