surface property

DynamicColor surface
getter/setter pair

Implementation

static DynamicColor surface = DynamicColor.fromPalette(
  name: 'surface',
  palette: (s) => s.neutralPalette,
  tone: (s) => s.isDark ? 6 : 98,
  isBackground: true,
);