drawPicture method

void drawPicture (Picture picture)

Draw the given picture onto the canvas. To create a picture, see PictureRecorder.

Implementation

void drawPicture(Picture picture) {
  assert(picture != null); // picture is checked on the engine side
  _drawPicture(picture);
}