surfaceBright property

DynamicColor surfaceBright
getter/setter pair

Get DynamicColor for surfaceBright.

Implementation

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