dl 1.0.6 copy "dl: ^1.0.6" to clipboard
dl: ^1.0.6 copied to clipboard

Simple library to download files easily.

Dart DL #

Simple library to download files easily.

Tests

Features #

  • Uses native dart:io to get data.
  • Ability to parse different kind of files.

Usage #

import 'dart:io';
import 'import:dl/dl.dart';

Future<void> main() async {
    const downloader = Downloader(provider: RawDLProvider());
    final res = await downloader.downloadToFile(
        Uri.parse('https://jaspervdj.be/lorem-markdownum/markdown.txt'),
        File('lipsum.md'),
        overwriteFile: true,
    );

    await res.asFuture();
}

Checkout /example folder for examples.

0
likes
120
points
45
downloads

Publisher

unverified uploader

Weekly Downloads

Simple library to download files easily.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

More

Packages that depend on dl