setBackgroundColor method
- Color color
Sets the native WebView background color.
Officially Supported Platforms/Implementations:
- Android WebView (Official API - View.setBackgroundColor)
Parameters - Officially Supported Platforms/Implementations:
color: all platforms
Use the PlatformInAppWebViewController.isMethodSupported method to check if this method is supported at runtime.
Implementation
Future<void> setBackgroundColor(Color color) =>
platform.setBackgroundColor(color);