templates/swift_templates library
Functions
-
iosPackageSwiftContent(
String pluginName, String className) → String -
Flutter 3.41+ SPM
Package.swiftfor the iOS platform. -
iosPluginSwiftStub(
String className) → String -
iOS
*Plugin.swiftstub — created when the file is missing. -
macosPackageSwiftContent(
String pluginName, String className) → String -
Flutter 3.41+ SPM
Package.swiftfor the macOS platform. -
macosPluginSwiftStub(
String className) → String -
macOS
*Plugin.swiftstub — created when the file is missing.