- 28 Sep, 2022 1 commit
-
-
Greg Spencer authored
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.
-
- 19 Sep, 2022 1 commit
-
-
Qun Cheng authored
-
- 14 Sep, 2022 1 commit
-
-
Qun Cheng authored
-
- 06 Sep, 2022 1 commit
-
-
Darren Austin authored
* 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.
-
- 26 Aug, 2022 1 commit
-
-
Darren Austin authored
-
- 25 Aug, 2022 1 commit
-
-
Darren Austin authored
-
- 22 Aug, 2022 1 commit
-
-
Kate Lovett authored
-
- 10 Aug, 2022 1 commit
-
-
Ian Hickson authored
-
- 27 Jul, 2022 1 commit
-
-
Darren Austin authored
-
- 11 Jul, 2022 1 commit
-
-
Darren Austin authored
Refactor gen_defaults to support multiple generated code blocks in the same file independently. (#107278)
-
- 22 Jun, 2022 1 commit
-
-
Darren Austin authored
* Update parameters to the `styleFrom` button methods. * Updated the Flutter fix data to point to this PR. * Updated handling of background color to better maintain backwards compatibility with previous API.
-
- 15 Jun, 2022 1 commit
-
-
Darren Austin authored
-
- 10 Jun, 2022 1 commit
-
-
Hans Muller authored
-
- 08 Jun, 2022 1 commit
-
-
Pierre-Louis authored
* Improve `useMaterial3` documentation * reverse styles and components * tweak language around support * Update theme_data.dart * remove trailing space * Update packages/flutter/lib/src/material/theme_data.dart Co-authored-by: Darren Austin <darren@darrenaustin.org> * add missing spec links * remove spec links from useMaterial3 * move defaults section up, rejig things * spaces no longer trailing * spaces no longer trailing (2) Co-authored-by: Darren Austin <darren@darrenaustin.org>
-
- 07 Jun, 2022 1 commit
-
-
Darren Austin authored
-
- 02 Jun, 2022 1 commit
-
-
Hans Muller authored
This reverts commit 180566f2.
-
- 27 May, 2022 1 commit
-
-
Hans Muller authored
-
- 25 May, 2022 1 commit
-
-
Pierre-Louis authored
* Use `curly_braces_in_flow_control_structures` for `material` * include test/material * add back removed comments
-
- 19 May, 2022 1 commit
-
-
Darren Austin authored
-
- 10 May, 2022 1 commit
-
-
Darren Austin authored
-
- 14 Apr, 2022 1 commit
-
-
Michael Goderbauer authored
-
- 09 Apr, 2022 1 commit
-
-
Darren Austin authored
-
- 31 Mar, 2022 1 commit
-
-
Darren Austin authored
-
- 14 Jan, 2022 1 commit
-
-
Hans Muller authored
-
- 08 Oct, 2021 3 commits
-
-
Ian Hickson authored
-
Zachary Anderson authored
This reverts commit 5fd259be.
-
Ian Hickson authored
-
- 04 Oct, 2021 1 commit
-
-
Greg Spencer authored
This does a cleanup of the examples, removing all of the "section" markers and extra comments that we don't need anymore now that the samples are no longer in the source code. It also removes the --template arguments from the {@tool dartpad} and {@tool sample} directives, since those are no longer used. It converts two examples that I discovered were still embedded into linked examples in the examples folder. I didn't delete the templates from the snippets config folder yet, because there are still embedded samples in the dart:ui package from the engine that use them. Once dart:ui no longer uses the templates, they can be removed. I bumped the version of the snippets package to pick up a change that allows removal of the --template argument.
-
- 28 Sep, 2021 1 commit
-
-
yk3372 authored
-
- 25 Aug, 2021 1 commit
-
-
Greg Spencer authored
This extracts the sample code out from the API doc comments, and places them in separate files on disk, allowing running of the examples locally, testing them, and building of slightly larger examples.
-
- 21 May, 2021 1 commit
-
-
nt4f04uNd authored
-
- 13 May, 2021 1 commit
-
-
Jan Mewes authored
-
- 09 Apr, 2021 1 commit
-
-
Hans Muller authored
-
- 07 Apr, 2021 1 commit
-
-
Hans Muller authored
-
- 02 Apr, 2021 1 commit
-
-
Sam Rawlins authored
-
- 31 Mar, 2021 1 commit
-
-
Alexandre Ardhuin authored
-
- 23 Mar, 2021 1 commit
-
-
Hans Muller authored
-
- 17 Mar, 2021 1 commit
-
-
lsaudon authored
-
- 12 Mar, 2021 1 commit
-
-
Greg Spencer authored
Update samples to use repo analysis options, Fix sample templates and a ton of analyzer issues (#77868)
-
- 17 Feb, 2021 1 commit
-
-
Abhishek Ghaskata authored
-