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

outdated

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

57
likes
30
pub points
88%
popularity

Publisher

unverified uploader

Download and uncompress assets

Repository (GitHub)
View/report issues

License

Apache-2.0 (LICENSE)

Dependencies

archive, dio, flutter, path_provider

More

Packages that depend on download_assets