updateAndPaint method

void updateAndPaint(
  1. PaintingContext context,
  2. Matrix4 transform,
  3. Size viewport,
  4. Size content, {
  5. Offset? origin,
})

Implementation

void updateAndPaint(
    PaintingContext context, Matrix4 transform, Size viewport, Size content,
    {Offset? origin}) {
  update(transform, viewport, content);
  paint(context, viewport, origin: origin);
}