Skip to content

Commit a3f7e69

Browse files
author
Chris Yang
authored
[webview_flutter] add public documentation. (flutter#3114)
1 parent 3a5d9ed commit a3f7e69

File tree

3 files changed

+8
-1
lines changed

3 files changed

+8
-1
lines changed

packages/webview_flutter/CHANGELOG.md

+4
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

+3
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

+1-1
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)