Running "flutter pub get" in flutter_tools ubuntu - flutter

recently I uninstall flutter from snap and tried to install it manually. but when I try to run flutter doctor or flutter pub get i face this issue.
then I reinstall flutter from the snap. but still the same issue. please help me...

Related

Android Studio Flutter - "'Pub get' has not been run" message and IDE higlight syntax in flutter lib code, but ot in main class and code runs fine

I'm starting to learn flutter. So i have Android Studio with updated Flutter plugin
I have Flutter 3.3.7 and Dart 2.18.4
Also i have this ispection:
'Pub get' has not been run
But code runs fine and there is no syntax error in main class
I tried to run flutter doctor and sequentially ran these commands
flutter doctor
flutter clean
flutter pub get
But nothing happend.
To solve inspection problem I tried to click on Get Dependencies and Upgrade dependencies, but nothing changed

can't activate flutterfire_cli on linux

I have a Linux machine running ubuntu 21.10 where I installed flutter manually. and when I try to activate flutterfire_cli it shows this erroroutput from dart pub global activate flutterfire_cli
this is the output from flutter doctorflutter doctor output
versions I'm using
flutter: 3.0.3 channel stable, Dart SDK version: 2.17.5, firebase: 11.1.0
If anyone runs into this, I installed firebase using the auto-install script previously I used npm and run the "dart pub cache clean" command I don't know which fixed it but it works.

Flutter & Dart plugin not installed error when running flutter doctor

I don't know how to fix this problem.
I tried to uninstall and install the Flutter & Dart plugin.

modal_progress_hud flutter package cannot be installed

i am trying to install this package "modal_progress_hud".
modal_progress_hud: ^0.1.3
flutter pub get runs successfully but when i try to import the package, it doesn't work as it is shown in the picture.
Running "flutter pub get" in my_project... 0.6s
Process finished with exit code 0
i tried the same process with other packages and it works fine. is it because of the package or what might be the problem? i also ran flutter clean, pub cache repair, flutter pub upgrade, restart Android studio as well as my mac but nothing worked.

Flutter: Running "flutter pub get" nothing happens

I'm trying to get packages, when I run flutter pub get it says a color red text I don't know what this means ! analyzer 0.38.4 and just terminated the process.
C:\Mobi\del_cus_app>flutter pub get
! analyzer 0.38.4
Running "flutter pub get" in del_cus_app... 1.7s
C:\Mobi\del_cus_app>
I also already upgrade the flutter version
Hello BGTabulation BGTabulate, When you trying to get package then sometime our dependency is override on another package so when this kind of issue occurs then may be you have to do like
dependencies:
intl: ^0.15.0
dependency_overrides:
intl: ^0.16.0
Note the space character of the entered values.
dependencies:
flutter_native_splash: ^0.1.9
Delete pubspec.lock file and run flutter pub get
try to using
flutter clean command
then close IDE and restart it again,
it happens sometimes when dart analyzer crashes.