Map<int, Color> lightGreen = const {50 : const Color(0xFFF1F8E9), 100 : const Color(0xFFDCEDC8), 200 : const Color(0xFFC5E1A5), 300 : const Color(0xFFAED581), 400 : const Color(0xFF9CCC65), 500 : const Color(0xFF8BC34A), 600 : const Color(0xFF7CB342), 700 : const Color(0xFF689F38), 800 : const Color(0xFF558B2F), 900 : const Color(0xFF33691E)}

The light green primary swatch.

 new Icon(
   icon: Icons.widgets,
   color: Colors.lightGreen[400],
 ),

See also:

  • lightGreenAccent, the corresponding accent colors.
  • of, which allows you to select colors from the current theme rather than hard-coding colors in your build methods.