render method

void render(
  1. Canvas canvas, {
  2. Paint? overridePaint,
  3. Vector2? size,
  4. Vector2? position,
})

Implementation

void render(
  Canvas canvas, {
  Paint? overridePaint,
  Vector2? size,
  Vector2? position,
}) {
  _animationTicker?.getSprite().render(
        canvas,
        size: size ?? this.size,
        overridePaint: overridePaint,
        position: position ?? this.position,
      );
}