al_downloader 1.0.1 al_downloader: ^1.0.1 copied to clipboard
A downloader that manages download tasks by url rather than task id, simplifies download status, provides convenient download handler, and so on.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add al_downloader
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
al_downloader: ^1.0.1
Alternatively, your editor might support flutter pub get
. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:al_downloader/al_downloader.dart';