Skip to content

Commit 78de28c

Browse files
[webview_flutter_platform_interface] Updates platform interface to new interface (#6846)
* Set new interface in main * update pubspec changelog and readme * exclude from all plugins app test * delete all of platform interface * add all back to platform interface
1 parent 3a093e4 commit 78de28c

File tree

58 files changed

+606
-1539
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

58 files changed

+606
-1539
lines changed

packages/webview_flutter/webview_flutter_platform_interface/CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
## 2.0.0
2+
3+
* **Breaking Change**: Releases new interface. See [documentation](https://pub.dev/documentation/webview_flutter_platform_interface/2.0.0/) and [design doc](https://flutter.dev/go/webview_flutter_4_interface)
4+
for more details.
5+
* **Breaking Change**: Removes MethodChannel implementation of interface. All platform
6+
implementations will now need to create their own by implementing `WebViewPlatform`.
7+
18
## 1.9.5
29

310
* Updates code for `no_leading_underscores_for_local_identifiers` lint.

packages/webview_flutter/webview_flutter_platform_interface/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,10 @@ same interface.
99
# Usage
1010

1111
To implement a new platform-specific implementation of `webview_flutter`, extend
12-
[`WebviewPlatform`](lib/src/platform_interface/webview_platform.dart) with an implementation that performs the
12+
[`WebviewPlatform`](lib/src/webview_platform.dart) with an implementation that performs the
1313
platform-specific behavior, and when you register your plugin, set the default
1414
`WebviewPlatform` by calling
15-
`WebviewPlatform.setInstance(MyPlatformWebview())`.
15+
`WebviewPlatform.instance = MyPlatformWebview()`.
1616

1717
# Note on breaking changes
1818

0 commit comments

Comments
 (0)