LottieContent constructor

const LottieContent({
  1. String? url,
  2. String? asset,
  3. bool repeat = false,
  4. double width = 100,
  5. double height = 100,
  6. String? id,
})

Implementation

const LottieContent({
  this.url,
  this.asset,
  this.repeat = false,
  this.width = 100,
  this.height = 100,
  super.id,
})  : assert(url != null || asset != null, 'Either url or asset must be set'),
      super(contentType: type);