indigoAccent constant

MaterialAccentColor const indigoAccent

The indigo accent color and swatch.

link
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),
  },
);