paintFlare method
Implementation
@override
void paintFlare(Canvas canvas, Mat2D viewTransform) {
if (_actor == null) {
return;
}
if (!Mat2D.areEqual(_lastControllerViewTransform, viewTransform)) {
Mat2D.copy(_lastControllerViewTransform, viewTransform);
controller?.setViewTransform(viewTransform);
}
_artboard.draw(canvas);
}