Skip to content

Commit 0927b3a

Browse files
Chris YangEgor
authored andcommitted
[webview_flutter] add public documentation. (flutter#3114)
1 parent c037496 commit 0927b3a

File tree

3 files changed

+8
-1
lines changed

3 files changed

+8
-1
lines changed

packages/webview_flutter/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## 1.0.1
2+
3+
* Add documentation for `WebViewPlatformCreatedCallback`.
4+
15
## 1.0.0 - Out of developer preview 🎉.
26

37
* Bumped the minimal Flutter SDK to 1.22 where platform views are out of developer preview, and

packages/webview_flutter/lib/platform_interface.dart

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -471,6 +471,9 @@ class CreationParams {
471471
}
472472
}
473473

474+
/// Signature for callbacks reporting that a [WebViewPlatformController] was created.
475+
///
476+
/// See also the `onWebViewPlatformCreated` argument for [WebViewPlatform.build].
474477
typedef WebViewPlatformCreatedCallback = void Function(
475478
WebViewPlatformController webViewPlatformController);
476479

packages/webview_flutter/pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: webview_flutter
22
description: A Flutter plugin that provides a WebView widget on Android and iOS.
3-
version: 1.0.0
3+
version: 1.0.1
44
homepage: https://github.com/flutter/plugins/tree/master/packages/webview_flutter
55

66
environment:

0 commit comments

Comments
 (0)