deepPurpleAccent constant Null safety

MaterialAccentColor const deepPurpleAccent

The deep purple accent color and swatch.

  color: Colors.deepPurpleAccent[400],

See also:

  • deepPurple, the corresponding primary colors.
  • purpleAccent and indigoAccent, similar colors.
  • Theme.of, which allows you to select colors from the current theme rather than hard-coding colors in your build methods.


static const MaterialAccentColor deepPurpleAccent = MaterialAccentColor(
  <int, Color>{
    100: Color(0xFFB388FF),
    200: Color(_deepPurpleAccentPrimaryValue),
    400: Color(0xFF651FFF),
    700: Color(0xFF6200EA),