v1.0.1
download
Cross-Platform file downloader for Dart and Flutter projects.
82Likes 17.1K30-day downloads140Pub points
AndroidiOSWebmacOSWindowsLinux
Cross-Platform file downloader for Dart and Flutter projects.
English project snapshot. Visit GitHub for the latest content.
Cross-Platform file downloader for Dart and Flutter projects.
Supports these platforms:
There are a few caveats about this package:
In your pubspec.yaml file add:
dependencies:
download: any
Then, in your code import:
import 'package:download/download.dart';
final stream = Stream.fromIterable('Hello World!'.codeUnits);
download(stream, 'hello.txt');
or
import 'package:http/http.dart';
const url = 'http://example.com';
final stream = get(url);
download(stream, 'hello.txt');
Please refer to /example folder for a working example.
Please feel free to contribute to the project or file an issue.
Start with your use case, compare repository activity, and check the original project before adopting it.
“A repository is the most basic element of GitHub.”
GitHub Docs — About repositories ↗