RawLottie constructor
const
RawLottie({
- Key? key,
- LottieComposition? composition,
- LottieDelegates? delegates,
- LottieOptions? options,
- double? progress,
- FrameRate? frameRate,
- double? width,
- double? height,
- BoxFit? fit,
- AlignmentGeometry? alignment,
- FilterQuality? filterQuality,
Creates a widget that displays a Lottie composition.
Implementation
const RawLottie({
super.key,
this.composition,
this.delegates,
this.options,
double? progress,
this.frameRate,
this.width,
this.height,
this.fit,
AlignmentGeometry? alignment,
this.filterQuality,
}) : progress = progress ?? 0.0,
alignment = alignment ?? Alignment.center;