background property

DynamicColor background
getter/setter pair

Get DynamicColor for background.

Implementation

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