getMetaThemeColor method

Future<Color?> getMetaThemeColor()

Returns an instance of Color representing the content value of the <meta name="theme-color" content=""> tag of the current WebView, if available, otherwise null.

Officially Supported Platforms/Implementations:

Use the PlatformInAppWebViewController.isMethodSupported method to check if this method is supported at runtime.

Implementation

Future<Color?> getMetaThemeColor() => platform.getMetaThemeColor();