The Apple WKWebView implementation of webview_flutter
.
This package is endorsed, which means you can simply use webview_flutter
normally. This package will be automatically included in your app when you do.
This package uses pigeon to generate the communication layer between Flutter and the host platform (iOS). The communication interface is defined in the pigeons/web_kit.dart
file. After editing the communication interface regenerate the communication layer by running flutter pub run pigeon --input pigeons/web_kit.dart
.
Besides pigeon this package also uses mockito to generate mock objects for testing purposes. To generate the mock objects run the following command:
flutter pub run build_runner build --delete-conflicting-outputs
If you would like to contribute to the plugin, check out our contribution guide.