It appears that there are plans to deprecate the Scheme class soon in favor of DynamicScheme. However, since it is currently used in Flutter's ColorScheme.fromSeed implementation, it may be worth updating the implementation to match the specification.
The Dart implementation of the
Scheme
class'sdarkFromCorePalette
method assigns an incorrect color tone to theonErrorContainer
property:palette.error.get(80)
instead ofpalette.error.get(90)
. https://github.com/material-foundation/material-color-utilities/blob/45798afb18dbe09ce948b765b375f064099f944f/dart/lib/scheme/scheme.dart#L126C2-L142C49It appears that there are plans to deprecate the
Scheme
class soon in favor ofDynamicScheme
. However, since it is currently used in Flutter'sColorScheme.fromSeed
implementation, it may be worth updating the implementation to match the specification.