Commit Graph

272 Commits

Author SHA1 Message Date
Greg Spencer
6b32c0691b
Add checkbox and radio menu buttons (#112821) 2022-10-07 21:13:36 +00:00
Flutter GitHub Bot
a454c6d03b
Roll pub packages (#112986) 2022-10-06 21:18:08 +00:00
J-P Nurmi
2fdfa29e08
[text_input] introduce TextInputControl (#76072)
Allows the creation of virtual in-app keyboards written in Flutter.  Especially useful for embedded environments.
2022-10-04 15:23:12 -07:00
Taha Tesser
6432742036
Update AnimatedSlide example (#112803) 2022-10-03 18:44:13 +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
joshualitt
c66049fcef
Reland "Migrate package/flutter to JS static interop. (#111315)" (#112418) 2022-09-29 08:36:51 -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
Flutter GitHub Bot
2adee31ce8
Roll pub packages (#112408) 2022-09-26 21:21:58 +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
Casey Hillers
4aa27d844e
Revert "Migrate package/flutter to JS static interop. (#111315)" (#112247) 2022-09-23 04:00:22 +00:00
Flutter GitHub Bot
a24b50ba8f
Roll pub packages (#112225) 2022-09-22 21:18:22 +00:00
Flutter GitHub Bot
f16fe11ecf
Roll pub packages (#112021) 2022-09-22 20:23:42 +00:00
Taha Tesser
844a8ad7e8
Update CupertinoSwitch example (#112063) 2022-09-21 15:27:20 +00:00
Flutter GitHub Bot
d5946021e5
Roll pub packages (#112004) 2022-09-20 22:07:57 +00:00
Greg Spencer
ce7789e030
Some miscellaneous changes found while making another PR (#111620) 2022-09-20 21:03:02 +00:00
joshualitt
6906493a94
Migrate package/flutter to JS static interop. (#111315) 2022-09-19 10:28:37 -07:00
Nazareno Cavazzon
0ad0a56e86
panningDirection parameter added to InteractiveViewer (#109014) 2022-09-16 17:22:12 +00:00
Greg Spencer
fb28a0d3fe
Re-Land "Actually add example templates (#111531)" (#111666) 2022-09-15 16:17:06 +00:00
Zachary Anderson
e2d3019a37
Revert "Actually add example templates (#111531)" (#111632)
This reverts commit 7242ea2252.
2022-09-14 20:24:17 -07:00
Greg Spencer
7242ea2252
Actually add example templates (#111531) 2022-09-15 01:17:21 +00:00
Flutter GitHub Bot
9ba35816ca
Roll pub packages (#111423) 2022-09-12 23:03:50 +00:00
Greg Spencer
271834ed13
Add example examples (#111276) 2022-09-12 20:28:09 +00:00
Christopher Fujino
2e299e1934
[flutter_tools] Pin url_launcher_android and update packages (#111309) 2022-09-09 23:57:03 +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
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
Elliott Brooks (she/her)
57e42f0223
Manually update DWDS version to v.16.0.0 (#110822) 2022-09-02 19:17:48 +00: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
LongCatIsLooong
bdb74e16c6
Fix Action.overridable example (#110824) 2022-09-02 00:46:21 +00:00
Greg Spencer
2051f09c68
Add Overlay.maybeOf, make Overlay.of return a non-nullable instance (#110811) 2022-09-02 00:13:12 +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
Greg Spencer
fefb2b00ba
Re-Land "Refactor StrokeAlign to allow double values." (#108339) (#110234) 2022-08-25 20:56:24 +00:00
Christopher Fujino
db51e5d944
[flutter_tools] unpin path_provider_android and roll (#110216) 2022-08-25 19:42:21 +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
Greg Spencer
957a8da4a2
Revert "Re-Land "Refactor StrokeAlign to allow double values." (#109805)" (#109955)
This reverts commit b3aba4d9c8 because it breaks Google tests.
2022-08-21 20:18:09 +02:00
Greg Spencer
b3aba4d9c8
Re-Land "Refactor StrokeAlign to allow double values." (#109591) (#109805) 2022-08-19 19:36:11 +00: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
Taha Tesser
9da693e3fa
Add an example for how to hide default scrollbar on desktop platform. (#108542) 2022-08-18 13:09:23 +00:00
Alexander Aprelev
bfdc9a6cfa
Introduce stubbed exclusive parameter to File.create-overridden method (#109646)
* Introduce stubbed `exclusive` parameter to `File.create`-overridden method.

This is to soften landing of a breaking change https://github.com/dart-lang/sdk/issues/49647
2022-08-17 13:26:08 -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