isolated_download_manager_flutter 1.0.3 copy "isolated_download_manager_flutter: ^1.0.3" to clipboard
isolated_download_manager_flutter: ^1.0.3 copied to clipboard

Flutter ready-to-use widgets to simplify usage of isolated_download_manager package

Ready-to-use Flutter widgets to download files in isolates using isolated_download_manager package

Preview #

Flutter Download Manager - iPhone 14 Pro Max

Getting started #

Include latest version from pub.dev to pubspec.yaml

Usage #

There are just two widgets:

  • DownloadWidget - to represent UI of DownloadRequest object state.

    DownloadWidget(
      request: request, 
      builder: (context, state, progress, error) {
        // UI goes here 
      }
    )
    

    Full example code

  • DownloadUrlWidget - simplified version where DownloadRequest is stored internally (accessed via builder).

    // using just an url
    DownloadUrlWidget(
      url: url, 
      path: path, 
      controller: controller, // optional
      builder: (context, controller, state, progress, error, request) {
        // UI goes here 
      }
    );
    

    The controller allows to access task outside of widget builder's body. Full example code

Feature-rich example available at complex example directory

13
likes
160
pub points
67%
popularity

Publisher

verified publisherstarkdev.org

Flutter ready-to-use widgets to simplify usage of isolated_download_manager package

Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

flutter, isolated_download_manager

More

Packages that depend on isolated_download_manager_flutter