首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >颤动-无法编辑pubspec.yaml文件

颤动-无法编辑pubspec.yaml文件
EN

Stack Overflow用户
提问于 2018-12-05 18:18:55
回答 1查看 521关注 0票数 0

我正尝试在pubspec.yaml中添加以下内容

代码语言:javascript
复制
dependencies:
  flutter_date_picker: "^0.1.8"

但是我不能更新包。在编辑pubspec.yaml文件后,我只在Flutter中得到一个错误。

EN

回答 1

Stack Overflow用户

发布于 2018-12-07 18:43:54

代码语言:javascript
复制
dependencies:
  flutter:
    sdk: flutter

  # The following adds the Cupertino Icons font to your application.
  # Use with the CupertinoIcons class for iOS style icons.
  cupertino_icons: ^0.1.2
  intl: ^0.15.7 -->**Add Your dependencies like this at pubspec.yaml**
票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/53629970

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档