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.
We analyzed this package on Apr 13, 2021, and awarded it 60 pub points (of a possible 110):
10/10 points: Provide a valid pubspec.yaml
5/5 points: Provide a valid README.md
5/5 points: Provide a valid CHANGELOG.md
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.
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
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
0/10 points: All of the package dependencies are supported in the latest version
Package | Constraint | Compatible | Latest |
---|---|---|---|
crypto | ^2.0.6 | 2.1.5 | 3.0.1 |
flutter | flutter | 0.0.0 | 0.0.0 |
http_server | ^0.9.8+1 | 0.9.8+3 | 1.0.0 |
logging | ^0.11.3+2 | 0.11.4 | 1.0.1 |
path | ^1.6.2 | 1.8.0 | 1.8.0 |
Transitive dependencies
Package | Constraint | Compatible | Latest |
---|---|---|---|
characters | - | 1.1.0 | 1.1.0 |
charcode | - | 1.2.0 | 1.2.0 |
collection | - | 1.15.0 | 1.15.0 |
convert | - | 2.1.1 | 3.0.0 |
meta | - | 1.3.0 | 1.3.0 |
mime | - | 0.9.7 | 1.0.0 |
sky_engine | - | 0.0.99 | 0.0.99 |
typed_data | - | 1.3.0 | 1.3.0 |
vector_math | - | 2.1.0 | 2.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
.