render method
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,
);
}