Stream<Uint8List> getImagesData( List<Future<Uint8List>> allData, ) async* { for (final data in allData) { yield await data; } }