toMatrix method Null safety

  1. @override
Matrix4 toMatrix()
override

Creates a transformation matrix that applies the devicePixelRatio.

Implementation

@override
Matrix4 toMatrix() => _paintMatrix.clone();