greenAccent constant
The green accent color and swatch.
link
Icon(
Icons.widgets,
color: Colors.greenAccent[400],
)
See also:
- green, the corresponding primary colors.
- tealAccent, lightGreenAccent, and limeAccent, 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 greenAccent = MaterialAccentColor(
_greenAccentPrimaryValue,
<int, Color>{
100: Color(0xFFB9F6CA),
200: Color(_greenAccentPrimaryValue),
400: Color(0xFF00E676),
700: Color(0xFF00C853),
},
);