decodeImg method

Future<Image?> decodeImg()

Implementation

Future<ui.Image?> decodeImg() async {
  return await decodeImageFromList(widget.originImage.readAsBytesSync());
}