播放音频

This commit is contained in:
toly
2023-05-02 10:03:16 +08:00
parent d6c4f9be05
commit 46a1cd177c
12 changed files with 308 additions and 15 deletions

View File

@@ -5,6 +5,10 @@
import FlutterMacOS
import Foundation
import audioplayers_darwin
import path_provider_foundation
func RegisterGeneratedPlugins(registry: FlutterPluginRegistry) {
AudioplayersDarwinPlugin.register(with: registry.registrar(forPlugin: "AudioplayersDarwinPlugin"))
PathProviderPlugin.register(with: registry.registrar(forPlugin: "PathProviderPlugin"))
}