blueAccent constant Null safety
The blue accent color and swatch.
Icon(
Icons.widgets,
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.
Implementation
static const MaterialAccentColor blueAccent = MaterialAccentColor(
_blueAccentPrimaryValue,
<int, Color>{
100: Color(0xFF82B1FF),
200: Color(_blueAccentPrimaryValue),
400: Color(0xFF2979FF),
700: Color(0xFF2962FF),
},
);