render method

void render(
  1. Canvas canvas
)

Implementation

void render(Canvas canvas) {
  if (_paintArea.isEmpty) {
    return;
  }
  paintImage(
    canvas: canvas,
    image: parallaxRenderer.image,
    rect: _paintArea,
    repeat: parallaxRenderer.repeat,
    scale: _scale,
    alignment: parallaxRenderer.alignment,
    filterQuality: parallaxRenderer.filterQuality,
  );
}