fetchResource method
Fetches the image resource from the asset bundle.
Implementation
@override
Future<Uint8List?> fetchResource(String src) async {
src = "$pathPrefix$src";
ByteData content = await bundle.load(src);
return content.buffer.asUint8List();
}