ColorData class final

Constructors

ColorData.from(BuildContext context)
factory
ColorData.of(bool dark, [ThemeData? theme])
factory

Properties

appbar ThemeColors
no setter
background ThemeColors
no setter
base ThemeColors
no setter
blue Color
final
bottom ThemeColors
no setter
card ThemeColors
no setter
colors Map<String, ThemeColors>
final
dialog ThemeColors
no setter
divider ThemeColors
no setter
gradients Map<String, ThemeGradients>
final
green Color
final
grey Color
final
hashCode int
The hash code for this object.
no setterinherited
highlight ThemeColors
no setter
hint ThemeColors
no setter
hover ThemeColors
no setter
icon ThemeColors
no setter
isDarkMode bool
final
label ThemeColors
no setter
orange Color
final
pink Color
final
placeholder ThemeColors
no setter
purple Color
final
red Color
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
scaffold ThemeColors
no setter
shadow ThemeColors
no setter
splash ThemeColors
no setter
surface ThemeColors
no setter
text ThemeColors
no setter
yellow Color
final

Methods

colorOf(String name) ThemeColors
gradientOf(String name) ThemeGradients
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Properties

dark ColorData
no setter
light ColorData
no setter