微信公众号搜"智元新知"关注
微信扫一扫可直接关注哦!
pubspec专题提供pubspec的最新资讯内容,帮你更好的了解pubspec。
我正在尝试修改 pub.dev 上的现有包。我需要更新包中的依赖项之一。我已经从 <a href="https://medium.com/flutte
所以我在图像上遇到了“无法加载资产”错误,虽然我觉得一切都很好,但尝试在终端中运行 <code>flutter
我将 flutter 更新到最新版本: <pre><code>PS C:\Users\pc&gt; flutter --version Flutter 2.0.2 • channel stable • https://
因为 Flutter 中的 null 安全性相对较新,所以我不得不依赖一些预发布版本。 但是对于某些软件包,我想
我在我的 Flutter 移动应用项目中有来自 GitLab 的私有依赖。它在 <code>pubspec.yaml</code> 中使用 git 存储库链
有没有办法在 pubspec.yaml 中引用预定义的名称? 我试图在插件使用的结构中引用“name”键的值 <
我在 github 中有一个私人仓库。在 flutter Android studio 中,我在 <em>pubspec.yaml</em> 中链接它: <pre><code> m
<pre><code>Error on line 1, column 7 of ..\pubspec.yaml: &#34;name&#34; field doesn&#39;t match expected name &#34;provider&#34;. ╷
在删除/评论此行之前,我无法向我的项目应用程序添加任何资源,例如图像、字体等 <pre><code>uses-mate
当前 Dart SDK 版本为 2.12.2。 <pre><code>Because audioplayers 0.18.3 depends on uuid ^3.0.1 which depends on crypto ^3.0.0, aud
当我想运行 flutter clean 时,它给了我这个错误: <pre><code>Error on line 63, column 2: Expected a key while parsing a
我正在尝试将 <code>firebase-admin</code> 包添加到我的 Flutter 项目中的 <code>pubspec.yaml</code>,但由于依赖项冲
我正在开发 <a href="https://pub.dev/packages/dart_ping" rel="nofollow noreferrer">dart_ping</a> 软件包,虽然它目前标有 iO
当我将 <code>pubnub: ^1.4.4</code> 添加到 pubspec.yaml 时出现此异常 <块引用> 因为 pubnub >=1.0.2 <3.2.0 依赖于
当我在发布后将库 new_version: ^0.2.0 集成到项目中时,我收到此错误 - <pre><code>Because new_version &gt;=0.0.7 d
我正在做一个 Flutter 项目,我的 pubspec.yaml 中需要这些依赖项: <pre><code>firebase_core : ^0.5.3 firebase_databa
我在 pubspec.yaml 中有以下内容: <pre><code>provider: ^5.0.0 google_maps_place_picker: ^1.0.1 </code></pre> 但是当我
我有一个应用程序(具有空安全),并且想使用 integration_test 包进行一些测试。 pubspec.yaml 看起来像:</p
我将“firebase_database”添加到 pubspec.yaml 并收到以下错误: [components] flutter pub 获取 在组件中运行“
我从 GitHub 克隆了一个 flutter 项目。 在运行 pub get 时,我每次都会收到此错误。 <a href="https://i.stack