surfaceContainer property

DynamicColor surfaceContainer
final

Implementation

static final DynamicColor surfaceContainer = DynamicColor.fromPalette(
  name: 'surface_container',
  palette: (s) => s.neutralPalette,
  tone:
      (s) =>
          s.isDark
              ? ContrastCurve(12, 12, 16, 20).get(s.contrastLevel)
              : ContrastCurve(94, 94, 92, 90).get(s.contrastLevel),
  isBackground: true,
);