9502 Commits

Author SHA1 Message Date
Kate Lovett
d41308179a
Fix shrinkwrap on animated list (#115104) 2022-11-10 22:20:06 +00:00
Taha Tesser
1f891a0f33
Fix RangeSlider semantics node size (#114999)
* Fix `RangeSlider` semantics node size and add RTL semantics test

* Add TODO comments
2022-11-10 20:03:39 +00:00
Hans Muller
5a600456b0
Reland: Adds support for the Material Badge widget, BadgeTheme, BadgeThemeData (#114560) (#115002)
Requires G3Fix cl/486997831
2022-11-10 11:05:50 -08:00
Phil Quitslund
008ac174f9
remove unnecessary brace in string interpolation (#115032) 2022-11-10 01:36:24 +00:00
Taha Tesser
d3dcd7d532
Update CircleAvatar to support Material 3 (#114812) 2022-11-09 03:50:41 -08:00
Greg Spencer
1ca2e0b5b2
Fix CastError in StadiumBorder.lerpTo and StadiumBorder.lerpFrom when using BorderRadiusDirectional (#114826)
* Fix casting in StadiumBorder lerp

* Add tests

* Fix made-up names
2022-11-07 23:29:52 +00:00
Bruno Leroux
f1cdfa289d
Use AppBar.systemOverlayStyle to style system navigation bar (#104827)
* Use upper AnnotatedRegion properties when no bottom one found (and vice versa)

* Update comments

Co-authored-by: Bruno Leroux <bruno.leroux@gmail.com>
2022-11-07 20:42:56 +00:00
Bruno Leroux
5628ebf662
[RawKeyboard] Allow inconsistent modifiers for Web (#114499)
Co-authored-by: Bruno Leroux <bruno.leroux@gmail.com>
2022-11-07 20:41:09 +00:00
Pedro Massango
e1adc96d5e
feat: provide a way to set the initial child's alignment (#114745)
InteractiveViewer.alignment parameter
2022-11-07 12:08:22 -08:00
Justin McCandless
3cde69e8d9
Revert "Revert "Scribble mixin (#104128)" (#114647)" (#114698)
Relands the "Scribble mixin" PR, which was reverted due to breaking a Google test in the last roll.
Breaks the Scribble feature out of TextInputClient in order to avoid breaking changes.
2022-11-07 11:28:27 -08:00
Justin McCandless
7e36cf17e7
Mac Page Up / Page Down in text fields (#105497)
Adds support for Mac/iOS's behavior of scrolling (but not moving the cursor) when using page up/down in a text field.
2022-11-07 10:43:09 -08:00
陈昱
497a52809d
Fix TextField/CupertinoTextField hint style overflow not work. (#114335)
* fix text field hint style overflow not work, keep default ellipsis.

* fix cupertino text field hint style overflow not work, keep default ellipsis.

* add Cupertino placeholder style test.
2022-11-07 17:45:56 +00:00
Hans Muller
d6a8e92cd6
Revert "Adds support for the Material Badge widget, BadgeTheme, BadgeThemeData (#114560)" (#114819)
This reverts commit a6da1042a819f7a93eb655d493db914561f93f83.
2022-11-07 08:50:56 -08:00
Hans Muller
a6da1042a8
Adds support for the Material Badge widget, BadgeTheme, BadgeThemeData (#114560) 2022-11-06 17:21:08 -08:00
xubaolin
1aada6fc5c
[New Feature]Support mouse wheel event on the scrollbar widget (#109659)
* rebase master and add a test

* fix the test

* fix the test

* fix the test
2022-11-05 00:57:52 +00:00
chunhtai
80bf355192
Support keyboard selection in SelectabledRegion (#112584)
* Support keyboard selection in selectable region

* fix some comments

* addressing comments
2022-11-04 10:55:28 -07:00
Casey Hillers
9f6090c9ad
Revert "Fix text field label animation duration and curve" (#114646)
* Revert "Fix text field label animation duration and curve (#105966)"

This reverts commit d5c53b82e910d157b0e041c635904a970f473c62.

* Add doubleTapTimer.cancel back
2022-11-03 18:47:54 -07:00
Casey Hillers
009fa69f3c
Revert "Scribble mixin (#104128)" (#114647)
This reverts commit b571abfbfd17b9ab7bdf73ac9758bbd87264979a.
2022-11-03 17:17:30 -07:00
Phil Quitslund
33b81ed954
fixes for incoming linter (#113794)
* fixes for incomming linter

* + todo

* todo format fix

* justify ignore

* --
2022-11-03 10:56:59 -07:00
Kate Lovett
0e70a97e2e
Refactor Animated[List, Grid, SliverList, SliverGrid] to share common code (#113793) 2022-11-02 16:54:11 +00:00
htoor3
9f23391733
[web] Changes to web keyboard selection shortcuts for more consistent behavior (#114264) 2022-11-02 15:41:05 +00:00
Darren Austin
6a66aa282f
Add Material 3 support for BottomAppBar (reland #106525) (#114439)
* Revert "Revert "Add Material 3 support for BottomAppBar" (#114421)"

This reverts commit 210a2aa371debc4c06e24b74bcb7f4a842427147.

* Regenerated the defaults from tokens and fixed tests.

* Fixed the tests.

* Updated the shape token template to optimize the a common case.
2022-11-02 10:54:19 +00:00
Taha Tesser
97d0247d59
Add Material 3 support for Slider - Part 1 (#114079) 2022-11-01 19:31:00 -07:00
fzyzcjy
61deaef5df
Fix bug thattimeDilation is not reset, causing subsequent test errors, and add verifications to ensure such problem does not exist in the future (#113830) 2022-11-01 22:50:00 +00:00
fzyzcjy
c23b5ca7db
Fix addToScene documentation (#113987) 2022-11-01 22:18:52 +00:00
fzyzcjy
e37ab48bca
Introduce debugWithActiveLayoutCleared to avoid duplicated code (#114003) 2022-11-01 22:17:11 +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
Taha Tesser
eadda3c393
Add Material 3 Popup Menu example and update existing example (#114228) 2022-11-01 22:10:45 +00:00
Justin McCandless
93b0042559
Handle dragging improvements (#114042)
Improves the feel of dragging text selection vertically between lines on mobile.
2022-11-01 12:36:51 -07:00
chunhtai
d0afbd72a7
Revert "Overlay always applies clip (#113770)" (#114442)
This reverts commit 103a5c98b8cac6bdcc8c8af1094d1e6f98453fe6.
2022-11-01 12:05:01 -07:00
Justin McCandless
8a8b361770
Use hintText's TextStyle overflow (#114378)
hinText's overflow can now be set via hintStyle (in InputDecoration)
2022-11-01 10:19:45 -07:00
Zachary Anderson
210a2aa371
Revert "Add Material 3 support for BottomAppBar" (#114421) 2022-11-01 15:12:09 +00:00
Talat El Beick
0e98194681
Add Material 3 support for BottomAppBar (#106525) 2022-11-01 00:42:33 -07:00
fzyzcjy
3894a069b6
Minor code cleanup: remove redundant return (#114290) 2022-11-01 06:54:29 +00:00
Alex Li
0f1d0e39e9
🎨 Improve exceptions thrown by asset bundle (#114313) 2022-11-01 05:33:33 +00:00
Darren Austin
c2edb20f3d
Added token files for badges and lists. (#114382) 2022-10-31 21:18:37 -07:00
Greg Spencer
37b72342b0
Add maybeOf for all the cases where of returns nullable. (#114120) 2022-10-31 23:09:09 +00:00
fzyzcjy
c8fc2858de
Fix incorrectly named "debug" prefix (#114117) 2022-10-31 15:39:52 +00:00
chunhtai
fa174b2343
SingleChildScrollView does not clip semantics child (#114194) 2022-10-28 23:00:22 +00:00
Justin McCandless
0b451b6dfd
Context Menus (#107193)
* Can show context menus anywhere in the app, not just on text.
* Unifies all desktop/mobile context menus to go through one class (ContextMenuController).
* All context menus are now just plain widgets that can be fully customized.
* Existing default context menus can be customized and reused.
2022-10-28 12:40:09 -07:00
Qun Cheng
cc435d673e
Fix Color Scheme Defaults in Material 3 (#112666) 2022-10-28 10:30:59 -07:00
xubaolin
8469896c5a
Fix DDS do not support Curves.easeInOutBack curve (#114222) 2022-10-28 17:24:58 +00:00
Kenzie Davisson
cdbb1e6037
Move Widget Inspector service extensions from DevTools to Flutter (#113861) 2022-10-28 17:16:03 +00:00
chunhtai
c6f6095acd
Remove RouteSetting.copyWith (#113860) 2022-10-27 22:09:05 +00:00
fzyzcjy
d93208a60b
Fix logical error in TimePickerDialog - the RenderObject forgets to update fields (#112040) 2022-10-27 22:05:02 +00:00
Alex Wallen
23d258df57
Remove deprecated updateSemantics API usage. (#113382) 2022-10-26 20:20:41 +00:00
pdblasi-google
671c532019
107866: Add support for verifying SemanticsNode ordering in widget tests (#113133) 2022-10-26 20:17:15 +00:00
Zachary Anderson
e334ac1122
Revert "Update Cupertino text input padding (#113958)" (#114102)
This reverts commit 51acda81f289ddaea04ea9f8b587dc20f1479764.
2022-10-26 12:59:05 -07:00
Mitchell Goodwin
51acda81f2
Update Cupertino text input padding (#113958)
* Update Cupertino text input padding

* Remove comment
2022-10-26 11:49:26 -07:00
Marcel Čampa
d988c11a87
Expose alwaysShowMiddle in CupertinoSliverNavigationBar (#113544)
* SLFLF-5: Expose `alwaysShowMiddle` in `CupertinoSliverNavigationBar`

* SLFLF-5: Remove space in docstring

* SLFLF-5: Add test and update documentation

* SLFLF-5: Remove trailing whitespace (again)
2022-10-26 09:28:44 -07:00