We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
https://docs.flutter.dev/packages-and-plugins/developing-packages/
https://github.com/flutter/website/tree/main/src/content/packages-and-plugins/developing-packages.md
When you create a Flutter plugin, you configure it in the pubspec.yaml file. For example:
pubspec.yaml
flutter: plugin: platforms: ios: pluginClass: HelloPlugin sharedDarwinSource: true
This configuration is mostly explained in this guide: https://docs.flutter.dev/packages-and-plugins/developing-packages
It would be useful to have a reference page that contains a table with entries for all possible configuration values. For example:
flutter.plugin.platforms.<platform>.pluginClass
HelloPlugin
FlutterPlugin
flutter.plugin.platforms.<ios/macos>.sharedDarwinSource
true
darwin
false
macos
ios
This was suggested by @jonasf here: https://github.com/dart-lang/pana/pull/1412/files#r1816312072
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Page URL
https://docs.flutter.dev/packages-and-plugins/developing-packages/
Page source
https://github.com/flutter/website/tree/main/src/content/packages-and-plugins/developing-packages.md
Describe the problem
When you create a Flutter plugin, you configure it in the
pubspec.yaml
file. For example:This configuration is mostly explained in this guide: https://docs.flutter.dev/packages-and-plugins/developing-packages
Expected fix
It would be useful to have a reference page that contains a table with entries for all possible configuration values. For example:
flutter.plugin.platforms.<platform>.pluginClass
HelloPlugin
On iOS, this must implement
FlutterPlugin
.flutter.plugin.platforms.<ios/macos>.sharedDarwinSource
true
If
true
, uses thedarwin
directory for native code.If
false
, uses themacos
directory for macOS plugins and theios
directory for iOS plugins.Additional context
This was suggested by @jonasf here: https://github.com/dart-lang/pana/pull/1412/files#r1816312072
I would like to fix this problem.
The text was updated successfully, but these errors were encountered: