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.

Use this package as a library

Depend on it

Run this command:

With Flutter:

 $ flutter pub add virtualh5p

This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):

dependencies:
  virtualh5p: ^1.0.0

Alternatively, your editor might support flutter pub get. Check the docs for your editor to learn more.

Import it

Now in your Dart code, you can use:

import 'package:virtualh5p/barrel.dart';
import 'package:virtualh5p/config.dart';
import 'package:virtualh5p/example/constants.dart';
import 'package:virtualh5p/example/test_view.dart';
import 'package:virtualh5p/h5p_loader.dart';
import 'package:virtualh5p/local_server.dart';
import 'package:virtualh5p/local_web_view.dart';
import 'package:virtualh5p/lumi_h5p.dart';
import 'package:virtualh5p/tempdir.dart';
0
likes
120
points
7
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