lime constant

MaterialColor const lime = MaterialColor(_limePrimaryValue, <int, Color>{50 : Color(4294573031), 100 : Color(4293981379), 200 : Color(4293324444), 300 : Color(4292667253), 400 : Color(4292141399), 500 : Color(_limePrimaryValue), 600 : Color(4290824755), 700 : Color(4289705003), 800 : Color(4288584996), 900 : Color(4286740247)})

The lime primary color and swatch.

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

See also:

  • limeAccent, the corresponding accent colors.
  • lightGreen and yellow, 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 MaterialColor lime = MaterialColor(
  _limePrimaryValue,
  <int, Color>{
     50: Color(0xFFF9FBE7),
    100: Color(0xFFF0F4C3),
    200: Color(0xFFE6EE9C),
    300: Color(0xFFDCE775),
    400: Color(0xFFD4E157),
    500: Color(_limePrimaryValue),
    600: Color(0xFFC0CA33),
    700: Color(0xFFAFB42B),
    800: Color(0xFF9E9D24),
    900: Color(0xFF827717),
  },
)