Decoupling Material's colors.dart#11543
Conversation
Also, introduce Colors and Typography to hold the material colors and the typography declarations. Previously we expected clients of these libraries to import them into a namespace, but that doesn't play nice with re-exporting them from material.dart.
Also, have dialog buttons use the accent colour. Also, generally rationalise some of this stuff to match Material better.
Add type annotations in many places. Fix some identifiers to have more lint-satisfying names. Make all operator==s consistent in style. Reorder some functions for consistency. Make ParentData no longer dynamic, and fix all the code around that.
Also: - give card_collection an option to turn on or off the edit widgets - give card_collection an option to control text alignment (when not editing) - give card_collection a "dump" option to aid debugging - make the gesture detector report which gestures it is listening to
Also, refactor more common code into RenderToggleable and handle dark themes more correctly. Fixes flutter#601
Properly paint disabled switches
Model ink splashes more physically
And fix the zillion issues that uncovered.
This reverts commit f41b341, reversing changes made to e33d8d9. This was a bad check-in due to my mangling uploading a new version of the branch from a different machine. This reverts flutter/flutter#2639 and will be replaced by flutter/flutter#2640
Revert "Merge pull request flutter#2639 from Hixie/always_specify_types"
And fix the zillion issues that uncovered.
Enable always_specify_types lint
Provide a list of Material design primary and accent color swatches
The dartdoc will continue until morale improves.
+ Add new demo to gallery to show data tables. (This currently doesn't use a Card; I'll create a Card version in a subsequent patch.) + Fix checkbox alignment. It now centers in its box regardless. + Add Colors.black54. + Some minor fixes to dartdocs. + DataTable, DataColumn, DataRow, DataCell + RowInkWell + Augment dartdocs of materia/debug.dart. + DropDownButtonHideUnderline to hide the underline in a drop-down when used in a DataTable. + Add new capabilities to InkResponse to support RowInkWell. + Augment dartdocs of materia/material.dart. + Add an assert to catch nested Blocks. + Fix a crash in RenderBox when you remove an object and an ancestor used its baseline. (flutter/flutter#2874) + Fix (and redocument) RenderBaseline/Baseline. + Add flex support to IntrinsicColumnWidth. + Document more stuff on the RenderTable side. + Fix a bug with parentData handling on RenderTable children. + Completely rewrite the column width computations. The old logic made no sense at all. + Add dartdocs to widgets/debug.dart. + Add a toString for TableRow.
Based on observations of usability study participant P1.
…0289) * fix deprecated_new_in_comment_reference for `material` library in a future version of the SDK, these will be flagged, fix them now * Update pubspec.yaml
Update links in the framework and fix data files to their newest, up-to-date destinations.
flutter/flutter#150800. I skipped files that contain generated code because the script isn't smart enough, and I did not fix some dubious comment refs. Those will be addressed in a different PR.
Adds files from flutter/flaux which contain modifications for the engine structure. The history for engine/ has been edited. Please see flutter/engine for the original PRs.
Hello Monorepo.
This auto-formats all *.dart files in the repository outside of the `engine` subdirectory and enforces that these files stay formatted with a presubmit check. **Reviewers:** Please carefully review all the commits except for the one titled "formatted". The "formatted" commit was auto-generated by running `dev/tools/format.sh -a -f`. The other commits were hand-crafted to prepare the repo for the formatting change. I recommend reviewing the commits one-by-one via the "Commits" tab and avoiding Github's "Files changed" tab as it will likely slow down your browser because of the size of this PR. --------- Co-authored-by: Kate Lovett <katelovett@google.com> Co-authored-by: LongCatIsLooong <31859944+LongCatIsLooong@users.noreply.github.com>
…olors Copy in colors.dart and history.
|
Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA). View this failed invocation of the CLA check for more information. For the most up to date status, view the checks section at the bottom of the pull request. |
|
Is there a doc about how you are planning on doing the import? I've done quite a few history-preserving imports into flutter/packages, so I have experience with this process. I would strongly expect the import to be a single mega-PR, not a series of small PRs. We can temporarily opt the new packages out of some checks if necessary, and then do follow-up PRs to get everything working and opt them back in. |
|
@stuartmorgan-g I'm I've been using I do plan to do it via a mega PR, but before that I wanted to try landing some smaller stuff and making a prerelease to make sure that everything is working. |
Basically everything from flutter/flutter's Material today should go into this m3 directory. As we add new m3e stuff, it will go in a new m3e directory.
I would very much like to avoid having multiple merge commits; each one adds permanent complexity to the repo history. I would also advise very strongly against sliced merged commits regardless, because each one will have a distinct history, and the commits will no longer have the atomic structure that expresses what happened. We do not want N copies of hundreds of commits, each with only a subset of the actual changes, and each with a separate hash but the same description. |
|
Ah it seems you're right that multiple
The first has the same SHA as the same commit on this PR, but when I ran a second So I will close these two PRs and just go straight for the mega PR. |
Different slices of commits essentially have to create different hashes, because of the way git hashing works. |

I'm attempting to move a simple file with no dependencies from flutter/flutter's Material library to material_ui, in order to give us the change to test things like the batch release process, docs, etc.
I'm trying a very simple file after I was overwhelmed by ProgressIndicator in #11526.
TODOs
git blamegives the same commits with new SHAs.Open questions