indigoAccent constant

MaterialAccentColor const indigoAccent = MaterialAccentColor(_indigoAccentPrimaryValue, <int, Color>{100 : Color(4287405823), 200 : Color(_indigoAccentPrimaryValue), 400 : Color(4282211070), 700 : Color(4281356286)})

The indigo accent color and swatch.

Icon(
  Icons.widgets,
  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.

Implementation

static const MaterialAccentColor indigoAccent = MaterialAccentColor(
  _indigoAccentPrimaryValue,
  <int, Color>{
    100: Color(0xFF8C9EFF),
    200: Color(_indigoAccentPrimaryValue),
    400: Color(0xFF3D5AFE),
    700: Color(0xFF304FFE),
  },
)