orangeAccent constant Null safety

MaterialAccentColor const orangeAccent

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