RawLottie constructor

const RawLottie({
  1. Key? key,
  2. LottieComposition? composition,
  3. LottieDelegates? delegates,
  4. LottieOptions? options,
  5. double? progress,
  6. FrameRate? frameRate,
  7. double? width,
  8. double? height,
  9. BoxFit? fit,
  10. AlignmentGeometry? alignment,
  11. FilterQuality? filterQuality,
  12. RenderCache? renderCache,
})

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,
  this.renderCache,
})  : progress = progress ?? 0.0,
      alignment = alignment ?? Alignment.center;