download_manager 1.0.0 copy "download_manager: ^1.0.0" to clipboard
download_manager: ^1.0.0 copied to clipboard

outdated

A package for automatically downloading and storing files. You can use this package to pass a list of files which will be downloaded and stored, with notifications sent via a stream when a file has be [...]

example/main.dart

import 'dart:io';

import 'package:download_manager/download_manager.dart';

void main() {

  File testFile = File("Testfile");
  if (testFile.existsSync()) {
    testFile.deleteSync();
  }

  DownloadManager.instance.add(DownloadableFileBasic(() => "Test string", testFile));

  print(testFile.readAsStringSync());
}
8
likes
0
pub points
20%
popularity

Publisher

unverified uploader

A package for automatically downloading and storing files. You can use this package to pass a list of files which will be downloaded and stored, with notifications sent via a stream when a file has been downloaded. You can also pass a date so that the package will only download the new file if it is newer than a perviously downloaded version.

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

flutter, shared_preferences

More

Packages that depend on download_manager