blueAccent constant Null safety

MaterialAccentColor const blueAccent

The blue accent color and swatch.

  color: Colors.blueAccent[400],

See also:

  • blue, the corresponding primary colors.
  • indigoAccent and lightBlueAccent, 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 blueAccent = MaterialAccentColor(
  <int, Color>{
    100: Color(0xFF82B1FF),
    200: Color(_blueAccentPrimaryValue),
    400: Color(0xFF2979FF),
    700: Color(0xFF2962FF),