flutter_downloader library

  • author: hunghd
  • email: hunghd.yb@gmail.com

A plugin provides the capability of creating and managing background download tasks. This plugin depends on native api to run background tasks, so these tasks aren't restricted by the limitation of Dart codes (in term of running background tasks out of scope of a Flutter application). Using native api also take benefit of memory and battery management.

All task information is saved in a Sqlite database, it gives a Flutter application benefit of either getting rid of managing task information manually or querying task data with SQL statements easily.

Classes

DownloadTask
A model class encapsulates all task information according to data in Sqlite database. [...]
DownloadTaskStatus
A class defines a set of possible statuses of a download task
FlutterDownloader
A convenient class wraps all api functions of FlutterDownloader plugin

Typedefs

DownloadCallback(String id, DownloadTaskStatus status, int progress) → void
A signature function for download progress updating callback [...]