lightGreenAccent constant

MaterialAccentColor const lightGreenAccent = MaterialAccentColor(_lightGreenAccentPrimaryValue, <int, Color>{100 : Color(4291624848), 200 : Color(_lightGreenAccentPrimaryValue), 400 : Color(4285988611), 700 : Color(4284800279)})

The light green accent color and swatch.

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

See also:

  • lightGreen, the corresponding primary colors.
  • greenAccent and limeAccent, 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 lightGreenAccent = MaterialAccentColor(
  _lightGreenAccentPrimaryValue,
  <int, Color>{
    100: Color(0xFFCCFF90),
    200: Color(_lightGreenAccentPrimaryValue),
    400: Color(0xFF76FF03),
    700: Color(0xFF64DD17),
  },
)