add sp and support save the width and height

This commit is contained in:
Siyi Guo committed 2023-04-13 15:21:40 +08:00
1 parent 1c53032b3f
commit 595ee6fd6a
9 files changed
+187 -10

No files matched your search

@@ -6,9 +6,11 @@ import FlutterMacOS
import Foundation
import screen_retriever
import shared_preferences_foundation
import window_manager
func RegisterGeneratedPlugins(registry: FlutterPluginRegistry) {
ScreenRetrieverPlugin.register(with: registry.registrar(forPlugin: "ScreenRetrieverPlugin"))
SharedPreferencesPlugin.register(with: registry.registrar(forPlugin: "SharedPreferencesPlugin"))
WindowManagerPlugin.register(with: registry.registrar(forPlugin: "WindowManagerPlugin"))
}