v1.0.1
download
Plattformübergreifender Datei-Downloader für Dart- und Flutter-Projekte.
82Likes 12.30030-Tage-Downloads140Pub-Punkte
AndroidiOSWebmacOSWindowsLinux
Plattformübergreifender Datei-Downloader für Dart- und Flutter-Projekte.
Englischer Projektschnappschuss. Aktuelle Inhalte auf GitHub.
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.