The grey primary swatch.
new Icon(
icon: Icons.widgets,
color: Colors.grey[400],
),
This swatch has no corresponding accent swatch.
This swatch, in addition to the values 50 and 100 to 900 in 100 increments, also features the special values 350 and 850. The 350 value is used for raised button while pressed in light themes, and 850 is used for the background color of the dark theme. See brightness.
See also:
- of, which allows you to select colors from the current theme rather than hard-coding colors in your build methods.