blitTo method
Blit the retained frame at integer pixel origin (1:1, no rescale).
Implementation
void blitTo(Canvas canvas) {
final img = _image;
if (img != null) {
canvas.drawImage(
img,
Offset.zero,
Paint()..filterQuality = FilterQuality.none,
);
return;
}
final pic = _picture;
if (pic != null) canvas.drawPicture(pic);
}