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

Extended version of original dio package.

Ability to continue downloading interrupted files.

Features #

Downloading files with continuing downloading interrupted files

Getting started #

  // ability to continue downloading interrupted files
  CustomDio customDio = CustomDio();

Usage #

  await customDio.download(
    'url',
    'savePath',
    cancelToken: cancelToken,
    deleteIfExist: false,
    headers: {},
    onReceiveProgress: (total, received, chunkSize) {},
  );

  // to cancel
  cancelToken.cancel();

Just like that #

2
likes
130
points
27
downloads

Publisher

unverified uploader

Weekly Downloads

Extended version of original dio package.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

More

Packages that depend on dio_plus