lsd constant

ColorFilter const lsd

A color filter that applies a psychedelic effect to the content.

This filter applies a color matrix that enhances the red and blue color channels while reducing the green color channel, giving the content a psychedelic effect.

Implementation

static const ColorFilter lsd = ColorFilter.matrix(<double>[
  2, -0.4, 0.5, 0, 0, //
  -0.5, 2, -0.4, 0, 0, //
  -0.4, -0.5, 3, 0, 0, //
  0, 0, 0, 1, 0,
]);