LottieBuilder constructor

const LottieBuilder({
  1. Key? key,
  2. required LottieProvider lottie,
  3. Animation<double>? controller,
  4. FrameRate? frameRate,
  5. bool? animate,
  6. bool? reverse,
  7. bool? repeat,
  8. LottieDelegates? delegates,
  9. LottieOptions? options,
  10. void onLoaded(
    1. LottieComposition
    )?,
  11. LottieFrameBuilder? frameBuilder,
  12. ImageErrorWidgetBuilder? errorBuilder,
  13. double? width,
  14. double? height,
  15. BoxFit? fit,
  16. AlignmentGeometry? alignment,
  17. bool? addRepaintBoundary,
  18. FilterQuality? filterQuality,
  19. WarningCallback? onWarning,
})

Implementation

const LottieBuilder({
  Key? key,
  required this.lottie,
  this.controller,
  this.frameRate,
  this.animate,
  this.reverse,
  this.repeat,
  this.delegates,
  this.options,
  this.onLoaded,
  this.frameBuilder,
  this.errorBuilder,
  this.width,
  this.height,
  this.fit,
  this.alignment,
  this.addRepaintBoundary,
  this.filterQuality,
  this.onWarning,
}) : super(key: key);