Skip to content
Draft
Changes from 1 commit
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+
Copy link
Contributor

@Piinks Piinks Jul 10, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looking at src/content/release/breaking-changes/index.md this doc is listed under Released in Flutter 3.27.

I would recommend either - bump the doc up in the index.md file to resurface under Not yet released to stable, or create a new document. Otherwise there is no way folks will find this in relation to the next release.


This release includes an update to `package:material_color_utilities` from
`v0.11.1` to `0.13.`. This updated package includes algorithm changes that align
with the colors changes that were 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 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 All @@ -14,10 +40,10 @@ Testing identified this change as [non-breaking][] in Flutter, but
some customers might notice this small change.
The update affected the following color properties:

* `onPrimaryContainer` (Primary10 to Primary30)
* `onSecondaryContainer` (Secondary10 to Secondary30)
* `onTertiaryContainer` (Tertiary10 to Tertiary30)
* `onErrorContainer` (Error10 to Error30)
- `onPrimaryContainer` (Primary10 to Primary30)
- `onSecondaryContainer` (Secondary10 to Secondary30)
- `onTertiaryContainer` (Tertiary10 to Tertiary30)
- `onErrorContainer` (Error10 to Error30)

Widgets that have been using these roles as their
default values might look different.
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 All @@ -88,14 +114,14 @@ In stable release: 3.27

API documentation:

* [`ColorScheme`][]
* [`ThemeData`][]
* [`Chip`][]
- [`ColorScheme`][]
- [`ThemeData`][]
- [`Chip`][]

Relevant PRs:

* [Update tokens to v5.0.0][]
* [Update tokens to v6.1.0][]
- [Update tokens to v5.0.0][]
- [Update tokens to v6.1.0][]

[`ColorScheme`]: {{site.api}}/flutter/material/ColorScheme-class.html
[`ThemeData`]: {{site.api}}/flutter/material/ThemeData-class.html
Expand Down