BackgroundColor class abstract

The background color used in ColorScheme.

Annotations

Constructors

BackgroundColor({Brightness brightness = Brightness.dark})
const

Properties

b0 Color
Dark theme color with index 0.
no setter
b4 Color
Dark theme color with index 4.
no setter
b8 Color
Dark theme color with index 8.
no setter
b12 Color
Dark theme color with index 12.
no setter
b16 Color
Dark theme color with index 16.
no setter
b20 Color
Dark theme color with index 20.
no setter
brightness Brightness
The Brightness of the background color.
final
hashCode int
The hash code for this object.
no setteroverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
w0 Color
Light theme color with index 0.
no setter
w4 Color
Light theme color with index 4.
no setter
w8 Color
Light theme color with index 8.
no setter
w12 Color
Light theme color with index 12.
no setter
w16 Color
Light theme color with index 16.
no setter
w20 Color
Light theme color with index 20.
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) BackgroundColor
Used by ColorScheme to return a color with current brightness.

Operators

operator ==(covariant BackgroundColor other) bool
The equality operator.
override
operator [](int index) Color
Returns a background color.