Captures and returns an image of the current canvas viewport.
Future<ui.Image?> captureImage() async => await canvasDelegate?.captureImage();