surfaceDim property

DynamicColor surfaceDim
final

Implementation

static final DynamicColor surfaceDim = DynamicColor.fromPalette(
  name: 'surface_dim',
  palette: (s) => s.neutralPalette,
  tone:
      (s) =>
          s.isDark ? 6 : ContrastCurve(87, 87, 80, 75).get(s.contrastLevel),
  isBackground: true,
);