yellowAccent constant

MaterialAccentColor const yellowAccent

The yellow accent color and swatch.

link
Icon(
  Icons.widgets,
  color: Colors.yellowAccent[400],
)

See also:

  • yellow, the corresponding primary colors.
  • limeAccent and amberAccent, 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 yellowAccent = MaterialAccentColor(
  _yellowAccentPrimaryValue,
  <int, Color>{
    100: Color(0xFFFFFF8D),
    200: Color(_yellowAccentPrimaryValue),
    400: Color(0xFFFFEA00),
    700: Color(0xFFFFD600),
  },
);