webview_flutter_wkwebview_hk 3.9.3 copy "webview_flutter_wkwebview_hk: ^3.9.3" to clipboard
webview_flutter_wkwebview_hk: ^3.9.3 copied to clipboard

discontinued
PlatformiOS

A Flutter plugin that provides a WebView widget based on Apple's WKWebView control,iOS Custom version.

webview_flutter_wkwebview #

The Apple WKWebView implementation of webview_flutter.

Usage #

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, so you do not need to add it to your pubspec.yaml.

However, if you import this package to use any of its APIs directly, you should add it to your pubspec.yaml as usual.

External Native API #

The plugin also provides a native API accessible by the native code of iOS applications or packages. This API follows the convention of breaking changes of the Dart API, which means that any changes to the class that are not backwards compatible will only be made with a major version change of the plugin. Native code other than this external API does not follow breaking change conventions, so app or plugin clients should not use any other native APIs.

The API can be accessed by importing the native plugin webview_flutter_wkwebview:

Objective-C:

@import webview_flutter_wkwebview;

Then you will have access to the native class FWFWebViewFlutterWKWebViewExternalAPI.

Contributing #

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 dart 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:

dart run build_runner build --delete-conflicting-outputs

If you would like to contribute to the plugin, check out our contribution guide.

0
likes
140
points
39
downloads

Publisher

unverified uploader

Weekly Downloads

A Flutter plugin that provides a WebView widget based on Apple's WKWebView control,iOS Custom version.

Repository (GitHub)
View/report issues

Topics

#html #webview #webview-flutter

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

flutter, path, webview_flutter_platform_interface

More

Packages that depend on webview_flutter_wkwebview_hk