public override void paint(Canvas canvas, Size size) { _skottie.paint(canvas, Offset.zero, size.width, size.height, _frame); }
public override void paint(PaintingContext context, Offset offset) { _skottie.paint(context.canvas, offset, _width ?? 0, _height ?? 0, _frame); }