virtualh5p 1.0.0 copy "virtualh5p: ^1.0.0" to clipboard
virtualh5p: ^1.0.0 copied to clipboard

A Flutter package to view and serve H5P content locally using a static server and InAppWebView.

120/ 160
pub points
1
downloads

We analyzed this package 2 days ago, and awarded it 120 pub points (of a possible 160):

Failed report section
Follow Dart file conventions
20 / 30trigger folding of the section

Failed check 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:

  • repository can be cloned,
  • a clone of the repository contains a pubspec.yaml, which:,
    • contains name: virtualh5p,
    • contains a version property, and,
    • does not contain a publish_to property.

Passed check 5/5 points: Provide a valid README.md

Passed check 5/5 points: Provide a valid CHANGELOG.md

Passed check 10/10 points: Use an OSI-approved license

Detected license: MIT.

Failed report section
Provide documentation
10 / 20trigger folding of the section

Passed check 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.

Failed check 0/10 points: Package has an example

No example found.

See package layout guidelines on how to add an example.

Passed report section
Platform support
20 / 20trigger folding of the section

Passed check 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.dart that imports:
  • package:virtualh5p/local_web_view.dart that imports:
  • package:flutter_inappwebview/flutter_inappwebview.dart that declares support for platforms: Android, iOS, Windows, macOS, Web.
Package does not support platform `Web`.

Because:

  • package:virtualh5p/barrel.dart that imports:
  • package:virtualh5p/tempdir.dart that imports:
  • package:path_provider/path_provider.dart that declares support for platforms: Android, iOS, Windows, Linux, macOS.
Partially passed report section
Pass static analysis
40 / 50trigger folding of the section

Partially passed check 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

Failed report section
Support up-to-date dependencies
30 / 40trigger folding of the section

Failed check 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
Package Constraint Compatible Latest Notes
args - 2.7.0 2.7.0
async - 2.13.0 2.13.0
build_cli_annotations - 2.1.1 2.1.1
characters - 1.4.0 1.4.1
collection - 1.19.1 1.19.1
convert - 3.1.2 3.1.2
crypto - 3.0.7 3.0.7
dio_web_adapter - 2.1.1 2.1.1
ffi - 2.1.5 2.1.5
flutter_inappwebview_android - 1.1.3 1.1.3
flutter_inappwebview_internal_annotations - 1.2.0 1.2.0
flutter_inappwebview_ios - 1.1.2 1.1.2
flutter_inappwebview_macos - 1.1.2 1.1.2
flutter_inappwebview_platform_interface - 1.3.0+1 1.3.0+1
flutter_inappwebview_web - 1.1.2 1.1.2
flutter_inappwebview_windows - 0.6.0 0.6.0
http_parser - 4.1.2 4.1.2
material_color_utilities - 0.11.1 0.13.0
meta - 1.17.0 1.17.0
mime - 2.0.0 2.0.0
path - 1.9.1 1.9.1
path_provider_android - 2.2.22 2.2.22
path_provider_foundation - 2.5.1 2.5.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
permission_handler_android - 12.1.0 13.0.1
permission_handler_apple - 9.4.7 9.4.7
permission_handler_html - 0.1.3+5 0.1.3+5
permission_handler_platform_interface - 4.3.0 4.3.0
permission_handler_windows - 0.2.1 0.2.1
platform - 3.1.6 3.1.6
plugin_platform_interface - 2.1.8 2.1.8
posix - 6.0.3 6.0.3
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.2.0 2.2.0
web - 1.1.1 1.1.1
webview_flutter_android - 4.10.11 4.10.11
webview_flutter_platform_interface - 2.14.0 2.14.0
webview_flutter_wkwebview - 3.23.5 3.23.5
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 `^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.

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

Passed check 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.

Weekly downloads

Display as:
By versions:
0
likes
120
points
1
downloads

Publisher

unverified uploader

Weekly Downloads

A Flutter package to view and serve H5P content locally using a static server and InAppWebView.

Documentation

API reference

License

MIT (license)

Dependencies

archive, dhttpd, dio, flutter, flutter_inappwebview, path_provider, permission_handler, shelf, shelf_static, webview_flutter

More

Packages that depend on virtualh5p