Map<int, Color> brown = const {50 : const Color(0xFFEFEBE9), 100 : const Color(0xFFD7CCC8), 200 : const Color(0xFFBCAAA4), 300 : const Color(0xFFA1887F), 400 : const Color(0xFF8D6E63), 500 : const Color(0xFF795548), 600 : const Color(0xFF6D4C41), 700 : const Color(0xFF5D4037), 800 : const Color(0xFF4E342E), 900 : const Color(0xFF3E2723)}

The brown primary swatch.

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

This swatch has no corresponding accent swatch.

See also:

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