download library

Cross-Platform file downloader for Dart and Flutter projects.

Functions

download(Stream<int> stream, String filename) Future<void>
Downloads a file from a stream into the destination filename.
downloadData(Uint8List data, String filename) Future<void>
Downloads a file from data into the destination filename.
downloadUrl(String url, [String? filename]) Future<void>
Downloads a file from a url into the destination filename.