loadLottieFromAsset method

Future<Image> loadLottieFromAsset(
  1. String name
)

Загрузить Lottie JSON из assets.

Implementation

Future<sdk.Image> loadLottieFromAsset(String name) async {
  final data = await rootBundle.load(name);
  return _makeImage(data, sdk.ImageFormat.lottieJson);
}