LottieDrawable constructor
LottieDrawable(
- LottieComposition composition, {
- LottieDelegates? delegates,
- FrameRate? frameRate,
Implementation
LottieDrawable(this.composition, {LottieDelegates? delegates, this.frameRate})
: size = Size(composition.bounds.width.toDouble(),
composition.bounds.height.toDouble()) {
this.delegates = delegates;
_compositionLayer = CompositionLayer(
this, LayerParser.parse(composition), composition.layers, composition);
}