greyscale top-level constant

ColorFilter const greyscale

Implementation

const ColorFilter greyscale = ColorFilter.matrix(<double>[
  0.333,
  0.333,
  0.333,
  0,
  0,
  0.333,
  0.333,
  0.333,
  0,
  0,
  0.333,
  0.333,
  0.333,
  0,
  0,
  0,
  0,
  0,
  1,
  0,
]);