新鲜的颤振项目,将“flare_flutter:^1.5.1”添加到 pubspec.yaml 时出错。
我有颤振 v1.5.4-hotfix.2
尝试了flare的dev分支
在我的 .yaml 文件中
dependencies:
flutter:
sdk: flutter
cupertino_icons: ^0.1.2
flare_flutter: ^1.5.1
dev_dependencies:
flutter_test:
sdk: flutter
我的错误
[funke_aldri] flutter packages get
Running "flutter packages get" in funke_aldri...
Error on line 1, column 1 of ..\..\flutter\.pub-cache\hosted\pub.dartlang.org\flare_flutter-1.5.1\pubspec.yaml: Unexpected character.
╷
1 │
╵
pub get failed (65)
exit code 65