primaryFixedDim property
final
Implementation
static final DynamicColor primaryFixedDim = DynamicColor.fromPalette(
name: 'primary_fixed_dim',
palette: (s) => s.primaryPalette,
tone: (s) => _isMonochrome(s) ? 30.0 : 80.0,
isBackground: true,
background: MaterialDynamicColors.highestSurface,
contrastCurve: ContrastCurve(1, 1, 3, 4.5),
toneDeltaPair:
(s) => ToneDeltaPair(
MaterialDynamicColors.primaryFixed,
MaterialDynamicColors.primaryFixedDim,
10,
TonePolarity.lighter,
true,
),
);