Greys constructor

const Greys()

Ten shades of grey; the higher the index, the darker the color.

There are 10 valid indexes

  • 0, ultra light ≡ 50
  • 1, very light ≡ 100
  • 2, light ≡ 200
  • 3, lighter ≡ 300
  • 4, bit lighter ≡ 400
  • 5, primary ≡ 500
  • 6, bit darker ≡ 600
  • 7, darker ≡ 700
  • 8, dark ≡ 800
  • 9, very dark ≡ 900

Implementation

const Greys()
    // coverage:ignore-start
    : super(
        const [
          Grey.ultraLight(),
          Grey.veryLight(),
          Grey.light(),
          Grey.lighter(),
          Grey.bitLighter(),
          Grey(),
          Grey.bitDarker(),
          Grey.darker(),
          Grey.dark(),
          Grey.veryDark(),
        ],
      );