9447 Commits

Author SHA1 Message Date
Bruno Leroux
05759325ba
Fix InkWell highlight and splash sometimes persists (#100880) 2022-04-14 03:49:08 -07:00
Christopher Fujino
41b73894bc
Test framework for executable files (#101853) 2022-04-13 22:44:07 -07:00
Michael Goderbauer
51bcdb9407
super parameters for framework (#100905) 2022-04-13 22:38:40 -07:00
Kate Lovett
65a826728d
Correct docs to refer to replacement render object (#101858) 2022-04-13 14:24:07 -07:00
Jonah Williams
08a23498c1
Revert changes to opacity/fade transition repaint boundary and secondary change (#101844) 2022-04-13 13:24:06 -07:00
Qun Cheng
02ae020e53
Removed extra the (#101837) 2022-04-13 12:04:08 -07:00
chunhtai
c8057bc506
Add default selection style (#100719) 2022-04-13 11:49:09 -07:00
Jonah Williams
83b99be096
Revert "[framework] use ImageFilter for zoom page transition" (#101838) 2022-04-13 10:44:11 -07:00
Jason Simmons
c62d103bb6
Always finish the timeline event logged by Element.inflateWidget (#101794) 2022-04-13 09:34:06 -07:00
gaaclarke
fd73f2730c
made ascii string encoding faster (#101777) 2022-04-12 19:54:11 -07:00
Callum Moffat
30a501801a
Support trackpad gestures in framework (#89944)
* Implement trackpad gestures in framework

* Touch and Pan/Zoom pointers have separate IDs now

* Handle trackpad pointer device type

* Respect supportedDevices for pan/zoom events

* Update after rebase

* Fix check failures

* Avoid error with very short drags

* Address feedback

* Refactor drag event handler

* Address more feedback

* Add some missing punctuation
2022-04-12 19:47:01 -07:00
gaaclarke
38f360f91a
Increased WriteBuffers starting capacity to 64 bytes. (#101790) 2022-04-12 19:14:10 -07:00
Jonah Williams
9984ebbaee
[framework] use ImageFilter for zoom page transition (#101786) 2022-04-12 17:24:09 -07:00
gaaclarke
9124287060
removed obsolete timelineArgumentsIndicatingLandmarkEvent (#101382) 2022-04-12 17:04:08 -07:00
Jonah Williams
ea19a77bff
[framework] elide ImageFilter layers when animation is stopped (#101731) 2022-04-12 13:54:10 -07:00
Jason Simmons
88246030ae
Add variable font axes to TextStyle (#100978) 2022-04-12 13:49:10 -07:00
Kate Lovett
17be6d73e6
Revert "Configurable padding around FocusNodes in Scrollables" (#101772) 2022-04-12 13:29:06 -07:00
Taha Tesser
0a178f858d
CupertinoContextMenu/ContextMenuAction: Add clickable cursor for web (#99519) 2022-04-12 10:49:06 -07:00
Jonah Williams
6def1596cd
[framework] introduce repaint boundary in Opacity widgets (#101601) 2022-04-12 10:34:11 -07:00
Daniel Agbemava
2d9e171870
Update WidgetsBindingsObserver example (#101512) 2022-04-12 10:09:08 -07:00
Taha Tesser
0f2b1a3baf
Refactor chip class and move independent chips into separate classes (#101507) 2022-04-12 07:24:11 -07:00
Kate Lovett
ff5e27f0fc
Remove deprecated FlatButton (#98545) 2022-04-11 16:22:47 -05:00
Kenzie Davisson
14cf4daeab
Add debugging flags to enhance the timeline arguments for Build, Layout, and Paint (#101602) 2022-04-11 13:56:10 -07:00
wangying
38542d284c
Add some debug properties to BackdropFilterLayer (#101101) 2022-04-11 09:59:08 -07:00
MrBirb
074ee4b2f4
Allow ClipRRect.borderRadius to support BorderRadiusDirectional (#101200) 2022-04-09 01:44:04 -07:00
Darren Austin
c14ca6d321
Migrate common buttons to Material 3 (#100794) 2022-04-08 17:03:21 -07:00
Kate Lovett
135bb5d4f2
Remove deprecated Scaffold SnackBar API (#98549) 2022-04-08 14:27:07 -07:00
Guillem Puche
1cf5c74009
Correct word in docs (#100893) 2022-04-08 13:12:16 -07:00
Michael Goderbauer
a01424773e
Enable unnecessary_import (#101600) 2022-04-08 12:56:45 -07:00
Greg Spencer
efe76a5373
Update key examples to use Focus widgets instead of RawKeyboardListener (#101537)
This updates the examples for PhysicalKeyboardKey and LogicalKeyboardKey to use Focus widgets that handle the keys instead of using RawKeyboardListener, since that usually leads people down the wrong path. Updated the See Also and added tests as well. Also exposed the `physicalKey` attribute for `tester.sendKeyEvent`.
2022-04-08 12:05:41 -07:00
Michael Goderbauer
cae740b903
Enable strict-casts (as replacement for implicit-casts) (#101567) 2022-04-08 11:15:34 -07:00
Jason Simmons
b63c4a6db0
Ensure that the engine frame callbacks are installed if the first scheduled frame is a forced frame (#101544)
See https://github.com/flutter/flutter/issues/98419
2022-04-08 08:18:48 -07:00
Emmanuel Garcia
012952ba47
Don't build surface until the platform view has been created (#101399) 2022-04-07 15:31:04 -07:00
Kate Lovett
f5be639ee0
Revert "Refactor ToggleButtons (remove RawMaterialButton) (#99493)" (#101536)
This reverts commit 0b216f7a2884c78c4cc3fcdbc220e6387ffea4fe.
2022-04-07 16:47:46 -05:00
Taha Tesser
64f7bf7e2f
Add ListTile debugFillProperties (#100765) 2022-04-07 12:25:50 -07:00
Kate Lovett
c7d2935077
Fix reverse cases for App Bar scrolled under behavior (#101460) 2022-04-07 12:01:41 -05:00
Taha Tesser
31668eef40
Fix DrawerHeader decoration not inheriting ColorScheme.primary (#101280) 2022-04-06 23:51:08 -07:00
Greg Spencer
b9a0fb23b2
Adjust some of the interface names to be consistent (#101378)
This adjusts some of the names in the PlatformMenuBar to be more consistent with the rest of the API.

Matching engine PR is flutter/engine#32433
2022-04-06 18:40:11 -07:00
Greg Spencer
db51873250
Add onDismiss to AnimatedModalBarrier, update tests (#100162)
I noticed that AnimatedModalBarrier didn't have the onDismiss callback that ModalBarrier does, and so I added that, and while I was at it, I updated the unit tests to perform all of the tests that are done on ModalBarrier also on AnimatedModalBarrier. The tests are unchanged, other than using AnimatedModalBarrier instead.
2022-04-06 18:39:14 -07:00
chunhtai
c05c9f77c0
Makes AutomaticKeepAlive.child non null (#101376) 2022-04-06 09:51:35 -07:00
Dwayne Slater
81baee4360
Configurable padding around FocusNodes in Scrollables (#96815) 2022-04-06 09:31:12 -07:00
Kate Lovett
82d4dbb6cf
Remove text selection ThemeData deprecations 3 (#100586) 2022-04-06 11:26:50 -05:00
Kate Lovett
afe6c2e78d
Remove deprecated RaisedButton (#98547) 2022-04-06 11:26:25 -05:00
Viren Khatri
94fefaa49d
Fixes FadeInImage to follow gapless playback (#94601)
* renovated and added a test

* fixes nits and tests.

* revert commits

* make FadeInImage follow gapless image playback

* refactor: never dispose _AnimatedFadeOutFadeIn

* add assert
2022-04-06 17:17:34 +05:30
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