2513 Commits

Author SHA1 Message Date
Bruno Leroux
bc53e6202e
Add error message and documentation when a SnackBar is off screen (#102073) 2022-05-26 05:15:07 -07:00
Taha Tesser
a9c71d7e23
[Reland]: Fix DropdownButton menu clip (#104251) 2022-05-25 14:58:09 -07:00
xubaolin
5a9196737d
[Slider]The initial value of discrete slider should respect the discrete values (#103966)
Fixes #103965
2022-05-25 12:55:13 -07:00
Michael Goderbauer
d5fbc3750e
Remove unused code from tests (#104550) 2022-05-25 09:38:09 -07:00
Greg Spencer
0a417c3b49
A bunch of cleanups and a missing ShortcutRegistar in WidgetsApp (#104560)
A bunch of random cleanup things I found while doing MenuBar development.

Changes an if test to an assert in binding.dart, since the if should always be true.
Adds the default ShortcutRegistrar that should have been in the ShortcutRegistry PR.
Moves a debug message in the FocusManager to print the result after the focus change instead of before.
Reorders the test parameters in theme_data_test.dart to match the order of the theme data fields everywhere else.
2022-05-25 09:32:46 -07:00
Taha Tesser
78a0d3d4e2
[reland] Migrate ListTile TextTheme TextStyle references to Material 3 (#102167) 2022-05-25 07:28:12 -07:00
Pierre-Louis
cb9a1d623c
Use curly_braces_in_flow_control_structures for material (#104499)
* Use `curly_braces_in_flow_control_structures` for `material`

* include test/material

* add back removed comments
2022-05-25 13:17:06 +02:00
Jonah Williams
680a8192b0
[framework] ensure ink sparkle is disposed (#104569) 2022-05-24 21:23:09 -07:00
chunhtai
efb9368573
Supports global selection for all devices (#95226)
* Support global selection

* addressing comments

* add new test

* Addressing review comments

* update

* addressing comments

* addressing comments

* Addressing comments

* fix build
2022-05-24 13:53:55 -07:00
chunhtai
bd7d34f09d
Reland "Fix Backbutton is not displayed when there is a endDrawer (#1… (#104110)
* Reland "Fix Backbutton is not displayed when there is a endDrawer (#102093)"

This reverts commit a4a8e73bce152ab39d6ae839ca51e447f87293fa.

* add todos
2022-05-24 13:39:46 -07:00
Xilai Zhang
de230d393c
Revert "Add ability for ModalRoutes to ignore pointers during transitions and do so on Cupertino routes (#95757)" (#104520)
This reverts commit 4c0b0be2da5d1ee80c3d713e68ddd88d2cf2e72d.
2022-05-24 11:10:13 -07:00
Taha Tesser
a12a69a47c
Fix BottomAppBar dip without FAB (#104490) 2022-05-24 03:13:08 -07:00
Darren Austin
eadd07b0b9
Fix ColorScheme.copyWith for surfaceTint (#104435) 2022-05-23 20:24:18 -07:00
Darren Austin
b08b88ce6c
Add support for Material 3 medium and large top app bars. (#103962)
* Add support for M3 AppBar 'Medium' and 'Large' types.

* Updates from review feedback.

* Updated from review feedback.
2022-05-20 14:02:25 -07:00
Casey Hillers
da105b2b24
Revert "[framework] inline AbstractNode into RenderObject" (#104257) 2022-05-20 11:43:11 -07:00
Bruno Leroux
afdfc56bbb
Fix tooltips don't dismiss when using TooltipTriggerMode.tap (#103960) 2022-05-20 04:58:06 -07:00
Bruno Leroux
5c6f65ee99
Add Tooltip onTriggered callback (#104237)
Co-authored-by: Bruno Leroux <bruno.leroux@gmail.com>
2022-05-20 11:23:32 +02:00
Renzo Olivares
b876f78ea5
Desktop platforms should not collapse selection on copy (#104209)
* Add tests

* fix tests

* updates

Co-authored-by: Renzo Olivares <roliv@google.com>
2022-05-19 20:52:50 -07:00
Tong Mu
23bc3d64eb
[Mouse] Remove all pointers at the end of tests (#102694) 2022-05-19 17:48:10 -07:00
Will Lockwood
4c0b0be2da
Add ability for ModalRoutes to ignore pointers during transitions and do so on Cupertino routes (#95757) 2022-05-19 15:33:12 -07:00
Kate Lovett
e8f8a82a7b
Revert "Fix DropdownButton menu clip" (#104203) 2022-05-19 14:33:12 -07:00
Jonah Williams
24bd28f696
[framework] inline AbstractNode into RenderObject (#103832) 2022-05-19 14:28:09 -07:00
Darren Austin
17e2fce1cf
Add const MaterialStatePropertyAll class. (#104127) 2022-05-19 09:35:33 -07:00
Bruno Leroux
4b67827169
Add Tooltip default vertical padding (#103395) 2022-05-18 17:42:15 -07:00
Justin McCandless
384800b5e7
Fix right clicking a field to focus (#103228) 2022-05-18 17:37:11 -07:00
Justin McCandless
715fcaac72
Can't drag the cursor with the mouse (#103002) 2022-05-18 17:32:12 -07:00
Taha Tesser
32157e3fcb
AppBar: Fix nested scroll view doesn't update AppBar elevation for Material 3 (#103899) 2022-05-18 13:22:09 -07:00
Casey Hillers
a4a8e73bce
Revert "Fix Backbutton is not displayed when there is a endDrawer (#102093)" (#104039)
This reverts commit f8f438730d269c23af4e1b3566bcdfaa076d9277.
2022-05-18 09:53:28 -07:00
Greg Spencer
08496712b0
Reorder Theme fields and arguments to be consistently alphabetical within sections. (#104011) 2022-05-17 20:57:08 -07:00
Dan Field
fe87538b76
Implement paintsChild on RenderObjects that skip painting on their children (#103768) 2022-05-16 11:29:07 -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
Bruno Leroux
190d77627d
Add Tooltip textAlign property (#103475) 2022-05-12 16:09:15 -07:00
chunhtai
533816d116
Refactor web text editing shortcuts (#103377) 2022-05-12 13:09:06 -07:00
Jonah Williams
496049263e
[framework] fix slider regression due to touch slop changes (#103569) 2022-05-11 23:14:11 -07:00
Andree Yosua
f5fb9e8c01
Fix ThemeData extension throws when the ThemeExtension not found (#103343) 2022-05-10 21:44:07 -07:00
Renzo Olivares
c411065b01
Fix selection not deselected when TextField loses focus (#103424) 2022-05-10 17:34:07 -07:00
Kate Lovett
171d8c1e85
[Reland] Assert there are Scaffolds to present to for snackbars and banners (#103426) 2022-05-10 16:24:12 -07:00
Bruno Leroux
ff136cba7f
Fix Tooltip obscured by keyboard (#103339) 2022-05-09 13:39:07 -07:00
Aman Verma
0ff0affb3a
Expose controller for PaginatedDataTable (#100005) 2022-05-09 13:34:07 -07:00
Greg Spencer
6504f2896c
Adds menuBarMenuLabel, and removes unneeded key localizations (#102100)
When I added localizations for shortcut keys, I added some that actually can't be shortcut keys, so I'm removing them again. These are mostly Japanese-specific keys that don't even appear on modern keyboards for the most part.

Also, added menuBarMenuLabel for an accessibility label for menu bar menus.

I modified the code for the localization generation scripts to add a --remove-undefined flag that will remove any localizations that don't appear in the canonical locale.
2022-05-09 09:25:52 -07:00
Qun Cheng
2427d4f3d6
Added clipBehavior on TabBarView (#103166) 2022-05-07 08:44:07 -07:00
Eric egramond
ae7fcc7e51
Updating the Slider Widget to allow up and down arrow keys to navigate out of the slider when in directional NavigationMode. (#103149) 2022-05-07 03:39:06 -07:00
Taha Tesser
2f657536c8
Fix DropdownButton menu clip (#102970) 2022-05-07 02:39:08 -07:00
Alexandre Ardhuin
d40ee2149c
remove unnecessary .toString() (#103226) 2022-05-06 16:04:13 -07:00
Bruno Leroux
cfc5dc2a21
Increase Tooltip font size on Desktop (#103189) 2022-05-06 12:54:09 -07:00
Taha Tesser
13d76b2959
[DropdownButton]: Fix alignmentparameter doesn't work for hint when isExpanded: true (#102752) 2022-05-05 23:34:08 -07:00
chunhtai
f8f438730d
Fix Backbutton is not displayed when there is a endDrawer (#102093) 2022-05-05 15:44:10 -07:00
Kate Lovett
38fe53b6b6
Revert "Add assertion that snackbars have a place to go" (#103138) 2022-05-05 10:14:06 -07:00
Kate Lovett
122ab838f4
Add assertion that snackbars have a place to go (#103006) 2022-05-04 15:34:11 -07:00
Callum Moffat
b5321d182a
Reland "Fix position of CupertinoContextMenu within Transform.scale" (#102943)
* Fix position of CupertinoContextMenu within Transform.scale (#97896)

* Fix after rebase
2022-05-04 11:13:21 +02:00