Future<Uint8List?> loadImageMobile(String localRef) async { final file = io.File(localRef); if (await file.exists()) { return await file.readAsBytes(); } return null; }