render method

  1. @override
void render(
  1. Canvas canvas
)
override

Implementation

@override
void render(Canvas canvas) {
  if (cache == null) {
    return;
  }
  canvas.save();
  canvas.scale(1 / pixelRatio);
  canvas.drawImage(cache!, Offset.zero, _imagePaint);
  canvas.restore();
}