limeAccent constant

MaterialAccentColor const limeAccent = const MaterialAccentColor(Colors._limeAccentPrimaryValue, const <int, Color>{100 : const Color(4294246273), 200 : const Color(Colors._limeAccentPrimaryValue), 400 : const Color(4291231488), 700 : const Color(4289653248)})

The lime accent primary color and swatch.

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

See also:

  • lime, the corresponding primary colors.
  • lightGreenAccent and yellowAccent, 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 limeAccent = MaterialAccentColor(
  _limeAccentPrimaryValue,
  <int, Color>{
    100: Color(0xFFF4FF81),
    200: Color(_limeAccentPrimaryValue),
    400: Color(0xFFC6FF00),
    700: Color(0xFFAEEA00),
  },
)