virtualh5p 1.0.0
virtualh5p: ^1.0.0 copied to clipboard
A Flutter package to view and serve H5P content locally using a static server and InAppWebView.
We analyzed this package 2 days ago, and awarded it 120 pub points (of a possible 160):
0/10 points: Provide a valid pubspec.yaml
Failed to verify repository URL.
pubspec.yaml from the repository has no repository or homepage URL.
Please provide a valid repository URL in pubspec.yaml, such that:
repositorycan be cloned,- a clone of the repository contains a
pubspec.yaml, which:,- contains
name: virtualh5p, - contains a
versionproperty, and, - does not contain a
publish_toproperty.
- contains
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.
10/10 points: 20% or more of the public API has dartdoc comments
21 out of 53 API elements (39.6 %) have documentation comments.
Some symbols that are missing documentation: config, config.H5PLoadStatus, config.H5PLoadStatusText, config.H5PLoadStatusText.H5PLABEL, constants.
0/10 points: Package has an example
No example found.
See package layout guidelines on how to add an example.
20/20 points: Supports 4 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
-
✓ Android
-
✓ iOS
-
✓ Windows
-
✓ macOS
These platforms are not supported:
Package does not support platform `Linux`.
Because:
package:virtualh5p/barrel.dartthat imports:package:virtualh5p/local_web_view.dartthat imports:package:flutter_inappwebview/flutter_inappwebview.dartthat declares support for platforms:Android,iOS,Windows,macOS,Web.
Package does not support platform `Web`.
Because:
package:virtualh5p/barrel.dartthat imports:package:virtualh5p/tempdir.dartthat imports:package:path_provider/path_provider.dartthat declares support for platforms:Android,iOS,Windows,Linux,macOS.
40/50 points: code has no errors, warnings, lints, or formatting issues
INFO: 'onLoadHttpError' is deprecated and shouldn't be used. Use onReceivedHttpError instead.
lib/local_web_view.dart:52:13
╷
52 │ onLoadHttpError: (controller, url, statusCode, description) {
│ ^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/local_web_view.dart
0/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
archive |
^4.0.7 |
4.0.7 | 4.0.7 | |
dhttpd |
^4.1.0 |
4.1.0 | 4.1.0 | |
dio |
^5.9.0 |
5.9.0 | 5.9.0 | |
flutter_inappwebview |
^6.1.5 |
6.1.5 | 6.1.5 | |
path_provider |
^2.1.5 |
2.1.5 | 2.1.5 | |
permission_handler |
^11.3.1 |
11.4.0 | 12.0.1 | |
shelf |
^1.4.2 |
1.4.2 | 1.4.2 | |
shelf_static |
^1.1.3 |
1.1.3 | 1.1.3 | |
webview_flutter |
^4.10.0 |
4.13.1 | 4.13.1 |
Transitive dependencies
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.
The constraint `^11.3.1` on permission_handler does not support the stable version `12.0.0`.
Try running dart pub upgrade --major-versions permission_handler 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.23.5, Flutter 3.38.5, Dart 3.10.4.
Check the analysis log for details.