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(int primary, Map<int, Color> swatch) : super(primary, swatch);