Skip to content

Commit edc333c

Browse files
Chris Yangjorgefspereira
Chris Yang
authored andcommitted
[webview_flutter] add public documentation. (flutter#3114)
1 parent 25784f4 commit edc333c

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
@@ -477,6 +477,9 @@ class CreationParams {
477477
}
478478
}
479479

480+
/// Signature for callbacks reporting that a [WebViewPlatformController] was created.
481+
///
482+
/// See also the `onWebViewPlatformCreated` argument for [WebViewPlatform.build].
480483
typedef WebViewPlatformCreatedCallback = void Function(
481484
WebViewPlatformController webViewPlatformController);
482485

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)