CDKThemeAppearance enum

A class representing the theme configuration for a Flutter application.

The CDKTheme class manages runtime theme state (appearance, accent, focus) and derives immutable token sets published through ThemeExtension.

Static colors are predefined and constant, while runtime colors are derived according to the application's theme and focus state.

CDKTheme theme = CDKThemeNotifier.of(context)!.changeNotifier;
Color backgroundColor = theme.isLight ? CDKTheme.white : CDKTheme.black;

This class also provides a set of predefined static colors for convenience.

Inheritance
Available extensions

Values

system → const CDKThemeAppearance
light → const CDKThemeAppearance
dark → const CDKThemeAppearance

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
name String

Available on Enum, provided by the EnumName extension

The name of the enum value.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

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

Constants

values → const List<CDKThemeAppearance>
A constant List of the values in this enum, in order of their declaration.