2388 Commits

Author SHA1 Message Date
Dan Field
1662a14bc8
More missing clipBehavior respects (#103931) 2022-05-17 11:32:11 -07:00
Greg Spencer
1994027986
Add VoidCallbackAction and VoidCallbackIntent (#103518)
This adds a simple VoidCallbackAction and VoidCallbackIntent that allows configuring an intent that will invoke a void callback when the intent is sent to the action subsystem. This allows binding a shortcut directly to a void callback in a Shortcuts widget.

I also added an instance of VoidCallbackAction to the default actions so that simply binding a shortcut to a VoidCallbackIntent works anywhere in the app, and you don't need to add a VoidCallbackAction at the top of your app to make it work.
2022-05-17 11:11:41 -07:00
Jason Simmons
275fb0286c
Fix avoid_redundant_argument_values analyzer warnings enabled in the latest Dart SDK (#103734)
See https://github.com/flutter/flutter/pull/103719
2022-05-13 12:57:59 -07:00
chunhtai
533816d116
Refactor web text editing shortcuts (#103377) 2022-05-12 13:09:06 -07:00
xubaolin
d29ccad6fb
fix SliverReorderableList not work on Android platform bug (#103406) 2022-05-10 21:09:04 -07:00
Renzo Olivares
c411065b01
Fix selection not deselected when TextField loses focus (#103424) 2022-05-10 17:34:07 -07:00
xubaolin
4bed76757d
Fix a _WrappedScrollBehavior.shouldNotify bug (#103267) 2022-05-07 11:44:08 -07:00
chunhtai
7cdcfb2a88
DefaultTextEditingShortcuts should use meta-based shortcut for iOS (#103077) 2022-05-05 15:39:12 -07:00
Casey Hillers
603eb82734
Revert "Fix jumping when doing long press for selecting text" (#103141) 2022-05-05 12:39:09 -07:00
Bruno Leroux
750ad32870
Fix DraggableScrollableSheet leaks Ticker (#102916) 2022-05-05 01:29:07 -07:00
fzyzcjy
896e5b332d
(Test-only) Add tests for new ImageFilter.dilate/ImageFilter.erode in flutter engine (#101036) 2022-05-03 16:04:07 -07:00
Jonah Williams
8147bdbb5c
partial revert of repaint boundary change (#102962) 2022-05-03 14:09:07 -07:00
chunhtai
f86d108988
Adds RouterConfig to simply API (#102786) 2022-04-29 18:59:06 -07:00
Zachary Anderson
02b300d99e
Revert "delete fast reassemble code (#102842)" (#102856)
This reverts commit ec8693e80bf2c9f31c06d9832ebb4bccc5274440.
2022-04-29 16:41:37 -07:00
Jonah Williams
ec8693e80b
delete fast reassemble code (#102842) 2022-04-29 15:04:08 -07:00
LongCatIsLooong
0b3c5d1228
Defer the OverlayEntry listenable disposal until its widget is unmounted (#102794) 2022-04-29 12:49:08 -07:00
Taha Tesser
eef4aa7caa
Hero: Add an example for createRectTween (#102650) 2022-04-29 12:39:09 -07:00
chunhtai
5b71314740
Add RouteInformationParser.parseRouteInformationWithDependencies (#102414) 2022-04-28 17:04:04 -07:00
Phil Quitslund
bca071815f
rename local functions with _s (#102615) 2022-04-27 09:14:57 -07:00
Alexandre Ardhuin
07f1c20474
add missing trailing commas in list/set/map literals (#102585) 2022-04-27 09:15:35 +02:00
Jonah Williams
fba9214d11
[framework] remove usage and deprecate physical model layer (#102274) 2022-04-26 16:14:04 -07:00
Jonah Williams
0cb5772e73
[framework] allow other RenderObjects to behave like repaint boundaries (#101952) 2022-04-26 10:19:09 -07:00
Bruno Leroux
bc7d3bbc65
Fix DraggableScrollableController.animateTo leaks Ticker (#102504) 2022-04-26 02:24:05 -07:00
Jonah Williams
f15295cc91
[framework] allow disabling image filter layer (#102085) 2022-04-25 17:44:07 -07:00
gaaclarke
18713e0c5d
Made Directionality forego dependency tracking for better performance. (#102336) 2022-04-25 15:39:05 -07:00
wangying
899548c48a
Assign debugCreator for more layers (#101899) 2022-04-25 10:04:07 -07:00
rgevrek
6ea4aef827
Fix jumping when doing long press for selecting text (#102270) 2022-04-22 15:19:06 -07:00
chunhtai
2ebc7bee9c
Adds tooltip to semantics node (#87684) 2022-04-21 12:14:09 -07:00
Taha Tesser
e4edcbceb3
Improve 'NestedScrollView and internal scrolling' test to account for all the inner children layers (#102309) 2022-04-21 10:39:09 -07:00
xubaolin
e5beafaf36
Expose ignoringPointer property for Draggable and LongPressDraggable (#100475) 2022-04-19 13:29:28 -05:00
Eric egramond
fd360c4a1d
Prevent Mediaquery from losing navigationMode value when removePadding() is called (#101938) 2022-04-18 14:54:06 -07:00
Greg Spencer
24e964d891
Delay focus trap unfocus until post-frame (#101847) 2022-04-18 10:59:07 -07:00
Viren Khatri
aa5d7b6972
Newly constructed tweens should have same begin and end (#94363) 2022-04-16 22:04:53 +05:30
chunhtai
52fd2412f4
Reland "Add default selection style (#100719)" (#101954) 2022-04-15 16:44:07 -07:00
Justin McCandless
916b2aa76b
Linux and Windows right clicking text behavior (#101588) 2022-04-14 17:44:06 -07:00
Mahesh Jamdade
c815aaed2f
adds isAttached getter to DraggableScrollableController (#100269) 2022-04-14 15:44:08 -07:00
chunhtai
95e52dac76
Revert "Add default selection style (#100719)" (#101921)
* Revert "Add default selection style (#100719)"

This reverts commit c8057bc5064f54c04cbe054f00904722a7233a63.

* update

* update
2022-04-14 11:31:39 -07:00
Michael Goderbauer
51bcdb9407
super parameters for framework (#100905) 2022-04-13 22:38:40 -07:00
chunhtai
c8057bc506
Add default selection style (#100719) 2022-04-13 11:49:09 -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
Jonah Williams
ea19a77bff
[framework] elide ImageFilter layers when animation is stopped (#101731) 2022-04-12 13:54:10 -07:00
Kate Lovett
17be6d73e6
Revert "Configurable padding around FocusNodes in Scrollables" (#101772) 2022-04-12 13:29:06 -07:00
MrBirb
074ee4b2f4
Allow ClipRRect.borderRadius to support BorderRadiusDirectional (#101200) 2022-04-09 01:44:04 -07:00
Michael Goderbauer
a01424773e
Enable unnecessary_import (#101600) 2022-04-08 12:56:45 -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
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
Dwayne Slater
81baee4360
Configurable padding around FocusNodes in Scrollables (#96815) 2022-04-06 09:31:12 -07: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