memory static method

dynamic memory(
  1. Uint8List bytes, {
  2. double? height,
  3. double? width,
})

Implementation

static memory(Uint8List bytes,{double? height,double? width}){
  return Lottie.memory(
      bytes,
      height: 100,
      width: 100
  );
}