iosWebViewFix/flutter_inappwebview_platfo...
Lorenzo Pichilli 26f0235c98 updated analysis options 2023-11-27 18:41:59 +01:00
..
lib created flutter_inappwebview_web, updated web_support.js path 2023-11-27 12:09:17 +01:00
test updated analysis options 2023-11-27 18:41:59 +01:00
.gitignore first commit federated-plugin 2023-11-17 23:28:11 +01:00
.metadata first commit federated-plugin 2023-11-17 23:28:11 +01:00
CHANGELOG.md updated CHANGELOG and LICENSE 2023-11-27 12:11:26 +01:00
LICENSE updated CHANGELOG and LICENSE 2023-11-27 12:11:26 +01:00
README.md updated README 2023-11-27 18:32:38 +01:00
analysis_options.yaml updated analysis options 2023-11-27 18:41:59 +01:00
build.yaml created flutter_inappwebview_macos 2023-11-27 09:46:37 +01:00
pubspec.yaml updated pubspec.yaml 2023-11-27 08:49:57 +01:00

README.md

flutter_inappwebview_platform_interface

A common platform interface for the [flutter_inappwebview][https://pub.dev/packages/flutter_inappwebview] plugin.

This interface allows platform-specific implementations of the flutter_inappwebview plugin, as well as the plugin itself, to ensure they are supporting the same interface.

Usage

To implement a new platform-specific implementation of flutter_inappwebview, extend InAppWebViewPlatform with an implementation that performs the platform-specific behavior, and when you register your plugin, set the default InAppWebViewPlatform by calling InAppWebViewPlatform.instance = MyPlatformWebview().

Note on breaking changes

Strongly prefer non-breaking changes (such as adding a method to the interface) over breaking changes for this package.

See https://flutter.dev/go/platform-interface-breaking-changes for a discussion on why a less-clean interface is preferable to a breaking change.