pinkAccent constant Null safety

MaterialAccentColor const pinkAccent

The pink accent color swatch.

  color: Colors.pinkAccent[400],

See also:

  • pink, the corresponding primary colors.
  • redAccent and purpleAccent, 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 pinkAccent = MaterialAccentColor(
  <int, Color>{
    100: Color(0xFFFF80AB),
    200: Color(_pinkAccentPrimaryValue),
    400: Color(0xFFF50057),
    700: Color(0xFFC51162),