surfaceBright property

DynamicColor surfaceBright
final

Implementation

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