toImage method

Image toImage()

Convert Bitmap buffer into a Flutter Image widget.

Implementation

Image toImage() {
  return Image.memory(_imageData);
}