reaplced SchemeTonalSpot with SchemeRainbow

This commit is contained in:
Vadim 2024-05-19 20:00:38 +02:00
parent 61fc90cecb
commit a4d1aa987c

View file

@ -73,7 +73,7 @@ ThemeData themeFrom(Color primaryColor, Brightness brightness) {
} }
ColorScheme _colorSchemeFromColor(Color primaryColor, Brightness brightness) { ColorScheme _colorSchemeFromColor(Color primaryColor, Brightness brightness) {
final scheme = SchemeTonalSpot( final scheme = SchemeRainbow(
sourceColorHct: Hct.fromInt(primaryColor.value), sourceColorHct: Hct.fromInt(primaryColor.value),
isDark: brightness == Brightness.dark, isDark: brightness == Brightness.dark,
contrastLevel: 0.0, contrastLevel: 0.0,