RegistryThemePresetData class

Theme preset data containing color + design tokens for light/dark.

Constructors

RegistryThemePresetData({required String id, required String name, required Map<String, String> light, required Map<String, String> dark, Map<String, String> lightTokens = const {}, Map<String, String> darkTokens = const {}})
Creates a theme preset data container for CLI usage.
const

Properties

dark Map<String, String>
Dark mode color tokens keyed by token name.
final
darkTokens Map<String, String>
Dark mode design tokens (spacing, radius, fonts, etc.).
final
hashCode int
The hash code for this object.
no setterinherited
id String
Unique preset id (e.g. modern-minimal).
final
light Map<String, String>
Light mode color tokens keyed by token name.
final
lightTokens Map<String, String>
Light mode design tokens (spacing, radius, fonts, etc.).
final
name String
Human-readable preset name.
final
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