shareapks 0.0.2
shareapks: ^0.0.2 copied to clipboard
share apk through webserver and direct
We analyzed this package 5 days ago, and awarded it 80 pub points (of a possible 160):
0/10 points: Provide a valid pubspec.yaml
The package description is too short.
Add more detail to the description
field of pubspec.yaml
. Use 50 to 180 characters to describe the package, what it does, and its target use case.
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: BSD-3-Clause
.
0/10 points: 20% or more of the public API has dartdoc comments
6 out of 80 API elements (7.5 %) 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.
To highlight public API members missing documentation consider enabling the public_member_api_docs
lint.
Some symbols that are missing documentation: MyProvider
, MyProvider.MyProvider
, MyProvider.MyProvider.MyProvider.new
, MyProvider.MyProvider.hotspotip
, MyProvider.MyProvider.iptext
.
10/10 points: Package has an example
20/20 points: Supports 1 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
- ✓ Android
These platforms are not supported:
Package does not support platform `iOS`.
Because:
package:shareapks/shareapks.dart
that declares support for platforms:Android
.
Package does not support platform `Windows`.
Because:
package:shareapks/shareapks.dart
that declares support for platforms:Android
.
Package does not support platform `Linux`.
Because:
package:shareapks/shareapks.dart
that declares support for platforms:Android
.
Package does not support platform `macOS`.
Because:
package:shareapks/shareapks.dart
that declares support for platforms:Android
.
Package does not support platform `Web`.
Because:
package:shareapks/shareapks.dart
that declares support for platforms:Android
.
0/0 points: WASM compatibility
Unable to detect compatibility with runtime wasm
, and this package will not be rewarded full points in a future version of the scoring model.
See https://dart.dev/web/wasm for details.
0/50 points: code has no errors, warnings, lints, or formatting issues
Found 47 issues. Showing the first 2:
ERROR: The argument type 'QrImage' can't be assigned to the parameter type 'Widget?'.
lib/shareapk.dart:27:24
╷
27 │ child: QrImage(
│ ┌────────────────────────^
28 │ │ data: "http://$ip:12345",
29 │ │ version: QrVersions.auto,
30 │ │ size: 200.0,
31 │ │ ),
│ └─────────────────^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/shareapk.dart
ERROR: 1 positional argument expected by 'QrImage.new', but 0 found.
lib/shareapk.dart:28:19
╷
28 │ data: "http://$ip:12345",
│ ^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/shareapk.dart
0/10 points: All of the package dependencies are supported in the latest version
Package | Constraint | Compatible | Latest | Notes |
---|---|---|---|---|
android_util |
^0.0.1 |
0.0.6 | 0.0.6 | |
http |
^0.13.3 |
0.13.6 | 1.3.0 | |
http_parser |
^4.0.0 |
4.1.2 | 4.1.2 | |
mime |
^1.0.0 |
1.0.6 | 2.0.0 | |
path_provider |
^2.0.3 |
2.1.5 | 2.1.5 | |
provider |
^6.0.0 |
6.1.4 | 6.1.4 | |
qr_flutter |
^4.0.0 |
4.1.0 | 4.1.0 | |
shelf |
^1.2.0 |
1.4.2 | 1.4.2 | |
shelf_router |
^1.1.1 |
1.1.4 | 1.1.4 | |
shelf_static |
^1.1.0 |
1.1.3 | 1.1.3 |
Transitive dependencies
Package | Constraint | Compatible | Latest | Notes |
---|---|---|---|---|
async |
- | 2.13.0 | 2.13.0 | |
characters |
- | 1.4.0 | 1.4.0 | |
collection |
- | 1.19.1 | 1.19.1 | |
convert |
- | 3.1.2 | 3.1.2 | |
ffi |
- | 2.1.4 | 2.1.4 | |
http_methods |
- | 1.1.1 | 1.1.1 | |
material_color_utilities |
- | 0.11.1 | 0.12.0 | |
meta |
- | 1.16.0 | 1.16.0 | |
nested |
- | 1.0.0 | 1.0.0 | |
path |
- | 1.9.1 | 1.9.1 | |
path_provider_android |
- | 2.2.16 | 2.2.16 | |
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 | |
qr |
- | 3.0.2 | 3.0.2 | |
source_span |
- | 1.10.1 | 1.10.1 | |
stack_trace |
- | 1.12.1 | 1.12.1 | |
stream_channel |
- | 2.1.4 | 2.1.4 | |
string_scanner |
- | 1.4.1 | 1.4.1 | |
term_glyph |
- | 1.2.2 | 1.2.2 | |
typed_data |
- | 1.4.0 | 1.4.0 | |
vector_math |
- | 2.1.4 | 2.1.4 | |
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 `^0.13.3` on http does not support the stable version `1.0.0`.
Try running dart pub upgrade --major-versions http
to update the constraint.
The constraint `^1.0.0` 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.20
, Flutter 3.29.2
, Dart 3.7.2
.
Check the analysis log for details.