surfaceBright property

DynamicColor surfaceBright
getter/setter pair

Implementation

static DynamicColor surfaceBright = DynamicColor.fromPalette(
  name: 'surface_bright',
  palette: (s) => s.neutralPalette,
  tone: (s) =>
      s.isDark ? ContrastCurve(24, 24, 29, 34).get(s.contrastLevel) : 98,
  isBackground: true,
);