2718 Commits

Author SHA1 Message Date
Taha Tesser
ad2005c485
Add overlay MaterialStateProperty property to Slider (#112922) 2022-10-06 07:44:30 +00:00
Eilidh Southren
4862a84bd5
Add width property to SnackBarThemeData (#112636)
* Adding snackbar theme data width field

* Whitespace formatting

* Update docstrings

* version update

* tidy up

* Revert auto text formatting

* Text formatting

* Remove whitespace

* Test tidy

* Whitespace fix

* y Please enter the commit message for your changes. Lines starting

* whitespace

* test fixes

* de-British-ification

* comment modification
2022-10-05 12:09:19 +01:00
DattatreyaReddy Panta
3f22a079c4
Added ShapeBorder to expansionTile (#112218) 2022-10-03 17:50:46 +00:00
Casey Hillers
5dfa50c838
Revert "Add button semantics in list tile" (#112779) 2022-10-03 13:24:22 +00:00
hangyu
1e87fdd883
Add button semantics in list tile (#112593) 2022-09-30 12:52:08 -07:00
Greg Spencer
874ea75dce
Fix menu_anchor_test.dart's state leak (#112718)
Merging on red to green the build.
2022-09-30 10:40:47 -07:00
Darren Austin
2bf83dd860
Add support for Material 3 Divider and VerticalDivider (#112655) 2022-09-29 11:30:53 -07:00
Qun Cheng
a1e9411c82
Fixed the size issue (#112601) 2022-09-29 09:45:05 -07:00
Taha Tesser
fd6997f07a
Add Dialog.fullscreen and example (#112261) 2022-09-29 09:12:05 -07:00
LongCatIsLooong
78e94155a0
[RenderEditable] report real height when maxLines == 1. (#112029) 2022-09-28 21:40:47 +00: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
Alexandre Ardhuin
cfe0c2a10c
unnecessary_stateful_widgets (#112296) 2022-09-28 18:19:51 +00:00
hangyu
3aba4bfaf1
Add mouse region for InputDecorationIcons in the textfield (#112543)
* Update mouse region

* Update text_field_test.dart

* lint
2022-09-28 23:41:26 +08:00
Jonah Williams
4119210e73
[framework] use Visibility instead of Opacity (#112191) 2022-09-27 19:58:31 +00: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
Anthony Oleinik
4ceeca0833
Added example for Magnifier and TextMagnifier (#110218) 2022-09-23 20:29:32 +00:00
Qun Cheng
e167162830
Updated ProgressIndicator to M3 (#112139) 2022-09-23 11:13:40 -07:00
MH Johnson
96a770bda0
[Material] Remove "down position" from toggleable ripple calculation (#112209)
* remove down position from toggleable ripple
2022-09-23 11:50:37 -04:00
Bruno Leroux
f314f1bccc
Update TabBarView children after a transition to an adjacent tab (#112168) 2022-09-23 15:38:12 +00:00
fzyzcjy
1fbd7ec117
Fix CupertinoAlertDialog and CupertinoActionSheet, which mis-behave when orientation changes (#112041) 2022-09-23 00:41:20 +00:00
Darren Austin
bef6f3065c
Fixed an iconTheme lerping problem with ChipThemeData. (#112216) 2022-09-22 20:53:45 +00:00
Samuel
5f01d07c98
Added iconTheme to RawChip in ChoiceChip (#110908) 2022-09-21 18:23:24 +00:00
LongCatIsLooong
c825fb1963
Fix InputDecorator child vertical alignment (#112003) 2022-09-20 21:45:08 +00:00
Qun Cheng
06b87fba64
Update Radio button to material 3 (#111774) 2022-09-20 14:09:20 -07:00
Zlati Pehlivanov
888b141a50
fix: bottom navigation bar colors (#107924) 2022-09-19 17:25:27 -07:00
Darren Austin
ba489607a1
Fixed an issue with FilterChip's changing size when selected due to border size. (#111916) 2022-09-19 15:29:24 -07:00
Callum Moffat
70b19ff987
Add macOS-specific scroll physics (#108298) 2022-09-19 20:08:03 +00:00
Darren Austin
df110ef020
Provide Material 3 defaults for vanilla Chip widget. (#111597) 2022-09-19 19:23:55 +00:00
Viren Khatri
e2ab3e581e
fixed inconsistent file names for *_chip.dart files and added a test (#111364) 2022-09-17 03:17:06 +00:00
xubaolin
eae9bba77b
fix a draggableScrollableSheet's LocalHistoryEntry leaking (#110576) 2022-09-16 23:07:54 +00:00
chunhtai
bcc1dc6b99
Makes TextBoundary and its subclasses public (#110367) 2022-09-16 22:05:04 +00:00
Bruno Leroux
25e88cb154
Fix OutlineInputBorder with BorderRadius.zero is distorted (#106849) 2022-09-16 19:12:56 +00:00
Taha Tesser
e8e979772a
Reland "Update MaterialBanner to support Material 3" (#111299) 2022-09-16 17:24:07 +00:00
godofredoc
61db3bc8c5
Revert "Single tap on the previous selection should toggle the toolbar on iOS…" (#111662) 2022-09-15 16:44:17 +00:00
Greg Spencer
5f9ad01ebf
Prepare the framework for having RRect assert on negative radii (#111515) 2022-09-14 23:21:01 +00:00
Taha Tesser
f5ebf41b14
Fix the TimePicker hour/minute field's input actions (#97361) 2022-09-13 22:30:09 +00:00
Xilai Zhang
20a78ed69f
Revert "Use semantics label for backbutton and closebutton for Android" (#111305) 2022-09-12 20:00:07 +00:00
Qun Cheng
75fac6ae4d
Migrated Switch to Material 3 (#110095) 2022-09-09 11:53:48 -07:00
Casey Hillers
e3f8ee8806
Revert "Update MaterialBanner to support Material 3" (#111288) 2022-09-09 18:44:56 +00:00
Valentin Vignal
4cd734ae3a
Fix typos introduced typos in popup_menu_theme_test.dart (#111060) 2022-09-09 16:03:27 +00:00
Renzo Olivares
ad946f8478
Add ability to show magnifier on long press (#111224) 2022-09-09 12:24:36 +00:00
Tom Gilder
e43850d197
Fix TabBarView with no animation not navigating (#110985) 2022-09-09 05:35:07 +00:00
Qun Cheng
98eac3f198
Migrated Checkbox to Material 3 - Added Error State (#111153) 2022-09-08 14:42:29 -07:00
yaakovschectman
4d3c122434
Use tristate checkbox engine changes (#111032)
* Introduce tests for tristate checkboxes

* Initial

* Use tristate changes in engine

* Flutter_test matchers test update

* Comments, tests

* Update packages/flutter/lib/src/semantics/semantics.dart

Co-authored-by: Chris Bracken <chris@bracken.jp>

* Assert mutual exclusivity

* Assert valid state before updating state

* Update packages/flutter/lib/src/semantics/semantics.dart

Typo fix in comment

Co-authored-by: Loïc Sharma <737941+loic-sharma@users.noreply.github.com>

Co-authored-by: Chris Bracken <chris@bracken.jp>
Co-authored-by: Loïc Sharma <737941+loic-sharma@users.noreply.github.com>
2022-09-08 17:41:54 -04:00
Hans Muller
dc6ab62696
Fixed one-frame InkWell overlay color problem on unhover (#111112) 2022-09-08 10:20:32 -07:00
Eilidh Southren
1ed2312493
Deprecate ThemeDate.bottomAppBarColor (#111080)
* test commit

* Deprecate BottomAppBarColor field

* test commit

* Deprecate BottomAppBarColor field

* Update fix_data.yaml & tests

* remove text.txt

* Update PR ID values

* Update fix_data.yaml

* Make deprecation changes non-breaking

* Whitespace formatting

* Modify docstring, retain bottomAppBarColor default

* Modify theme_data_test.dart

* Update docstrings
2022-09-08 12:36:07 +01:00
Pierre-Louis
fb2f4c9cb9
[Fonts] Update icons (#111092) 2022-09-07 17:32:51 +00:00
Darren Austin
33ed6a3533
Fixing elevation issues with Material 3 (#110624)
* Added support for surfaceTintColor and shadowColor to the Dialog widgets.
* Updated the defaults for Material.shadowColor and Material.surfaceTint to allow turning off the features with a transparent color.
* Added support for shadowColor and surfaceTintColor for Drawer widget.
2022-09-06 16:16:45 -07:00
Valentin Vignal
27896a7b49
Adds PopupMenuPosition position to the PopupMenuThemeData (#110268) 2022-09-06 17:49:14 +00:00