flutter_upchunk 2.0.2 copy "flutter_upchunk: ^2.0.2" to clipboard
flutter_upchunk: ^2.0.2 copied to clipboard

A chunk uploader based on the JS library https://github.com/muxinc/upchunk done by MUX, Inc.

13
likes
130/ 140
pub points
77%
popularity

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

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 license: MIT.

OK
Provide documentation
20 / 20trigger folding of the section

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

35 out of 38 API elements (92.1 %) have documentation comments.

Some symbols that are missing documentation: flutter_upchunk, flutter_upchunk.UpChunk, flutter_upchunk.UpChunk.stop.

10/10 points: Package has an example

OK
Platform support
20 / 20trigger folding of the section

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

  • ✓ Android
  • ✓ iOS
  • ✓ Windows
  • ✓ Linux
  • ✓ macOS
  • ✓ Web

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

Package does not support platform `Android`.

Because:

  • package:flutter_upchunk/flutter_upchunk.dart that imports:
  • package:flutter_upchunk/src/up_chunk.dart that imports:
  • package:internet_connection_checker_plus/internet_connection_checker_plus.dart that imports:
  • package:connectivity_plus/connectivity_plus.dart that imports:
  • package:connectivity_plus/src/connectivity_plus_linux.dart that imports:
  • package:nm/nm.dart that declares support for platforms: Linux.
Package does not support platform `iOS`.

Because:

  • package:flutter_upchunk/flutter_upchunk.dart that imports:
  • package:flutter_upchunk/src/up_chunk.dart that imports:
  • package:internet_connection_checker_plus/internet_connection_checker_plus.dart that imports:
  • package:connectivity_plus/connectivity_plus.dart that imports:
  • package:connectivity_plus/src/connectivity_plus_linux.dart that imports:
  • package:nm/nm.dart that declares support for platforms: Linux.
Package does not support platform `Windows`.

Because:

  • package:flutter_upchunk/flutter_upchunk.dart that imports:
  • package:flutter_upchunk/src/up_chunk.dart that imports:
  • package:internet_connection_checker_plus/internet_connection_checker_plus.dart that imports:
  • package:connectivity_plus/connectivity_plus.dart that imports:
  • package:connectivity_plus/src/connectivity_plus_linux.dart that imports:
  • package:nm/nm.dart that declares support for platforms: Linux.
Package does not support platform `macOS`.

Because:

  • package:flutter_upchunk/flutter_upchunk.dart that imports:
  • package:flutter_upchunk/src/up_chunk.dart that imports:
  • package:internet_connection_checker_plus/internet_connection_checker_plus.dart that imports:
  • package:connectivity_plus/connectivity_plus.dart that imports:
  • package:connectivity_plus/src/connectivity_plus_linux.dart that imports:
  • package:nm/nm.dart that declares support for platforms: Linux.
partial
Pass static analysis
40 / 50trigger folding of the section

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

Found 14 issues. Showing the first 2:

INFO: Statements in an if should be enclosed in a block.

lib/src/up_chunk.dart:177:7

    ╷
177 │       throw new Exception('chunkSize must be a positive number in multiples of 64');
    │       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    ╵

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

INFO: Statements in an if should be enclosed in a block.

lib/src/up_chunk.dart:180:7

    ╷
180 │       throw new Exception('retries must be a positive number');
    │       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    ╵

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

OK
Support up-to-date dependencies
20 / 20trigger folding of the section

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

Package Constraint Compatible Latest
cross_file ^0.3.3+8 0.3.4+1 0.3.4+1
dio ^5.4.0 5.4.3+1 5.4.3+1
flutter flutter 0.0.0 0.0.0
internet_connection_checker_plus ^2.2.0 2.3.0 2.3.0
mime ^1.0.5 1.0.5 1.0.5
Transitive dependencies
Package Constraint Compatible Latest
args - 2.5.0 2.5.0
async - 2.11.0 2.11.0
characters - 1.3.0 1.3.0
collection - 1.18.0 1.18.0
connectivity_plus - 6.0.3 6.0.3
connectivity_plus_platform_interface - 2.0.0 2.0.0
dbus - 0.7.10 0.7.10
ffi - 2.1.2 2.1.2
flutter_web_plugins - 0.0.0 0.0.0
http - 1.2.1 1.2.1
http_parser - 4.0.2 4.0.2
material_color_utilities - 0.8.0 0.11.1
meta - 1.11.0 1.15.0
nm - 0.5.0 0.5.0
path - 1.9.0 1.9.0
petitparser - 6.0.2 6.0.2
plugin_platform_interface - 2.1.8 2.1.8
sky_engine - 0.0.99 0.0.99
source_span - 1.10.0 1.10.0
string_scanner - 1.2.0 1.2.0
term_glyph - 1.2.1 1.2.1
typed_data - 1.3.2 1.3.2
vector_math - 2.1.4 2.1.4
web - 0.5.1 0.5.1
xml - 6.5.0 6.5.0

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

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

Analyzed with Pana 0.22.3, Flutter 3.19.6, Dart 3.3.4.

Check the analysis log for details.

13
likes
130
pub points
77%
popularity

Publisher

unverified uploader

A chunk uploader based on the JS library https://github.com/muxinc/upchunk done by MUX, Inc.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (LICENSE)

Dependencies

cross_file, dio, flutter, internet_connection_checker_plus, mime

More

Packages that depend on flutter_upchunk