Material Color Utilities update in Flutter
Summary
#
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 Material 3 tokens update.
The algorithm changes affect the same properties:
onPrimaryContaineronSecondaryContaineronTertiaryContaineronErrorContainer
The changes will be reflected when generating a scheme using
ColorScheme.fromSeedColorScheme.fromImageProviderThemeData(colorScheme:..)
Migration guide
#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.
Timeline
#- Landed in version:
3.39.0-1.0.pre-250 - In stable release: TBD
References
#- Relevant commit: Update material_color_utilities to v0.13.0
Unless stated otherwise, the documentation on this site reflects Flutter 3.38.1. Page last updated on 2025-11-24. View source or report an issue.