draw method

void draw(
  1. BitmapDrawable source, [
  2. Matrix? matrix
])

Implementation

void draw(BitmapDrawable source, [Matrix? matrix]) {
  final updateBatch = BitmapDataUpdateBatch(this);
  updateBatch.draw(source, matrix);
  updateBatch.update();
}