FlexSchemeSurfaceColors constructor
const
FlexSchemeSurfaceColors({
- required Color surface,
- Color? surfaceDim,
- Color? surfaceBright,
- Color? surfaceContainerLowest,
- Color? surfaceContainerLow,
- Color? surfaceContainer,
- Color? surfaceContainerHigh,
- Color? surfaceContainerHighest,
- Color? inverseSurface,
- required Color scaffoldBackground,
- required Color dialogBackground,
- @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? surfaceVariant,
- @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? background,
Default constructor. FlexSchemeSurfaceColors is usually created with
the FlexSchemeSurfaceColors.from
factory.
Implementation
const FlexSchemeSurfaceColors({
required this.surface,
Color? surfaceDim,
Color? surfaceBright,
Color? surfaceContainerLowest,
Color? surfaceContainerLow,
Color? surfaceContainer,
Color? surfaceContainerHigh,
Color? surfaceContainerHighest,
Color? inverseSurface,
required this.scaffoldBackground,
required this.dialogBackground,
@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.surfaceVariant,
@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.background,
}) : _surfaceDim = surfaceDim,
_surfaceBright = surfaceBright,
_surfaceContainerLowest = surfaceContainerLowest,
_surfaceContainerLow = surfaceContainerLow,
_surfaceContainer = surfaceContainer,
_surfaceContainerHigh = surfaceContainerHigh,
_surfaceContainerHighest = surfaceContainerHighest,
_inverseSurface = inverseSurface;