Map<int, Color>
teal =
const {50 : const Color(0xFFE0F2F1), 100 : const Color(0xFFB2DFDB), 200 : const Color(0xFF80CBC4), 300 : const Color(0xFF4DB6AC), 400 : const Color(0xFF26A69A), 500 : const Color(0xFF009688), 600 : const Color(0xFF00897B), 700 : const Color(0xFF00796B), 800 : const Color(0xFF00695C), 900 : const Color(0xFF004D40)}
The teal primary swatch.
new Icon(
icon: Icons.widgets,
color: Colors.teal[400],
),
See also:
- tealAccent, the corresponding accent colors.
- of, which allows you to select colors from the current theme
rather than hard-coding colors in your build methods.