1
0
mirror of https://github.com/flutter/samples.git synced 2025-11-10 23:08:59 +00:00

Migrate to file_selector (#645)

This commit is contained in:
Brett Morgan
2021-01-14 05:40:07 +11:00
committed by GitHub
parent cf3857f271
commit 4d5b3a863e
10 changed files with 83 additions and 46 deletions

View File

@@ -5,12 +5,12 @@
import FlutterMacOS
import Foundation
import file_chooser
import file_selector_macos
import menubar
import url_launcher_macos
func RegisterGeneratedPlugins(registry: FlutterPluginRegistry) {
FileChooserPlugin.register(with: registry.registrar(forPlugin: "FileChooserPlugin"))
FileSelectorPlugin.register(with: registry.registrar(forPlugin: "FileSelectorPlugin"))
MenubarPlugin.register(with: registry.registrar(forPlugin: "MenubarPlugin"))
UrlLauncherPlugin.register(with: registry.registrar(forPlugin: "UrlLauncherPlugin"))
}