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

outdated

Simple library to download files.

Dart DL #

Simple library to download files.

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
0
points
41
downloads

Publisher

unverified uploader

Weekly Downloads

Simple library to download files.

Homepage
Repository (GitHub)
View/report issues

License

unknown (license)

More

Packages that depend on dl