drawPicture method

Graphics drawPicture(
  1. Picture picture
)

Adds a picture to the list of drawings commands to render.

The method returns this, which allows for method chaining.

Implementation

Graphics drawPicture(ui.Picture picture) {
  _drawingQueue.add(GraphicsDrawingData()..picture = picture);
  return this;
}