ColorScheme class
Constructors
-
ColorScheme({required Brightness brightness, required Color background, required Color foreground, required Color card, required Color cardForeground, required Color popover, required Color popoverForeground, required Color primary, required Color primaryForeground, required Color secondary, required Color secondaryForeground, required Color muted, required Color mutedForeground, required Color accent, required Color accentForeground, required Color destructive, required Color destructiveForeground, required Color border, required Color input, required Color ring, required Color chart1, required Color chart2, required Color chart3, required Color chart4, required Color chart5})
-
const
-
ColorScheme.fromColors({required Map<String, Color> colors, required Brightness brightness})
-
-
ColorScheme.fromMap(Map<String, dynamic> map)
-
Methods
-
copyWith({Brightness? brightness, Color? background, Color? foreground, Color? card, Color? cardForeground, Color? popover, Color? popoverForeground, Color? primary, Color? primaryForeground, Color? secondary, Color? secondaryForeground, Color? muted, Color? mutedForeground, Color? accent, Color? accentForeground, Color? destructive, Color? destructiveForeground, Color? border, Color? input, Color? ring})
→ ColorScheme
-
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
toColorMap()
→ Map<String, Color>
-
-
toMap()
→ Map<String, String>
-
-
toString()
→ String
-
A string representation of this object.
inherited