memory static method
Implementation
static Lottie memory(
Uint8List bytes, {
Key? key,
double? width,
double? height,
bool? animate,
bool? repeat,
bool? reverse,
double? renderScale,
void Function(ThorvgController)? onLoaded,
}) {
return Lottie(
key: key,
data: parseMemory(bytes),
width: width ?? 0,
height: height ?? 0,
animate: animate ?? true,
repeat: repeat ?? true,
reverse: reverse ?? false,
renderScale: renderScale ?? 1.0,
onLoaded: onLoaded,
);
}