tree: edf901f7a879d70294742bcca34505836c4d7096 [path history] [tgz]
  1. example/
  2. lib/
  3. test/
  4. AUTHORS
  5. CHANGELOG.md
  6. LICENSE
  7. pubspec.yaml
  8. README.md
packages/webview_flutter/webview_flutter_web/README.md

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 (Without baseUrl)

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