Skip to content
This repository has been archived by the owner on Feb 22, 2023. It is now read-only.

Commit

Permalink
[webview_flutter] add public documentation. (#3114)
Browse files Browse the repository at this point in the history
  • Loading branch information
Chris Yang committed Oct 5, 2020
1 parent 3a5d9ed commit a3f7e69
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 1 deletion.
4 changes: 4 additions & 0 deletions packages/webview_flutter/CHANGELOG.md
@@ -1,3 +1,7 @@
## 1.0.1

* Add documentation for `WebViewPlatformCreatedCallback`.

## 1.0.0 - Out of developer preview 🎉.

* Bumped the minimal Flutter SDK to 1.22 where platform views are out of developer preview, and
Expand Down
3 changes: 3 additions & 0 deletions packages/webview_flutter/lib/platform_interface.dart
Expand Up @@ -471,6 +471,9 @@ class CreationParams {
}
}

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

Expand Down
2 changes: 1 addition & 1 deletion packages/webview_flutter/pubspec.yaml
@@ -1,6 +1,6 @@
name: webview_flutter
description: A Flutter plugin that provides a WebView widget on Android and iOS.
version: 1.0.0
version: 1.0.1
homepage: https://github.com/flutter/plugins/tree/master/packages/webview_flutter

environment:
Expand Down

0 comments on commit a3f7e69

Please sign in to comment.