ZetaColorScheme constructor

const ZetaColorScheme(
  1. {required ZetaColors zetaColors,
  2. String? fontFamily = kZetaFontFamily,
  3. required Brightness brightness,
  4. @Deprecated('Use surface instead. ' 'This feature was deprecated after v3.18.0-0.1.pre.') Color? background,
  5. required Color error,
  6. @Deprecated('Use onSurface instead. ' 'This feature was deprecated after v3.18.0-0.1.pre.') Color? onBackground,
  7. required Color onError,
  8. required Color onPrimary,
  9. required Color onSecondary,
  10. required Color onSurface,
  11. required Color primary,
  12. required Color secondary,
  13. required Color surface,
  14. Color? errorContainer,
  15. Color? inversePrimary,
  16. Color? inverseSurface,
  17. Color? onErrorContainer,
  18. Color? onInverseSurface,
  19. Color? onPrimaryContainer,
  20. Color? onSecondaryContainer,
  21. Color? onSurfaceVariant,
  22. Color? onTertiary,
  23. Color? onTertiaryContainer,
  24. Color? outline,
  25. Color? outlineVariant,
  26. Color? primaryContainer,
  27. Color? scrim,
  28. Color? secondaryContainer,
  29. Color? shadow,
  30. Color? surfaceTint,
  31. @Deprecated('Use surfaceContainerHighest instead. ' 'This feature was deprecated after v3.18.0-0.1.pre.') Color? surfaceVariant,
  32. Color? tertiary,
  33. Color? tertiaryContainer,
  34. Color? primaryFixed,
  35. Color? primaryFixedDim,
  36. Color? onPrimaryFixed,
  37. Color? onPrimaryFixedVariant,
  38. Color? secondaryFixed,
  39. Color? secondaryFixedDim,
  40. Color? onSecondaryFixed,
  41. Color? onSecondaryFixedVariant,
  42. Color? surfaceDim,
  43. Color? surfaceBright,
  44. Color? surfaceContainerLowest,
  45. Color? surfaceContainerLow,
  46. Color? surfaceContainer,
  47. Color? surfaceContainerHigh,
  48. Color? surfaceContainerHighest}
)

Default constructor with no required properties.

Creates a light theme by default using the M2 colors as its default theme.

Implementation

const ZetaColorScheme({
  required this.zetaColors,

  /// If null, defaults to  [kZetaFontFamily];
  this.fontFamily = kZetaFontFamily,
  required super.brightness,
  @Deprecated('Use surface instead. ' 'This feature was deprecated after v3.18.0-0.1.pre.') super.background,
  required super.error,
  @Deprecated('Use onSurface instead. ' 'This feature was deprecated after v3.18.0-0.1.pre.') super.onBackground,
  required super.onError,
  required super.onPrimary,
  required super.onSecondary,
  required super.onSurface,
  required super.primary,
  required super.secondary,
  required super.surface,
  super.errorContainer,
  super.inversePrimary,
  super.inverseSurface,
  super.onErrorContainer,
  super.onInverseSurface,
  super.onPrimaryContainer,
  super.onSecondaryContainer,
  super.onSurfaceVariant,
  super.onTertiary,
  super.onTertiaryContainer,
  super.outline,
  super.outlineVariant,
  super.primaryContainer,
  super.scrim,
  super.secondaryContainer,
  super.shadow,
  super.surfaceTint,
  @Deprecated('Use surfaceContainerHighest instead. ' 'This feature was deprecated after v3.18.0-0.1.pre.')
  super.surfaceVariant,
  super.tertiary,
  super.tertiaryContainer,
  super.primaryFixed,
  super.primaryFixedDim,
  super.onPrimaryFixed,
  super.onPrimaryFixedVariant,
  super.secondaryFixed,
  super.secondaryFixedDim,
  super.onSecondaryFixed,
  super.onSecondaryFixedVariant,
  super.surfaceDim,
  super.surfaceBright,
  super.surfaceContainerLowest,
  super.surfaceContainerLow,
  super.surfaceContainer,
  super.surfaceContainerHigh,
  super.surfaceContainerHighest,
});