orange constant

MaterialColor const orange = MaterialColor(_orangePrimaryValue, <int, Color>{50 : Color(4294964192), 100 : Color(4294959282), 200 : Color(4294954112), 300 : Color(4294948685), 400 : Color(4294944550), 500 : Color(_orangePrimaryValue), 600 : Color(4294675456), 700 : Color(4294278144), 800 : Color(4293880832), 900 : Color(4293284096)})

The orange primary color and swatch.

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

See also:

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

Implementation

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