sepia constant

ColorFilter const sepia

A color filter that applies a sepia tone to the content.

This filter applies a color matrix that reduces the green and blue color channels, while enhancing the red color channel, giving the content a sepia tone.

Implementation

static const ColorFilter sepia = ColorFilter.matrix(<double>[
  0.393, 0.769, 0.189, 0, 0, //
  0.349, 0.686, 0.168, 0, 0, //
  0.272, 0.534, 0.131, 0, 0, //
  0, 0, 0, 1, 0, //
]);