webview_flutter_web 0.2.3+2 webview_flutter_web: ^0.2.3+2 copied to clipboard
A Flutter plugin that provides a WebView widget on web.
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:
loadRequest
loadHtmlString
(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.
Tests #
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