# ColorFilter.matrix constructor

const ColorFilter.matrix(List<double> matrix)

Construct a color filter that transforms a color by a 4x5 matrix. The matrix is in row-major order and the translation column is specified in unnormalized, 0...255, space.

## Implementation

    const ColorFilter.matrix(List<double> matrix)
        : _color = null,
          _blendMode = null,
          _matrix = matrix,
          _type = _TypeMatrix;