ThemeSpec constructor
const
ThemeSpec({
- required int seed,
- required ThemeFamily family,
- required int engineVersion,
- required ThemeBrightness brightness,
- required Palette palette,
- required KeyShapeSpec keyShape,
- required KeyStyleSpec keyStyle,
- required TypeSpec type,
- required BackgroundSpec background,
- required MotionSpec motion,
- required SoundPackId sound,
- required String name,
- ThemeVariant variant = ThemeVariant.generated,
- int? heroId,
- int? seedHueTenths,
- ThemeIntent? intent,
- bool intentCentred = false,
- bool accessible = false,
- EffectsSpec effects = EffectsSpec.none,
- OperatorCue nonColourOperatorCue = OperatorCue.none,
Implementation
const ThemeSpec({
required this.seed,
required this.family,
required this.engineVersion,
required this.brightness,
required this.palette,
required this.keyShape,
required this.keyStyle,
required this.type,
required this.background,
required this.motion,
required this.sound,
required this.name,
this.variant = ThemeVariant.generated,
this.heroId,
this.seedHueTenths,
this.intent,
this.intentCentred = false,
this.accessible = false,
this.effects = EffectsSpec.none,
this.nonColourOperatorCue = OperatorCue.none,
});