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.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add virtualh5pThis will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):
dependencies:
virtualh5p: ^1.0.0Alternatively, 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';