download_assets 2.1.0 copy "download_assets: ^2.1.0" to clipboard
download_assets: ^2.1.0 copied to clipboard

Download and uncompress assets

download_assets #

This package download and uncompress to local storage all assets that are not included in your app. Some files, like images, sometimes, must not be included in your build.

Supported platforms #

  • iOS
  • Android

Methods #

  • startDownload - It start the assets download.
    • assetsUrl: Full url to zipped file
    • onProgress: It returns the download progress (optional)
    • onError: Called when any errors ocurr (optional)
    • onComplete: Called when the download is completed (optional)
  • clearAssets - Clear all downloaded assets from local storage.
  • assets Downloaded - Returns true if the assets were already downloaded, otherwise it' returns false.

Example #

You can find an example here: https://github.com/edjostenes/download_assets/tree/master/example

60
likes
130
pub points
86%
popularity

Publisher

unverified uploader

Download and uncompress assets

Repository (GitHub)
View/report issues

Documentation

API reference

License

Apache-2.0 (license)

Dependencies

archive, dio, flutter, path_provider

More

Packages that depend on download_assets