如何通过程序上访问flutter插件pubspec.yaml?

发布于 2025-01-25 06:18:05 字数 159 浏览 3 评论 0原文

有关如何访问pubspec.yaml的许多问题,但仅针对flutter应用程序进行解决方案。此问题是 flutter插件package_info_plus之类的软件包不会从pubspec.yaml返回版本,而是从相应的示例应用程序中返回。

Lots of questions regarding how to access the pubspec.yaml, but only solutions for Flutter apps. This questions targets Flutter plugins for which a package like package_info_plus will not return the version from pubspec.yaml, but rather from the corresponding example app.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

朮生 2025-02-01 06:18:05

选择项目选项,然后在下面跟踪:

project>外部库> flutter插件

您可以像下面的屏幕截图中看到它们:

“相关图像”

Choose Project option and then track below way:

Project>External Libraries>Flutter Plugins

You can see them like in the below screenshot:

related image

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文