loadUiImage static method
- Uint8List list
Returns an image loaded from data.
Implementation
static Future<ui.Image> loadUiImage(Uint8List list) async {
final Completer<ui.Image> completer = Completer<ui.Image>();
ui.decodeImageFromList(list, completer.complete);
return completer.future;
}