SystemAccentColor class

Defines accent colors & its variants. Colors are cached by default, call SystemAccentColor.load to update the colors.

It returns SystemAccentColor.defaultAccentColor if SystemAccentColor.load fails

Constructors

SystemAccentColor(Color defaultAccentColor)

Properties

accent Color
Base accent color.
getter/setter pair
dark Color
Darkest shade.
getter/setter pair
darker Color
Darker shade.
getter/setter pair
darkest Color
Darkest shade.
getter/setter pair
defaultAccentColor Color
The accent color used when the others are not available.
final
hashCode int
The hash code for this object.
no setteroverride
light Color
Light shade.
getter/setter pair
lighter Color
Lighter shade.
getter/setter pair
lightest Color
Lighest shade.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

dispose() → void
Releases any used resources
load() Future<void>
Updates the fetched accent colors on Windows.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
override

Operators

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