amberAccent constant

MaterialAccentColor const amberAccent = const MaterialAccentColor(Colors._amberAccentPrimaryValue, const <int, Color>{100 : const Color(4294960511), 200 : const Color(Colors._amberAccentPrimaryValue), 400 : const Color(4294951936), 700 : const Color(4294945536)})

The amber accent color and swatch.

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