From 54de8c04bfda7b374e0a0e0da5dfbb62fac41b4a Mon Sep 17 00:00:00 2001 From: Adrien ERAUD Date: Thu, 30 Sep 2021 14:22:14 +0100 Subject: [PATCH 01/26] Add an option to set a transparent background for the webview --- .../webview_flutter/webview_flutter/example/lib/main.dart | 3 +++ .../webview_flutter/webview_flutter/lib/src/webview.dart | 5 +++++ packages/webview_flutter/webview_flutter/pubspec.yaml | 6 ++++++ .../io/flutter/plugins/webviewflutter/FlutterWebView.java | 6 ++++++ .../webview_flutter/webview_flutter_android/pubspec.yaml | 5 +++++ .../lib/src/method_channel/webview_method_channel.dart | 1 + .../lib/src/types/creation_params.dart | 4 ++++ .../ios/Classes/FlutterWebView.m | 5 +++++ .../webview_flutter_wkwebview/pubspec.yaml | 8 +++++++- 9 files changed, 42 insertions(+), 1 deletion(-) diff --git a/packages/webview_flutter/webview_flutter/example/lib/main.dart b/packages/webview_flutter/webview_flutter/example/lib/main.dart index b660ce37a0b1..8d71cb3b07cb 100644 --- a/packages/webview_flutter/webview_flutter/example/lib/main.dart +++ b/packages/webview_flutter/webview_flutter/example/lib/main.dart @@ -19,6 +19,7 @@ const String kNavigationExamplePage = '''

The navigation delegate is set to block navigation to the youtube website. +The webview is transparent so you can see the green background of the scaffold.