FlexSchemeOnColors constructor
const
FlexSchemeOnColors({
- required Color onPrimary,
- Color? onPrimaryContainer,
- required Color onSecondary,
- Color? onSecondaryContainer,
- Color? onTertiary,
- Color? onTertiaryContainer,
- required Color onSurface,
- Color? onSurfaceVariant,
- Color? onSurfaceDim,
- Color? onSurfaceBright,
- Color? onSurfaceContainerLowest,
- Color? onSurfaceContainerLow,
- Color? onSurfaceContainer,
- Color? onSurfaceContainerHighest,
- Color? onSurfaceContainerHigh,
- Color? onInverseSurface,
- required Color onError,
- Color? onErrorContainer,
- @Deprecated('This color was deprecated in FCS 8.0 because Flutter 3.22 ' 'deprecated the color. ' 'It no longer has any function in FCS v8 and will be removed in v9.') Color? onBackground,
Default constructor. In most situations the factory FlexSchemeOnColors.from is the preferred way to create the onColors.
Implementation
const FlexSchemeOnColors({
required this.onPrimary,
this.onPrimaryContainer,
required this.onSecondary,
this.onSecondaryContainer,
this.onTertiary,
this.onTertiaryContainer,
required this.onSurface,
this.onSurfaceVariant,
this.onSurfaceDim,
this.onSurfaceBright,
this.onSurfaceContainerLowest,
this.onSurfaceContainerLow,
this.onSurfaceContainer,
this.onSurfaceContainerHighest,
this.onSurfaceContainerHigh,
this.onInverseSurface,
required this.onError,
this.onErrorContainer,
@Deprecated('This color was deprecated in FCS 8.0 because Flutter 3.22 '
'deprecated the color. '
'It no longer has any function in FCS v8 and will be removed in v9.')
this.onBackground,
});