fetchResource method
Fetches the image resource from the file system.
Implementation
@override
Future<Uint8List?> fetchResource(String src) async {
src = "$pathPrefix$src";
File file = File(src);
Uint8List bytes = await file.readAsBytes();
return bytes;
}