amberAccent constant Null safety

MaterialAccentColor const amberAccent

The amber accent color and swatch.

  color: Colors.amberAccent[400],

See also:

  • amber, the corresponding primary colors.
  • yellowAccent and orangeAccent, 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 amberAccent = MaterialAccentColor(
  <int, Color>{
    100: Color(0xFFFFE57F),
    200: Color(_amberAccentPrimaryValue),
    400: Color(0xFFFFC400),
    700: Color(0xFFFFAB00),