surfaceDim property

DynamicColor surfaceDim
getter/setter pair

Implementation

static 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,
);