background_downloader 7.12.3 copy "background_downloader: ^7.12.3" to clipboard
background_downloader: ^7.12.3 copied to clipboard

A multi-platform background file downloader and uploader. Define the task, enqueue and monitor progress

337
likes
140/ 160
pub points
54.6k
downloads

We analyzed this package 3 days ago, and awarded it 140 pub points (of a possible 160):

OK
Follow Dart file conventions
30 / 30trigger folding of the section

10/10 points: Provide a valid pubspec.yaml

5/5 points: Provide a valid README.md

5/5 points: Provide a valid CHANGELOG.md

10/10 points: Use an OSI-approved license

Detected licenses: BSD-3-Clause, MIT.

OK
Provide documentation
20 / 20trigger folding of the section

10/10 points: 20% or more of the public API has dartdoc comments

263 out of 350 API elements (75.1 %) have documentation comments.

Some symbols that are missing documentation: background_downloader, background_downloader.Batch.batchProgressCallback, background_downloader.Batch.results, background_downloader.Batch.tasks, background_downloader.Config.

10/10 points: Package has an example

failed
Platform support
20 / 20trigger folding of the section

20/20 points: Supports 5 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)

  • ✓ Android

  • ✓ iOS

  • ✓ Windows

  • ✓ Linux

  • ✓ macOS

These platforms are not supported:

Package does not support platform `Web`.

Because:

  • package:background_downloader/background_downloader.dart that declares support for platforms: Android, iOS, Windows, Linux, macOS.

These issues are present but do not affect the score, because they may not originate in your package:

Package does not support platform `Windows`.

Because:

  • package:background_downloader/background_downloader.dart that imports:
  • package:background_downloader/src/queue/task_queue.dart that imports:
  • package:background_downloader/src/models.dart that imports:
  • package:background_downloader/src/desktop/desktop_downloader.dart that imports:
  • package:background_downloader/src/desktop/isolate.dart that imports:
  • package:background_downloader/src/desktop/parallel_download_isolate.dart that imports:
  • package:background_downloader/src/chunk.dart that imports:
  • package:background_downloader/src/file_downloader.dart that imports:
  • package:background_downloader/src/persistent_storage.dart that imports:
  • package:background_downloader/src/sqlite_storage.dart that imports:
  • package:sqflite/sqflite.dart that declares support for platforms: Android, iOS, macOS.
Package does not support platform `Linux`.

Because:

  • package:background_downloader/background_downloader.dart that imports:
  • package:background_downloader/src/queue/task_queue.dart that imports:
  • package:background_downloader/src/models.dart that imports:
  • package:background_downloader/src/desktop/desktop_downloader.dart that imports:
  • package:background_downloader/src/desktop/isolate.dart that imports:
  • package:background_downloader/src/desktop/parallel_download_isolate.dart that imports:
  • package:background_downloader/src/chunk.dart that imports:
  • package:background_downloader/src/file_downloader.dart that imports:
  • package:background_downloader/src/persistent_storage.dart that imports:
  • package:background_downloader/src/sqlite_storage.dart that imports:
  • package:sqflite/sqflite.dart that declares support for platforms: Android, iOS, macOS.

0/0 points: WASM compatibility

Package not compatible with runtime wasm

Because:

  • package:background_downloader/background_downloader.dart that imports:
  • package:background_downloader/src/queue/task_queue.dart that imports:
  • package:background_downloader/src/models.dart that imports:
  • package:background_downloader/src/web_downloader.dart that imports:
  • package:background_downloader/src/base_downloader.dart that imports:
  • package:background_downloader/src/persistent_storage.dart that imports:
  • package:background_downloader/src/sqlite_storage.dart that imports:
  • package:path_provider/path_provider.dart that imports:
  • package:path_provider_platform_interface/path_provider_platform_interface.dart that imports:
  • package:path_provider_platform_interface/src/method_channel_path_provider.dart that imports:
  • package:platform/platform.dart that imports:
  • package:platform/src/interface/local_platform.dart that imports:
  • dart:io

This package is not compatible with runtime wasm, and will not be rewarded full points in a future version of the scoring model.

See https://dart.dev/web/wasm for details.

0/0 points: Swift Package Manager support

Package does not support the Swift Package Manager on iOS

It does not contain ios/background_downloader/Package.swift.

This package for iOS or macOS does not support the Swift Package Manager. It will not receive full points in a future version of the scoring model.

See https://docs.flutter.dev/to/spm for details.

partial
Pass static analysis
40 / 50trigger folding of the section

40/50 points: code has no errors, warnings, lints, or formatting issues

Found 11 issues. Showing the first 2:

INFO: Use 'TypeName _' instead of a type literal.

lib/src/desktop/isolate.dart:342:10

    ╷
342 │     case IOException:
    │          ^^^^^^^^^^^
    ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/src/desktop/isolate.dart

INFO: Use 'TypeName _' instead of a type literal.

lib/src/desktop/isolate.dart:345:10

    ╷
345 │     case HttpException:
    │          ^^^^^^^^^^^^^
    ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/src/desktop/isolate.dart

failed
Support up-to-date dependencies
30 / 40trigger folding of the section

0/10 points: All of the package dependencies are supported in the latest version

Package Constraint Compatible Latest
async ^2.6.0 2.12.0 2.12.0
collection ^1.15.0 1.19.0 1.19.1
flutter flutter 0.0.0 0.0.0
http ^1.1.0 1.2.2 1.2.2
logging ^1.0.2 1.3.0 1.3.0
mime ^1.0.1 1.0.6 2.0.0
path ^1.8.1 1.9.1 1.9.1
path_provider ^2.0.2 2.1.5 2.1.5
sqflite ^2.2.8 2.4.1 2.4.1
Transitive dependencies
Package Constraint Compatible Latest
characters - 1.3.0 1.4.0
ffi - 2.1.3 2.1.3
http_parser - 4.1.1 4.1.1
material_color_utilities - 0.11.1 0.12.0
meta - 1.15.0 1.16.0
path_provider_android - 2.2.15 2.2.15
path_provider_foundation - 2.4.1 2.4.1
path_provider_linux - 2.2.1 2.2.1
path_provider_platform_interface - 2.1.2 2.1.2
path_provider_windows - 2.3.0 2.3.0
platform - 3.1.6 3.1.6
plugin_platform_interface - 2.1.8 2.1.8
sky_engine - 0.0.0 0.0.0
source_span - 1.10.1 1.10.1
sqflite_android - 2.4.0 2.4.0
sqflite_common - 2.5.4+6 2.5.4+6
sqflite_darwin - 2.4.1 2.4.1
sqflite_platform_interface - 2.4.0 2.4.0
string_scanner - 1.4.1 1.4.1
synchronized - 3.3.0+3 3.3.0+3
term_glyph - 1.2.2 1.2.2
typed_data - 1.4.0 1.4.0
vector_math - 2.1.4 2.1.4
web - 1.1.0 1.1.0
xdg_directories - 1.1.0 1.1.0

To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.

The constraint `^1.0.1` on mime does not support the stable version `2.0.0`.

Try running dart pub upgrade --major-versions mime to update the constraint.

10/10 points: Package supports latest stable Dart and Flutter SDKs

20/20 points: Compatible with dependency constraint lower bounds

pub downgrade does not expose any static analysis error.

Analyzed with Pana 0.22.17, Flutter 3.27.0, Dart 3.6.0.

Check the analysis log for details.

337
likes
140
points
54.6k
downloads

Publisher

verified publisherbbflight.com

Weekly Downloads

A multi-platform background file downloader and uploader. Define the task, enqueue and monitor progress

Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-3-Clause, MIT (license)

Dependencies

async, collection, flutter, http, logging, mime, path, path_provider, sqflite

More

Packages that depend on background_downloader