|
|
|
|
|
|
public int _round = 0; |
|
|
|
public float _frame = 0; |
|
|
|
public float _duration = 0; |
|
|
|
public Size _size = null; |
|
|
|
public Lottie(string path, float frame = 0, int round = -1) { |
|
|
|
public Lottie(string path, float frame = 0, Size size = null, int round = -1) { |
|
|
|
_size = size; |
|
|
|
} |
|
|
|
|
|
|
|
public override State createState() { |
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
return new CustomPaint( |
|
|
|
size: Size.infinite, |
|
|
|
size: widget._size, |
|
|
|
painter: new LottiePainter( |
|
|
|
skottie: widget._skottie, |
|
|
|
frame: _frame |
|
|
|