ColorScheme class
Color scheme used for the theme data.
- Annotations
Constructors
- ColorScheme(Brightness brightness, {PrimaryColor? primary, BackgroundColor? backgroundColor, ShadeColor? shade})
-
const
Properties
- background → BackgroundColor
-
Background color.
no setter
- brightness → Brightness
-
The color scheme brightness.
final
- disabled → Color
-
Disabled color.
no setter
- error → Color
-
Error color.
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- primary → PrimaryColor
-
Primary color.
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- shade → ShadeColor
-
Shade color.
no setter
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
withBrightness(
Brightness brightness) → ColorScheme - Returns a color scheme with a different brightness.
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited