MaterialAccentColor constructor

const MaterialAccentColor(
  1. int primary,
  2. Map<int, Color> swatch
)

Creates a color swatch with a variety of shades appropriate for accent colors.

Implementation

const MaterialAccentColor(super.primary, super.swatch);