orangeAccent constant Null safety

MaterialAccentColor const orangeAccent

The orange accent color and swatch.

  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.


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