FileLottie constructor
FileLottie(
- File file, {
- LottieImageProviderFactory? imageProviderFactory,
- LottieDecoder? decoder,
- bool? backgroundLoading,
Implementation
FileLottie(
this.file, {
super.imageProviderFactory,
super.decoder,
super.backgroundLoading,
}) : assert(
!kIsWeb,
'Lottie.file is not supported on Flutter Web. '
'Consider using either Lottie.asset or Lottie.network instead.',
);