highcharts_flutter_webwebview
Extended webview_flutter_web for Highcharts.
Additions:
addJavaScriptChanneldisposegetTitlemountedremoveJavaScriptChannelrunJavaScript
Development
- Use
flutter build webto build web target. - Use
flutter test --platform=chrometo run unit tests. - Use the following to run integration tests:
This requires to run(cd example && flutter drive -d chrome --driver=test_driver/integration_test.dart --target=integration_test/webview_flutter_test.dart)highcharts_flutter_testserver.
Following is the original README:
webview_flutter_web
This is an implementation of the webview_flutter plugin for web.
It is currently severely limited and doesn't implement most of the available functionality. The following functionality is currently available:
loadRequestloadHtmlString(WithoutbaseUrl)
Nothing else is currently supported.
Usage
This package is not an endorsed implementation of the webview_flutter plugin
yet, so it currently requires extra setup to use:
- Add this package
as an explicit dependency of your project, in addition to depending on
webview_flutter.
Once the step above is complete, the APIs from webview_flutter listed
above can be used as normal on web.