pinkAccent constant Null safety
The pink accent color swatch.
Icon(
Icons.widgets,
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.
Implementation
static const MaterialAccentColor pinkAccent = MaterialAccentColor(
_pinkAccentPrimaryValue,
<int, Color>{
100: Color(0xFFFF80AB),
200: Color(_pinkAccentPrimaryValue),
400: Color(0xFFF50057),
700: Color(0xFFC51162),
},
);