paint method

  1. @override
void paint(
  1. Canvas canvas,
  2. Offset screenOffset,
  3. Offset canvasOffset,
  4. double scale,
  5. Size canvasSize,
)
override

draw the backround on this context. Implement this to have different kinds of backgrounds screenOffset is the screen space offset for clipping canvasOffset is the grid space offset from the controller

Implementation

@override
void paint(
  Canvas canvas,
  Offset screenOffset,
  Offset canvasOffset,
  double scale,
  Size canvasSize,
) {}