Image getImageFromImage(Uint8List bytes, double width) { var i = Image.memory( bytes, fit: BoxFit.fill, width: width, ); return i; }