从 Dart 2 开始,pub 不再支持 pub build
、pub serve
以及变换器。它们均由 build_runner 工具中的 build system 替代。
有关在 Dart 2 中构建和提供应用的更多信息请查阅:
获取从 Dart 1 切换到 Dart 2 的帮助请查阅:
Google uses cookies to deliver its services, to personalize ads, and to analyze traffic. You can adjust your privacy controls anytime in your Google settings. Learn more.
Dart 3 Alpha 现已发布!
从 Dart 2 开始,pub 不再支持 pub build
、pub serve
以及变换器。它们均由 build_runner 工具中的 build system 替代。
有关在 Dart 2 中构建和提供应用的更多信息请查阅:
获取从 Dart 1 切换到 Dart 2 的帮助请查阅: