loadImageFromPath static method
Implementation
static Future<Image?> loadImageFromPath(String path) async {
try {
final file = File(path);
return loadImageFromBytes(await file.readAsBytes());
} catch (err) {
debugPrint("loadImageFromPath error : $err");
return null;
}
}