PrismLottie constructor

const PrismLottie({
  1. required double width,
  2. required double height,
  3. required double frameRate,
  4. required int frameCount,
  5. required bool loop,
  6. required int layers,
  7. required String version,
})

Creates a Lottie animation from parsed JSON.

Implementation

const PrismLottie({
  required this.width,
  required this.height,
  required this.frameRate,
  required this.frameCount,
  required this.loop,
  required this.layers,
  required this.version,
});