ImageFilter.matrix constructor
Creates an image filter that applies a matrix transformation.
For example, applying a positive scale matrix (see new Matrix4.diagonal3
)
when used with BackdropFilter
would magnify the background image.
Implementation
ImageFilter.matrix(Float64List matrix4,
{ FilterQuality filterQuality: FilterQuality.low }) {
if (matrix4.length != 16)
throw new ArgumentError('"matrix4" must have 16 entries.');
_constructor();
_initMatrix(matrix4, filterQuality.index);
}