mirror of
https://github.com/flutter/flutter.git
synced 2025-06-03 00:51:18 +00:00
Add a comment for path dependencies in plugin example template (#50978)
This commit is contained in:
parent
08768e87e4
commit
a4d30c1607
@ -27,6 +27,11 @@ dependencies:
|
||||
|
||||
{{#withPluginHook}}
|
||||
{{pluginProjectName}}:
|
||||
# When depending on this package from a real application you should use:
|
||||
# {{pluginProjectName}}: ^x.y.z
|
||||
# See https://dart.dev/tools/pub/dependencies#version-constraints
|
||||
# The example app is bundled with the plugin so we use a path dependency on
|
||||
# the parent directory to use the current plugin's version.
|
||||
path: ../
|
||||
{{/withPluginHook}}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user