ThemeSpec constructor

const ThemeSpec({
  1. required int seed,
  2. required ThemeFamily family,
  3. required int engineVersion,
  4. required ThemeBrightness brightness,
  5. required Palette palette,
  6. required KeyShapeSpec keyShape,
  7. required KeyStyleSpec keyStyle,
  8. required TypeSpec type,
  9. required BackgroundSpec background,
  10. required MotionSpec motion,
  11. required SoundPackId sound,
  12. required String name,
  13. ThemeVariant variant = ThemeVariant.generated,
  14. int? heroId,
  15. int? seedHueTenths,
  16. ThemeIntent? intent,
  17. bool intentCentred = false,
  18. bool accessible = false,
  19. EffectsSpec effects = EffectsSpec.none,
  20. 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,
});