network_file 2.0.0
network_file: ^2.0.0 copied to clipboard

A dead simple Dart library, to find and share files across devices on a network.

0
likes
60 / 110
pub points
28 %
popularity

We analyzed this package on Apr 13, 2021, and awarded it 60 pub points (of a possible 110):

Follow Dart file conventions
20 / 20

10/10 points: Provide a valid pubspec.yaml

5/5 points: Provide a valid README.md

5/5 points: Provide a valid CHANGELOG.md

Provide documentation
0 / 20

0/10 points: Package has an example

No example found.

See package layout guidelines on how to add an example.

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

  • 0 out of 39 API elements (0.0 %) have documentation comments.

Providing good documentation for libraries, classes, functions, and other API elements improves code readability and helps developers find and use your API. Document at least 20% of the public API elements.

Support multiple platforms
10 / 20

10/20 points: Supports 2 of 3 possible platforms (iOS, Android, Web)

Consider supporting multiple platforms:

Package not compatible with runtime flutter-web on Web

Because:

  • package:network_file/network_file.dart that imports:
  • package:http_server/http_server.dart that imports:
  • package:http_server/src/http_multipart_form_data.dart that imports:
  • package:http_server/src/http_multipart_form_data_impl.dart that imports:
  • dart:io
Pass static analysis
20 / 30

20/30 points: code has no errors, warnings, lints, or formatting issues

INFO: 'await' applied to 'void', which is not a 'Future'.

lib/network_file.dart:183:7

    ╷
183 │       await onFileServerRequest(req, rootDir, serveFile);
    │       ^^^^^
    ╵

To reproduce make sure you are using pedantic and run flutter analyze lib/network_file.dart

Support up-to-date dependencies
10 / 20

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

PackageConstraintCompatibleLatest
crypto^2.0.62.1.53.0.1
flutterflutter0.0.00.0.0
http_server^0.9.8+10.9.8+31.0.0
logging^0.11.3+20.11.41.0.1
path^1.6.21.8.01.8.0
Transitive dependencies
PackageConstraintCompatibleLatest
characters-1.1.01.1.0
charcode-1.2.01.2.0
collection-1.15.01.15.0
convert-2.1.13.0.0
meta-1.3.01.3.0
mime-0.9.71.0.0
sky_engine-0.0.990.0.99
typed_data-1.3.01.3.0
vector_math-2.1.02.1.0

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

Found 3 issues. Showing the first 2:

The constraint `^2.0.6` on crypto does not support the stable version `3.0.0`.

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

The constraint `^0.9.8+1` on http_server does not support the stable version `1.0.0`, that was published 25 days ago.

When http_server is 30 days old, this package will no longer be awarded points in this category.

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

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

Analysed with Pana 0.15.4, Flutter 2.0.4, Dart 2.12.2.

0
likes
60
pub points
28%
popularity

A dead simple Dart library, to find and share files across devices on a network.

Repository (GitHub)
View/report issues

Documentation

API reference

Uploader

devxpy@gmail.com

License

MIT (LICENSE)

Dependencies

crypto, flutter, http_server, logging, path

More

Packages that depend on network_file