webview_cef (linux webview) not works in other platforms

This commit is contained in:
DASHU
2025-05-01 21:21:01 +08:00
parent 78e0b83e16
commit 3d02ff8216
11 changed files with 458 additions and 477 deletions

View File

@@ -13,7 +13,6 @@ import path_provider_foundation
import screen_retriever_macos
import shared_preferences_foundation
import sqflite_darwin
import webview_cef
import window_manager
func RegisterGeneratedPlugins(registry: FlutterPluginRegistry) {
@@ -25,6 +24,5 @@ func RegisterGeneratedPlugins(registry: FlutterPluginRegistry) {
ScreenRetrieverMacosPlugin.register(with: registry.registrar(forPlugin: "ScreenRetrieverMacosPlugin"))
SharedPreferencesPlugin.register(with: registry.registrar(forPlugin: "SharedPreferencesPlugin"))
SqflitePlugin.register(with: registry.registrar(forPlugin: "SqflitePlugin"))
WebviewCefPlugin.register(with: registry.registrar(forPlugin: "WebviewCefPlugin"))
WindowManagerPlugin.register(with: registry.registrar(forPlugin: "WindowManagerPlugin"))
}