grey constant

MaterialColor const grey = const MaterialColor(Colors._greyPrimaryValue, const <int, Color>{50 : const Color(4294638330), 100 : const Color(4294309365), 200 : const Color(4293848814), 300 : const Color(4292927712), 350 : const Color(4292269782), 400 : const Color(4290624957), 500 : const Color(Colors._greyPrimaryValue), 600 : const Color(4285887861), 700 : const Color(4284572001), 800 : const Color(4282532418), 850 : const Color(4281348144), 900 : const Color(4280361249)})

The grey primary color and swatch.

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 ThemeData.brightness.

Icon(
  Icons.widgets,
  color: Colors.grey[400],
)

See also:

Implementation

static const MaterialColor grey = MaterialColor(
  _greyPrimaryValue,
  <int, Color>{
     50: Color(0xFFFAFAFA),
    100: Color(0xFFF5F5F5),
    200: Color(0xFFEEEEEE),
    300: Color(0xFFE0E0E0),
    350: Color(0xFFD6D6D6), // only for raised button while pressed in light theme
    400: Color(0xFFBDBDBD),
    500: Color(_greyPrimaryValue),
    600: Color(0xFF757575),
    700: Color(0xFF616161),
    800: Color(0xFF424242),
    850: Color(0xFF303030), // only for background color in dark theme
    900: Color(0xFF212121),
  },
)