render method

void render(
  1. Canvas canvas, {
  2. BlendMode? blendMode,
  3. Rect? cullRect,
  4. Paint? paint,
})

Implementation

void render(
  Canvas canvas, {
  BlendMode? blendMode,
  Rect? cullRect,
  Paint? paint,
}) {
  canvas.drawAtlas(
    atlas,
    transforms,
    rects,
    colors,
    blendMode ?? defaultBlendMode,
    cullRect ?? defaultCullRect,
    paint ?? defaultPaint,
  );
}