v1.0.1
download
Descarregador de arquivos multiplataforma para projetos Dart e Flutter.
82Curtidas 12,3 milDownloads em 30 dias140Pontos Pub
AndroidiOSWebmacOSWindowsLinux
Descarregador de arquivos multiplataforma para projetos Dart e Flutter.
Texto original em inglês. Visite o GitHub para a versão atual.
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.