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 (Without baseUrl)Nothing else is currently supported.
This package is not an endorsed implementation of the webview_flutter plugin yet, so it currently requires extra setup to use:
webview_flutter.Once the step above is complete, the APIs from webview_flutter listed above can be used as normal on web.
Tests are contained in the test directory. You can run all tests from the root of the package with the following command:
$ flutter test --platform chrome
This package uses package:mockito in some tests. Mock files can be updated from the root of the package like so:
$ flutter pub run build_runner build --delete-conflicting-outputs