LottieBuilder.memory constructor
LottieBuilder.memory(
- Uint8List bytes, {
- Animation<
double> ? controller, - FrameRate? frameRate,
- bool? animate,
- bool? reverse,
- bool? repeat,
- LottieDelegates? delegates,
- LottieOptions? options,
- LottieImageProviderFactory? imageProviderFactory,
- void onLoaded()?,
- ImageErrorWidgetBuilder? errorBuilder,
- Key? key,
- LottieFrameBuilder? frameBuilder,
- double? width,
- double? height,
- BoxFit? fit,
- AlignmentGeometry? alignment,
- bool? addRepaintBoundary,
- FilterQuality? filterQuality,
- WarningCallback? onWarning,
Creates a widget that displays an LottieComposition obtained from a Uint8List.
Implementation
LottieBuilder.memory(
Uint8List bytes, {
this.controller,
this.frameRate,
this.animate,
this.reverse,
this.repeat,
this.delegates,
this.options,
LottieImageProviderFactory? imageProviderFactory,
this.onLoaded,
this.errorBuilder,
super.key,
this.frameBuilder,
this.width,
this.height,
this.fit,
this.alignment,
this.addRepaintBoundary,
this.filterQuality,
this.onWarning,
}) : lottie = MemoryLottie(bytes, imageProviderFactory: imageProviderFactory);