WidgetAppLottie constructor

const WidgetAppLottie(
  1. String asset, {
  2. Key? key,
  3. double? width,
  4. double? height,
  5. BoxFit fit = BoxFit.contain,
  6. String? package,
  7. bool? repeat,
  8. bool? reverse,
  9. Animation<double>? controller,
  10. dynamic onLoaded,
})

Implementation

const WidgetAppLottie(
  this.asset, {
  super.key,
  this.width,
  this.height,
  this.fit = BoxFit.contain,
  this.package,
  this.repeat,
  this.reverse,
  this.controller,
  this.onLoaded,
});