fromBytes method
bytes
- the loaded bytes of the file
Implementation
@override
Future<Texture?> fromBytes(Uint8List bytes) async{
final String url = String.fromCharCodes(bytes).toString().substring(0,50);
final ImageElement? image = await ImageLoader(manager,flipY).fromBytes(bytes);
return _textureProcess(image,url);
}