SmoothColorsThemeExtension class
Constructors
-
SmoothColorsThemeExtension({required Color primaryUltraBlack, required Color primaryBlack, required Color primaryDark, required Color primarySemiDark, required Color primaryTone, required Color primaryNormal, required Color primaryAccent, required Color primaryMedium, required Color primaryLight, required Color secondaryNormal, required Color secondaryVibrant, required Color secondaryLight, required Color error, required Color errorGradient, required Color successBackground, required Color warning, required Color warningGradient, required Color warningBackground, required Color success, required Color successGradient, required Color errorBackground, required Color greyDark, required Color greyNormal, required Color greyMedium, required Color greyLight, required Color cellOdd, required Color cellEven, required Color greyUltraLight, required Color greySemiLight, required Color greyFair, required Color greyUltraDark, required Color scoreLightGreen, required Color scoreDarkYellow, required Color scoreDarkOrange, required Color scoreRedBackground, required Color scoreOrangeBackground, required Color scoreYellowBackground, required Color scoreLightGreenBackground, required Color scoreDarkGreenBackground})
-
-
SmoothColorsThemeExtension.defaultValues(bool lightTheme)
-
Methods
-
copyWith({Color? primaryUltraBlack, Color? primaryBlack, Color? primaryDark, Color? primarySemiDark, Color? primaryTone, Color? primaryNormal, Color? primaryAccent, Color? primaryMedium, Color? primaryLight, Color? secondaryNormal, Color? secondaryLight, Color? secondaryVibrant, Color? error, Color? errorGradient, Color? errorBackground, Color? warning, Color? warningGradient, Color? warningBackground, Color? success, Color? successGradient, Color? successBackground, Color? greyDark, Color? greyNormal, Color? greyMedium, Color? greyLight, Color? cellOdd, Color? cellEven, Color? greyUltraLight, Color? greySemiLight, Color? greyFair, Color? greyUltraDark, Color? scoreLightGreen, Color? scoreDarkYellow, Color? scoreDarkOrange, Color? scoreRedBackground, Color? scoreOrangeBackground, Color? scoreYellowBackground, Color? scoreLightGreenBackground, Color? scoreDarkGreenBackground})
→ ThemeExtension<SmoothColorsThemeExtension>
-
Creates a copy of this theme extension with the given fields
replaced by the non-null parameter values.
override
-
lerp(covariant ThemeExtension<SmoothColorsThemeExtension>? other, double t)
→ ThemeExtension<SmoothColorsThemeExtension>
-
Linearly interpolate with another ThemeExtension object.
override
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
toString()
→ String
-
A string representation of this object.
inherited