amberAccent constant

MaterialAccentColor const amberAccent

The amber accent color and swatch.

link
Icon(
  Icons.widgets,
  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.

Implementation

static const MaterialAccentColor amberAccent = MaterialAccentColor(
  _amberAccentPrimaryValue,
  <int, Color>{
    100: Color(0xFFFFE57F),
    200: Color(_amberAccentPrimaryValue),
    400: Color(0xFFFFC400),
    700: Color(0xFFFFAB00),
  },
);