Downloads a file as a lazy Stream<Uint8List>, streaming the bytes instead of buffering the whole file into memory like download().
StorageException on the stream before any bytes are emitted.download() for large files to keep memory usage low.buckets permissions: noneobjects permissions: selectThe full path and file name of the file to be downloaded. For example folder/image.png.
Adds a `cacheNonce` query parameter to bypass CDN caching for a specific file version.
Transform the asset before serving it to the client.
final Stream<Uint8List> stream = supabase
.storage
.from('avatars')
.downloadStream('avatar1.png');
await for (final chunk in stream) {
// Handle each chunk of bytes as it arrives
}