deepOrangeAccent constant Null safety
The deep orange accent color and swatch.
Icon(
Icons.widgets,
color: Colors.deepOrangeAccent[400],
)
See also:
- deepOrange, the corresponding primary colors.
- orangeAccent redAccent, 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 deepOrangeAccent = MaterialAccentColor(
_deepOrangeAccentPrimaryValue,
<int, Color>{
100: Color(0xFFFF9E80),
200: Color(_deepOrangeAccentPrimaryValue),
400: Color(0xFFFF3D00),
700: Color(0xFFDD2C00),
},
);