Skip to content

Update the material 3 design token docs #12125

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 6 commits into
base: main
Choose a base branch
from
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,32 @@ description: >-
the Flutter Material library.
---

# Flutter 3.33+

This release updates `package:material_color_utilities` from
`v0.11.1` to `0.13.0`. This updated package includes algorithm changes that align
with the colors changes shipped in Flutter 3.27 (see below).

The algorithm changes affect the same properties:

* `onPrimaryContainer`
* `onSecondaryContainer`
* `onTertiaryContainer`
* `onErrorContainer`

The changes will be reflected when generating a scheme using

* `ColorScheme.fromSeed`
* `ColorScheme.fromImageProvider`
* `ThemeData(colorScheme:..)`

In general, we believe the colors generated will be more legible and visually
appealing, but if you want to maintain the previous colors when upgrading
you will have to manually set those properties to their desired color after
generating.

# Flutter 3.27

## Summary

The Material Design tokens updated the mapping of
Expand Down Expand Up @@ -73,7 +99,7 @@ final chip = ChipTheme(
),
),
child: ActionChip(
label: const Text('action chip'),
label: const Text('action chip'),
onPressed: () {}
)
);
Expand Down