Questions tagged [flutter-pubspec]

Use this tag for Flutter project pubspec file.

24 questions
0
votes
0 answers

I am facing the version problem of Flutter

Because flutter_tools depends on http_multi_server 3.2.1 which doesn't match any versions, version solving failed. name: myproject description: A new Flutter project. publish_to: 'none' version: 2.0.11+21 environment: sdk: ">=2.7.0…
0
votes
2 answers

how can I add assets in flutter pubspec.yaml

I tried to just add (assets/ ) but that didn't solve the problem
0
votes
0 answers

i am compiling my dart code for fllutter application ,whenever i try to compiled it i got these error related tp dart:ui

i have fork a repo from git hub and try to run it by changing the keys to my own firebase project. but i keep getting error of dart:ui,i have already check pubspec.ymal file,but output is same. PS C:\project\nssapp\lib> cd…
0
votes
0 answers

I can't pub get my flutter project with no reason

I am learning flutter, and improving myself by doing different projects. But now, I've got one problem for hours. Why I can not pub get my pubspec.yaml file? I have Internet connection.But I can't get any package and can not pub get it. I tried it…
0
votes
3 answers

There is no pubspec.yaml file in android studio but project runs just fine how?

There is not pubspec.yaml file how should I edit it now? The project is running just fine without any errors.
Legend
  • 15
  • 3
0
votes
1 answer

Is there any shortcut/tool for correcting white space (tabs v spaces) in pubspec.yaml file in Flutter?

I am getting errors while adding dependencies in the pubspec.yaml file in Flutter project. Is there any tool or IDE/command line shortcut for editing/correcting/validating the White spaces in the pubspec.yaml file?
Sweta Jain
  • 3,248
  • 6
  • 30
  • 50
-1
votes
1 answer

how do i fix the issue with my flutter project, when ever i run flutter pub get it resulted to this issue

Resolving dependencies... Because no versions of flutter_secure_storage_windows match 1.1.3 and no versions of flutter_secure_storage_windows match >1.1.3 <2.0.0, flutter_secure_storage_windows ^1.1.3 is forbidden. So, because fstore depends on…
1
2