orange constant

MaterialColor const orange

The orange primary color and swatch.

link
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),
  },
);