indigoAccent constant

MaterialAccentColor const indigoAccent

The indigo accent color and swatch.

  color: Colors.indigoAccent[400],

See also:

  • indigo, the corresponding primary colors.
  • blueAccent and deepPurpleAccent, 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 indigoAccent = MaterialAccentColor(
  <int, Color>{
    100: Color(0xFF8C9EFF),
    200: Color(_indigoAccentPrimaryValue),
    400: Color(0xFF3D5AFE),
    700: Color(0xFF304FFE),