Skip to content

Commit 5b3b2e8

Browse files
committed
fixed doc comment, merge maain
1 parent 30750ed commit 5b3b2e8

File tree

3 files changed

+8
-2
lines changed

3 files changed

+8
-2
lines changed

packages/webview_flutter/webview_flutter_android/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## 3.4.0
2+
3+
* Adds support to set text zoom of a page. See `AndroidWebViewController.setTextZoom`.
4+
15
## 3.3.2
26

37
* Updates compileSdkVersion to 33.

packages/webview_flutter/webview_flutter_android/lib/src/android_webview_controller.dart

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -355,7 +355,9 @@ class AndroidWebViewController extends PlatformWebViewController {
355355
return _webView.settings.setMediaPlaybackRequiresUserGesture(require);
356356
}
357357

358-
/// Sets the text zoom of the page in percent. The default is 100.
358+
/// Sets the text zoom of the page in percent.
359+
///
360+
/// The default is 100.
359361
Future<void> setTextZoom(int textZoom) =>
360362
_webView.settings.setTextZoom(textZoom);
361363

packages/webview_flutter/webview_flutter_android/pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: webview_flutter_android
22
description: A Flutter plugin that provides a WebView widget on Android.
33
repository: https://github.com/flutter/packages/tree/main/packages/webview_flutter/webview_flutter_android
44
issue_tracker: https://github.com/flutter/flutter/issues?q=is%3Aissue+is%3Aopen+label%3A%22p%3A+webview%22
5-
version: 3.3.2
5+
version: 3.4.0
66

77
environment:
88
sdk: ">=2.17.0 <3.0.0"

0 commit comments

Comments
 (0)