lightGreenAccent constant Null safety
The light green accent color and swatch.
Icon(
Icons.widgets,
color: Colors.lightGreenAccent[400],
)
See also:
- lightGreen, the corresponding primary colors.
- greenAccent 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 lightGreenAccent = MaterialAccentColor(
_lightGreenAccentPrimaryValue,
<int, Color>{
100: Color(0xFFCCFF90),
200: Color(_lightGreenAccentPrimaryValue),
400: Color(0xFF76FF03),
700: Color(0xFF64DD17),
},
);