SdkTheme enum
Predefined color themes supported by the CupThread SDK and Developer Console.
Use SdkTheme to customize the visual styling of CupThread screens and widgets, or let the SDK automatically resolve the theme from PublicAppConfig.sdk.
Example: Overriding SDK theme manually
CupThreadTheme(
client: client,
theme: SdkTheme.midnight,
child: const RoadmapBoardScreen(),
)
Values
- system → const SdkTheme
-
Follows the host application's system dark/light mode brightness.
const SdkTheme('system') - light → const SdkTheme
-
Modern light theme with clean neutral slate backgrounds.
const SdkTheme('light') - dark → const SdkTheme
-
Sleek dark theme with deep navy-slate backgrounds.
const SdkTheme('dark') - midnight → const SdkTheme
-
High-contrast ultra-dark theme with indigo accents.
const SdkTheme('midnight') - ocean → const SdkTheme
-
Fresh teal/cyan oceanic color palette.
const SdkTheme('ocean') - forest → const SdkTheme
-
Vibrant lime and forest green color palette.
const SdkTheme('forest') - sunset → const SdkTheme
-
Warm orange and amber sunset color palette.
const SdkTheme('sunset') - candy → const SdkTheme
-
Playful fuchsia and pink candy color palette.
const SdkTheme('candy')
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
- wireValue → String
-
Wire string identifier used in API JSON payloads.
final
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