paint abstract method
Paint the scene.
Paint the updated objects after the update method.
box - the current render box of the widget.
context - the painting context during the paint phase.
Hints:
- Use the
box.sizeto get the render box size. - Use the
box.contextto get the build context. - Use the
context.canvasto draw the scene.
Implementation
void paint(covariant RePaintBox box, PaintingContext context);