vintage constant
ColorFilter
const vintage
A color filter that applies a vintage effect to the content.
This filter applies a color matrix that reduces the green and blue color channels, while enhancing the red color channel, and applies a slight vignette to the content, giving it a vintage, aged appearance.
Implementation
static const ColorFilter vintage = ColorFilter.matrix(<double>[
//
0.6279345635605994, 0.3202183420819367, -0.03965408211312453, 0,
9.651285835294123,
//
0.02578397704808868, 0.6441188644374771, 0.03259127616149294, 0,
7.462829176470591,
//
0.0466055556782719, -0.0851232987247891, 0.5241648018700465, 0,
5.159190588235296,
//
0, 0, 0, 1, 0,
]);