Skip to content

Commit

Permalink
added background color
Browse files Browse the repository at this point in the history
  • Loading branch information
rodydavis committed Jun 24, 2024
1 parent 2e7099d commit 01a8b4f
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 1 deletion.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 2.0.1

* Added transparent background color to the native webview

## 2.0.0

* Updated dependencies to latest versions
Expand Down
1 change: 1 addition & 0 deletions lib/src/platforms/native.dart
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ class NativeWebViewState extends WebViewState<NativeWebView> {
super.initState();
controller = wv.WebViewController()
..setJavaScriptMode(wv.JavaScriptMode.unrestricted)
..setBackgroundColor(Colors.transparent)
..setNavigationDelegate(
wv.NavigationDelegate(
onPageFinished: (url) {
Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: easy_web_view
description: A super simple webview for Flutter Web, Mobile and Desktop
version: 2.0.0
version: 2.0.1
homepage: https://github.com/rodydavis/easy_web_view
repository: https://github.com/rodydavis/easy_web_view
maintainer: Rody Davis (@rodydavis)
Expand Down

0 comments on commit 01a8b4f

Please sign in to comment.