5232 Commits

Author SHA1 Message Date
Kate Lovett
4c8fa187f3
Reland Remove autovalidate deprecations (#91443) 2021-10-14 12:53:03 -07:00
Michael Goderbauer
210a905f21
Remove unused offset from Layer.addToScene/addChildrenToScene (#91753) 2021-10-14 12:48:06 -07:00
Ren You
240d209345
Revert "Refactored ListTileTheme: ListTileThemeData, ThemeData.listThemeData (#91449)" (#91811)
This reverts commit 94ff5202220bf741b3adb5c0a225147b6a0cd696.
2021-10-14 07:04:26 -07:00
nt4f04uNd
158939a89d
Scrollbar shouldRepaint to respect the shape (#91506) 2021-10-13 17:58:04 -07:00
Hans Muller
94ff520222
Refactored ListTileTheme: ListTileThemeData, ThemeData.listThemeData (#91449) 2021-10-12 15:05:09 -07:00
Ian Hickson
66dd2add7e
Add some more new lints (#91659) 2021-10-12 11:33:04 -07:00
Ian Hickson
6d5fc420b6
Enable sort_child_properties_last lint (#91585) 2021-10-11 21:23:02 -07:00
Ian Hickson
9421627324
Enable only_throw_errors (#91567) 2021-10-11 14:13:03 -07:00
Ian Hickson
7b01346c5c
Enable no_default_cases lint (#91530) 2021-10-11 10:23:04 -07:00
xubaolin
66ff778602
Do not output the error msg to the console when run a throwable test (#91593) 2021-10-11 10:18:04 -07:00
xubaolin
cd5936e41d
fix a BottomSheet nullable issue (#89362) 2021-10-09 02:53:03 -07:00
Kenzie (Schmoll) Davisson
43249469ee
Add service extensions to expose debug rendering toggles (#91499) 2021-10-08 12:52:22 -07:00
Ian Hickson
6ec3f3b7cb
Remove extensions (#91453) 2021-10-08 09:43:03 -07:00
Ian Hickson
61a0add286
Enable avoid_redundant_argument_values lint (#91409) (#91462) 2021-10-08 09:25:14 -07:00
Zachary Anderson
b9d2177da0
Revert "Enable avoid_redundant_argument_values lint (#91409)" (#91461)
This reverts commit 5fd259be244244e14ff87fee9b6a721625f952cd.
2021-10-07 21:11:07 -07:00
Ian Hickson
5fd259be24
Enable avoid_redundant_argument_values lint (#91409) 2021-10-07 20:13:02 -07:00
Hans Muller
7d9f7b4ca1
Revert "Added support for MaterialState to InputDecorator (#91182)" (#91448)
This reverts commit 1c374c65986db26a79b185148723b7b79e315b74.
2021-10-07 17:08:37 -07:00
Denis Grafov
fd12db0786
Replace all BorderRadius.circular with const BorderRadius.all (#91239) 2021-10-07 16:53:03 -07:00
Ian Hickson
f25b833f27
Enable avoid_print lint. (#91444) 2021-10-07 16:48:04 -07:00
Yash Johri
bfa4bdbf3b
[SwitchListTile] Adds hoverColor to SwitchListTile (#91046) 2021-10-07 16:18:05 -07:00
Kate Lovett
0a3ae08150
Update SystemUIOverlayStyle to support null contrast enforcement (#91396) 2021-10-07 15:48:02 -07:00
Kate Lovett
a2b95952dc
Revert "Remove autovalidate deprecations (#90292)" (#91439) 2021-10-07 14:48:02 -07:00
Mouad Debbar
c2ea78d231
Revert "Enable avoid_print lint. (#91332)" (#91438)
This reverts commit cb378edc9e8dbcb451cc6e969161032cc08da52a.
2021-10-07 16:16:17 -04:00
Ian Hickson
cb378edc9e
Enable avoid_print lint. (#91332) 2021-10-07 09:53:03 -07:00
Kate Lovett
8271539451
Conditionally apply clipping in StretchingOverscrollIndicator (#91389) 2021-10-06 17:13:02 -07:00
Kate Lovett
72924f1307
Remove autovalidate deprecations (#90292) 2021-10-06 16:28:02 -07:00
Dan Field
5112f86c94
Clear asset manager caches on memory pressure (#91353) 2021-10-06 10:18:02 -07:00
Bjarte Bore
1c374c6598
Added support for MaterialState to InputDecorator (#91182) 2021-10-06 09:36:06 -07:00
Kate Lovett
3aed0b671f
Fix scrollbar dragging into overscroll when not allowed (#90634) 2021-10-05 15:33:03 -07:00
Ian Hickson
2bab6514b0
Enable avoid_implementing_value_types lint (#91078) 2021-10-04 13:48:04 -07:00
xubaolin
905ac63e34
Fix some scrollbar track and border painting issues (#90311) 2021-10-04 08:13:04 -07:00
Fernando Moraes
7ff13ca405
Update TabPageSelector Semantics Label Localization (#87430) 2021-10-01 14:28:04 -07:00
LongCatIsLooong
0e72f99237
Restart input connection after EditableText.onSubmitted (#84307) 2021-10-01 14:23:05 -07:00
Kate Lovett
5ab6c7bce1
Fix overflow edge case in overscrolled RenderShrinkWrappingViewport (#90419) 2021-10-01 09:08:02 -07:00
Kate Lovett
778876597a
Remove AndroidViewController.id deprecation (#90294) 2021-10-01 09:03:02 -07:00
Ian Hickson
989f864497
Enable avoid_setters_without_getters (#91067) 2021-10-01 00:58:05 -07:00
Greg Spencer
d94c18d2b9
Add external focus node constructor to Focus widget (#90843)
I've added a Focus.withExternalFocusNode constructor to the Focus widget (and the FocusScope widget) that makes it explicit that the widget's attributes won't affect the settings of the given focus node.

This is to help address #83023, which is a snag in the API that people run into occasionally.

This should help make it explicit when you want the widget attributes to take precedence, and when you don't.
2021-09-30 16:46:38 -07:00
Hans Muller
0438bdfe12
TextStyle.apply,copyWith,merge should support a package parameter (#90986) 2021-09-29 15:35:28 -07:00
Kenzie (Schmoll) Davisson
15967669b2
Add richMessage parameter to the Tooltip widget. (#88539) 2021-09-29 15:31:54 -07:00
Justin McCandless
cf09d99372
Handle invalid selection in TextEditingActionTarget (#90826)
Prevents bugs related to invalid (-1,-1) selection in keyboard shortcuts
2021-09-29 13:14:10 -07:00
nt4f04uNd
96a63cfe48
use FadeTransition instead of Opacity where applicable (#75110) 2021-09-29 12:18:03 -07:00
Greg Spencer
bac1af32ee
Reland: "Fix tooltip so only one shows at a time when hovering (#90457)" (#90917)
This reverts commit ab51a02 and fixes the test that broke the first time it landed.
2021-09-29 08:56:52 -07:00
LongCatIsLooong
7684f8b7c5
Reland "Make FilteringTextInputFormatter's filtering Selection/Composing Region agnostic" #89327 (#90211) 2021-09-28 16:48:06 -07:00
Greg Spencer
ab51a0260d
Revert "Fix tooltip so only one shows at a time when hovering (#90457)" (#90909)
This reverts commit 885b2f56e180faac645c7ec9b60b3809131dc628 to green up the build.

Submitting on red to fix the build.
2021-09-28 15:18:53 -07:00
Greg Spencer
777463c276
Adjust size of delete button to take up at most less than half of chip. (#90845)
This adjusts the size of the delete button so that it takes up just slightly less than half of the chip, so that legacy tests that tap on the center of the chip still hit the chip, and not the delete button.

A follow-on change for #90531
2021-09-28 14:20:36 -07:00
Greg Spencer
885b2f56e1
Fix tooltip so only one shows at a time when hovering (#90457)
In the process of fixing #90044, I realized that it's also possible for hovered tooltips to show more than one at a time if the widgets are nested, so this PR is a fix that prevents more than one tooltip from showing at a time with hovered tooltips.
2021-09-28 14:20:01 -07:00
yk3372
d2c8b62351
make Elevated&Outlined&TextButton support onHover&onFocus callback (#90688) 2021-09-28 10:51:14 -07:00
Greg Spencer
ab2b0851a2
Add smoke tests for all the examples, fix 17 broken examples. (#89021)
This adds a smoke test for every single API example. It also fixes 17 tests that had bugs in them, or were otherwise broken, and even fixes one actual bug in the framework, and one limitation in the framework.

The bug in the framework is that NetworkImage's _loadAsync method had await response.drain<List<int>>();, but if the response is null, it will throw a cryptic exception saying that Null can't be assigned to List<int>. The fix was just to use await response.drain<void>(); instead.

The limitation is that RelativePositionedTransition takes an Animation<Rect> rect parameter, and if you want to use a RectTween with it, the value emitted there is Rect?, and one of the examples was just casting from Animation<Rect> to Animation<Rect?>, which is invalid, so I modified RelativePositionedTransition to take a Rect? and just use Rect.zero if the rect is null.
2021-09-28 09:32:06 -07:00
Hans Muller
3a6c18daec
Correct notch geometry when MediaQuery padding.top is non-zero (#90703) 2021-09-27 17:31:23 -07:00
Callum Moffat
8ed704d8e7
CupertinoContextMenu: Use root Overlay (#89331) 2021-09-27 12:28:07 -07:00