getImageProvider method

ImageProvider<Object>? getImageProvider(
  1. LottieImageAsset lottieImage
)
inherited

Implementation

ImageProvider? getImageProvider(LottieImageAsset lottieImage) {
  var imageProvider = fromDataUri(lottieImage.fileName);
  if (imageProvider == null && imageProviderFactory != null) {
    imageProvider = imageProviderFactory!(lottieImage);
  }
  return imageProvider;
}