我试图在pubspec.yaml
中添加它:
dependencies:
flutter_date_picker: "^0.1.8"
但是我无法更新软件包。编辑pubspec.yaml
文件后,我只有Flutter错误。
答案 0 :(得分:0)
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**