macos_webview_kit

Last updated:

0 purchases

macos_webview_kit Image
macos_webview_kit Images
Add to Cart

Description:

macos webview kit

Flutter macos_webview_kit #
[0.0.3] #
Introduce #

Flutter is compatible with the WebView plug-in of the MacOS system, which can be as smooth as using WKWebView on the iOS system. In the Flutter MacOS project, the opening (passing url) and closing of WebView is realized through the chanel channel.

config ***.entitlements #
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>com.apple.security.app-sandbox</key>
<true/>
<key>com.apple.security.cs.allow-jit</key>
<true/>
<key>com.apple.security.network.server</key>
<true/>
<key>com.apple.security.network.client</key>
<true/>
</dict>
</plist>
copied to clipboard
import #
import 'package:macos_webview_kit/macos_webview_kit.dart';
copied to clipboard
usage #

open

MacosWebviewKit().openWebView(urlString: "https://www.sohu.com");
copied to clipboard

close

MacosWebviewKit().closeWebView();
copied to clipboard

show

MacosWebviewKit().showWebView();
copied to clipboard

hide

MacosWebviewKit().hideWebView();
copied to clipboard
effect #
https://github.com/xiayuanquan/macos_webview_kit/assets/17963973/d1935d55-0752-429b-979a-183e234fd734

License:

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Files In This Product:

Customer Reviews

There are no reviews.