yellowAccent constant Null safety

MaterialAccentColor const yellowAccent

The yellow accent color and swatch.

  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.


static const MaterialAccentColor yellowAccent = MaterialAccentColor(
  <int, Color>{
    100: Color(0xFFFFFF8D),
    200: Color(_yellowAccentPrimaryValue),
    400: Color(0xFFFFEA00),
    700: Color(0xFFFFD600),