Taha Tesser
f07db4018a
NavigationBar
improvements (#116992 )
2022-12-13 17:25:49 -08:00
Greg Spencer
fae458b925
Convert TimePicker to Material 3 ( #116396 )
...
* Make some minor changes in preparation for updating the Time Picker to M3
* Revert OutlineInputBorder.borderRadius type change
* Revert more OutlineInputBorder.borderRadius changes.
* Convert TimePicker to Material 3
* Add example test
* Revert OutlineInputBorder.borderRadius type change
* Fix test
* Review Changes
* Merge changes
* Some sizing and elevation fixes
* Fix localization tests
2022-12-14 00:09:52 +00:00
Pierre-Louis
1e696d304c
Support theming CupertinoSwitch
s ( #116510 )
...
* Introduce flag to maximally apply CupertinoTheme
* add missing docs
* add tests
* fix docs
* fix test
2022-12-06 15:32:58 +01:00
Qun Cheng
6bb412e35e
Added controller
and onSelected
properties to DropdownMenu ( #116259 )
2022-11-30 16:58:21 -08:00
Taha Tesser
aaa4a52839
Add Material 3 Slider
example ( #115638 )
...
* Add Material 3 `Slider` example
* Update doc
* Update test titles
2022-12-01 00:00:19 +00:00
Eilidh Southren
29422d25fe
M3 snackbar [re-land] ( #116218 )
...
* Add M2 defaults and template skeleton
* add MaterialStateColor functionality to ActionTextColor (issue #110402 )
* Add M2 defaults and template skeleton
* updated material 3 tokens
* Updated snackbar demo
* add theme tests
* add gen defaults
* formatting
* more whitespace fixes
* add widget type
* update docs
* code review changes
* Add line overflow functionality
* whitespace fixes
* update M3 animation
* whitespace fixes
* add insetPadding param
* Modifed icon parameter to showCloseIcon
* white space fixes
* test fixes
* rename iconColor to closeIconColor
* debug test fix
* de-britishification
* g3fix
* g3fix
* debug test fix
2022-11-30 19:13:00 +00:00
Michael Goderbauer
06979d4e2e
shrinkWrap nuke ( #116236 )
2022-11-30 03:07:15 +00:00
Taha Tesser
333397a0ed
Fix Material 3 BottomSheet
example ( #116112 )
...
fix title
2022-11-30 02:08:21 +00:00
Qun Cheng
8b86d238b4
Create DropdownMenu
Widget to Support Material 3 ( #116088 )
...
* Created ComboBox
* Fixed failing tests
* Reverted the menu style tests change
* Addressed comments
* Updated documentation and rename foregroundColor variable
* Remamed ComboBox to DropdownMenu
* Removed a unused import
* Removed unused import
Co-authored-by: Qun Cheng <quncheng@google.com>
2022-11-29 22:36:35 +00:00
Kate Lovett
8b32ac7a51
Revert "Update SnackBar to support Material 3" ( #116199 )
...
* Revert "Update SnackBar to support Material 3 (#115750 )"
This reverts commit d58855c499
.
* Kick ci.yaml
Co-authored-by: Jenn Magder <magder@google.com>
2022-11-29 19:11:43 +00:00
Eilidh Southren
d58855c499
Update SnackBar to support Material 3 ( #115750 )
...
* Add M2 defaults and template skeleton
* add MaterialStateColor functionality to ActionTextColor (issue #110402 )
* Add M2 defaults and template skeleton
* updated material 3 tokens
* Updated snackbar demo
* add theme tests
* add gen defaults
* formatting
* more whitespace fixes
* add widget type
* update docs
* code review changes
* Add line overflow functionality
* whitespace fixes
* update M3 animation
* whitespace fixes
* add insetPadding param
* Modifed icon parameter to showCloseIcon
* white space fixes
* test fixes
* rename iconColor to closeIconColor
* debug test fix
* de-britishification
2022-11-29 18:02:34 +00:00
Greg Spencer
0cb9f70460
Menu bar accelerators ( #114852 )
...
* Add MenuMenuAcceleratorLabel to support accelerators.
* Review Changes
* Review Changed
* Fix default label builder to use characters
* Remove golden test that shouldn't have been there.
2022-11-29 00:27:20 +00:00
hangyu
0e57147db1
nav drawer ( #115668 )
2022-11-18 15:10:05 -08:00
Darren Austin
6ec2bd0a80
M3 Segmented Button widget ( #113723 )
2022-11-11 22:13:57 -08: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
Darren Austin
6a66aa282f
Add Material 3 support for BottomAppBar (reland #106525 ) ( #114439 )
...
* Revert "Revert "Add Material 3 support for BottomAppBar" (#114421 )"
This reverts commit 210a2aa371
.
* 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
eadda3c393
Add Material 3 Popup Menu example and update existing example ( #114228 )
2022-11-01 22:10:45 +00: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
Greg Spencer
37b72342b0
Add maybeOf
for all the cases where of
returns nullable. ( #114120 )
2022-10-31 23:09:09 +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
Taha Tesser
7f75d24164
Add Material 3 ProgressIndicator
examples ( #113950 )
2022-10-25 07:27:08 +00:00
Taha Tesser
b0e7c9c4f0
Move AnimatedIcons
example and fix typo in cupertino/text_selection_toolbar.dart
( #113937 )
2022-10-25 07:27:06 +00:00
Taha Tesser
8815f60a5a
Add AnimatedIcons
previews and examples ( #113700 )
2022-10-19 17:12:19 +00:00
hangyu
4fed6aaeff
Support Material 3 in bottom sheet ( #112466 )
2022-10-11 09:55:26 +00:00
Greg Spencer
6b32c0691b
Add checkbox and radio menu buttons ( #112821 )
2022-10-07 21:13:36 +00:00
Darren Austin
2bf83dd860
Add support for Material 3 Divider and VerticalDivider ( #112655 )
2022-09-29 11:30:53 -07:00
Taha Tesser
fd6997f07a
Add Dialog.fullscreen
and example ( #112261 )
2022-09-29 09:12:05 -07:00
Greg Spencer
8c271e5cb8
Implement Material MenuBar and MenuAnchor ( #112239 )
...
This implements a MenuBar widget that can render a Material menu bar, and a MenuAnchor widget used to create a cascading menu in a region. The menus are drawn in the overlay, while the menu bar itself is in the regular widget tree. Keyboard traversal works between the two.
This implementation of the MenuBar uses MenuAnchor to create a cascading menu that contains widgets representing the menu items. These menu items can be any kind of widget, but are typically SubmenuButtons that host submenus, or MenuItemButtons that have shortcut hints (but don't actually activate the shortcuts) and don't host submenus.
Cascading menus can be created outside of a MenuBar by using a MenuAnchor. They can be either given a specific location to appear (a coordinate), or they can be located by the MenuAnchor region that wraps the control that opens them.
The developer may also create a MenuController to pass to the various menu primitives (MenuBar or MenuAnchor) to associate menus so that they can be traversed together and closed together. Creating a controller is not required.
2022-09-28 14:10:18 -07:00
Casey Hillers
bd5c347193
Revert "Add support for Material 3 Divider
and VerticalDivider
" ( #112471 )
2022-09-27 15:15:59 +00:00
Taha Tesser
1d5f455c4c
Add support for Material 3 Divider
and VerticalDivider
( #112378 )
2022-09-26 20:36:09 +00:00
Greg Spencer
ce7789e030
Some miscellaneous changes found while making another PR ( #111620 )
2022-09-20 21:03:02 +00:00
Greg Spencer
e617d003fb
Normalize examples ( #111223 )
2022-09-09 21:17:11 +00:00
Qun Cheng
75fac6ae4d
Migrated Switch
to Material 3 ( #110095 )
2022-09-09 11:53:48 -07:00
Qun Cheng
98eac3f198
Migrated Checkbox
to Material 3 - Added Error State ( #111153 )
2022-09-08 14:42:29 -07:00
Pierre-Louis
8853926601
Deprecate ThemeData
errorColor
and backgroundColor
( #110162 )
2022-09-02 04:02:55 +00:00
Pierre-Louis
0c2f7bc2a2
Remove errant double spaces ( #110758 )
2022-09-02 04:00:58 +00:00
Qun Cheng
4125a3a8f0
Fixed the leading IconButton size ( #110722 )
2022-09-01 19:03:13 +00:00
Akshdeep Singh
519a5783c0
add material slider secondary value ( #109808 )
2022-08-28 23:26:32 +00:00
Darren Austin
5454bab6c1
Added support for M3 filled and filled tonal buttons. ( #107382 )
2022-08-25 11:36:03 -07:00
Pierre-Louis
360ac5bc79
Add covariant to ThemeExtension.lerp
( #105207 )
...
* Add covariant to `ThemeExtension.lerp`
* x
* x
2022-08-24 18:18:39 +02:00
Qun Cheng
c0c3874c77
Revert "Reland: Set IconButton.visualDensity default to VisualDensity.standard ( #109432 )" ( #110119 )
...
This reverts commit 79013b2be8
.
2022-08-23 15:41:03 -07:00
Kate Lovett
7e12b37111
Deprecate 2018 text theme parameters ( #109817 )
2022-08-22 20:00:34 +00:00
Bryan Oltman
6540ae0be7
Add clipBehavior to Card+InkWell example ( #109872 )
...
* Add clipBehavior to Card+InkWell example
* Add test for example
* Update comment
2022-08-22 11:24:23 -04:00
Qun Cheng
79013b2be8
Reland: Set IconButton.visualDensity default to VisualDensity.standard ( #109432 )
...
* Revert "Revert "Set `IconButton.visualDensity` default to `VisualDensity.standard` (#109349 )" (#109421 )"
Co-authored-by: Qun Cheng <quncheng@google.com>
2022-08-18 09:46:13 -07:00
Greg Spencer
cd98c49c37
Some changes needed to PlatformMenuBar before the MenuBar implementation change lands. ( #109556 )
2022-08-16 23:12:21 +00:00
Qun Cheng
625d96a1c6
Revert "Set IconButton.visualDensity
default to VisualDensity.standard
( #109349 )" ( #109421 )
...
This reverts commit 3070baf175
.
2022-08-11 15:29:19 -07:00
Qun Cheng
3070baf175
Set IconButton.visualDensity
default to VisualDensity.standard
( #109349 )
...
* Set IconButton's visualDensity to standard
Co-authored-by: Qun Cheng <quncheng@google.com>
2022-08-11 10:59:51 -07:00
Bruno Leroux
8faccb8a82
Reland: "Add example and troubleshooting comment for showSnackBar
" ( #105195 )
2022-08-09 22:06:05 +00:00
Taha Tesser
76df7368b5
Update Chips examples and rename files ( #108538 )
2022-07-29 07:17:06 +00:00