AnimatedLottieNetwork constructor
const
AnimatedLottieNetwork({
- Key? assetKey,
- required String path,
- Animation<
double> ? controller, - bool? animate = true,
- FrameRate? frameRate,
- bool? repeat,
- bool? reverse,
- LottieDelegates? delegates,
- LottieOptions? options,
- void onLoaded(
- LottieComposition
- ImageProvider<
Object> ? imageProviderFactory(- LottieImageAsset
- AssetBundle? bundle,
- Widget frameBuilder(
- BuildContext,
- Widget,
- LottieComposition?
- Widget errorBuilder()?,
- double? width,
- double? height,
- BoxFit? fit = BoxFit.cover,
- AlignmentGeometry? alignment,
- String? package,
- bool? addRepaintBoundary,
- FilterQuality? filterQuality,
- void onWarning()?,
- String? pushNamed,
- Future<
void> ? future,
Implementation
const AnimatedLottieNetwork({
Key? assetKey,
required this.path,
this.controller,
this.animate = true,
this.frameRate,
this.repeat,
this.reverse,
this.delegates,
this.options,
this.onLoaded,
this.imageProviderFactory,
this.bundle,
this.frameBuilder,
this.errorBuilder,
this.width,
this.height,
this.fit = BoxFit.cover,
this.alignment,
this.package,
this.addRepaintBoundary,
this.filterQuality,
this.onWarning,
this.pushNamed,
this.future,
}) : super(key: assetKey);