feat:增加分享图片功能

This commit is contained in:
2025-11-20 18:43:09 +08:00
parent a9f2e102c5
commit 4f033a4d0a
10 changed files with 220 additions and 4 deletions

View File

@@ -7,10 +7,14 @@ import Foundation
import file_picker
import file_selector_macos
import path_provider_foundation
import share_plus
import shared_preferences_foundation
func RegisterGeneratedPlugins(registry: FlutterPluginRegistry) {
FilePickerPlugin.register(with: registry.registrar(forPlugin: "FilePickerPlugin"))
FileSelectorPlugin.register(with: registry.registrar(forPlugin: "FileSelectorPlugin"))
PathProviderPlugin.register(with: registry.registrar(forPlugin: "PathProviderPlugin"))
SharePlusMacosPlugin.register(with: registry.registrar(forPlugin: "SharePlusMacosPlugin"))
SharedPreferencesPlugin.register(with: registry.registrar(forPlugin: "SharedPreferencesPlugin"))
}