getImageFromPickedFile method
Implementation
Image getImageFromPickedFile(PickedFile filePicked, double witdh) {
Uint8List bytes;
var file = File(filePicked.path);
bytes = file.readAsBytesSync();
var i = Image.memory(bytes, width: witdh);
return i;
}