orangeAccent constant

MaterialAccentColor const orangeAccent = const MaterialAccentColor(_orangeAccentPrimaryValue, const <int, Color> {100 : const Color(0xFFFFD180), 200 : const Color(_orangeAccentPrimaryValue), 400 : const Color(0xFFFF9100), 700 : const Color(0xFFFF6D00)})

The orange accent color and swatch.

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

See also:

  • orange, the corresponding primary colors.
  • amberAccent and deepOrangeAccent, 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 MaterialAccentColor orangeAccent = MaterialAccentColor(
  _orangeAccentPrimaryValue,
  <int, Color>{
    100: Color(0xFFFFD180),
    200: Color(_orangeAccentPrimaryValue),
    400: Color(0xFFFF9100),
    700: Color(0xFFFF6D00),
  },
)