FileLottie constructor

FileLottie(
  1. File file, {
  2. LottieImageProviderFactory? imageProviderFactory,
  3. LottieDecoder? decoder,
  4. 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.',
      );