dloader 1.2.5 dloader: ^1.2.5 copied to clipboard
A simple and versatile library for downloading files with support for adapters including dio, curl, wget, powershell, aria2 and axel. Feel free to create new adapters.
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add dloader
This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get
):
dependencies:
dloader: ^1.2.5
Alternatively, your editor might support dart pub get
. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:dloader/dloader.dart';