ZetaColorScheme constructor
- required ZetaColors zetaColors,
- String? fontFamily = kZetaFontFamily,
- required Brightness brightness,
- @Deprecated('Use surface instead. ' 'This feature was deprecated after v3.18.0-0.1.pre.') Color? background,
- required Color error,
- @Deprecated('Use onSurface instead. ' 'This feature was deprecated after v3.18.0-0.1.pre.') Color? onBackground,
- required Color onError,
- required Color onPrimary,
- required Color onSecondary,
- required Color onSurface,
- required Color primary,
- required Color secondary,
- required Color surface,
- Color? errorContainer,
- Color? inversePrimary,
- Color? inverseSurface,
- Color? onErrorContainer,
- Color? onInverseSurface,
- Color? onPrimaryContainer,
- Color? onSecondaryContainer,
- Color? onSurfaceVariant,
- Color? onTertiary,
- Color? onTertiaryContainer,
- Color? outline,
- Color? outlineVariant,
- Color? primaryContainer,
- Color? scrim,
- Color? secondaryContainer,
- Color? shadow,
- Color? surfaceTint,
- @Deprecated('Use surfaceContainerHighest instead. ' 'This feature was deprecated after v3.18.0-0.1.pre.') Color? surfaceVariant,
- Color? tertiary,
- Color? tertiaryContainer,
- Color? primaryFixed,
- Color? primaryFixedDim,
- Color? onPrimaryFixed,
- Color? onPrimaryFixedVariant,
- Color? secondaryFixed,
- Color? secondaryFixedDim,
- Color? onSecondaryFixed,
- Color? onSecondaryFixedVariant,
- Color? surfaceDim,
- Color? surfaceBright,
- Color? surfaceContainerLowest,
- Color? surfaceContainerLow,
- Color? surfaceContainer,
- Color? surfaceContainerHigh,
- 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,
});