Map<int, Color> orange = const {50 : const Color(0xFFFFF3E0), 100 : const Color(0xFFFFE0B2), 200 : const Color(0xFFFFCC80), 300 : const Color(0xFFFFB74D), 400 : const Color(0xFFFFA726), 500 : const Color(0xFFFF9800), 600 : const Color(0xFFFB8C00), 700 : const Color(0xFFF57C00), 800 : const Color(0xFFEF6C00), 900 : const Color(0xFFE65100)}

The orange primary swatch.

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

See also:

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