07-21-2023, 09:18 PM
1. Delete **pubspec.lock** file
2. Run "**flutter pub get**" from terminal **or** editor shortcut ("*get packages*" **AndroidStudio** or [this logo][1] **Visual Studio**) in pubspec.yaml file.
3. Wait for download.
4. If it doesn't work relaunch your editor then repeat **step 2.**.
[1]:
2. Run "**flutter pub get**" from terminal **or** editor shortcut ("*get packages*" **AndroidStudio** or [this logo][1] **Visual Studio**) in pubspec.yaml file.
3. Wait for download.
4. If it doesn't work relaunch your editor then repeat **step 2.**.
[1]: