File tree 3 files changed +11
-1
lines changed
3 files changed +11
-1
lines changed Original file line number Diff line number Diff line change
1
+ ## 1.0.5
2
+
3
+ * Fix example in the readme.
4
+
1
5
## 1.0.4
2
6
3
7
* Suppress the ` deprecated_member_use ` warning in the example app for ` ScaffoldMessenger.showSnackBar ` .
Original file line number Diff line number Diff line change @@ -37,9 +37,15 @@ import 'dart:io';
37
37
import 'package:webview_flutter/webview_flutter.dart';
38
38
39
39
class WebViewExample extends StatefulWidget {
40
+ @override
41
+ WebViewExampleState createState() => WebViewExampleState();
42
+ }
43
+
44
+ class WebViewExampleState extends State<WebViewExample> {
40
45
@override
41
46
void initState() {
42
47
super.initState();
48
+ // Enable hybrid composition.
43
49
if (Platform.isAndroid) WebView.platform = SurfaceAndroidWebView();
44
50
}
45
51
Original file line number Diff line number Diff line change 1
1
name : webview_flutter
2
2
description : A Flutter plugin that provides a WebView widget on Android and iOS.
3
- version : 1.0.4
3
+ version : 1.0.5
4
4
homepage : https://github.com/flutter/plugins/tree/master/packages/webview_flutter
5
5
6
6
environment :
You can’t perform that action at this time.
0 commit comments