fromPath method
filePath
- path of the file to be loaded
Implementation
@override
Future<Texture?> fromPath(String filePath) async{
final loader = ImageLoader(manager,flipY);
loader.setPath(path);
final ImageElement? image = await loader.fromPath(filePath);
return _textureProcess(image,path+filePath);
}