What works for me is that after several series of running the following commands:
xxxxxxxxxx
flutter pub get
flutter pub upgrade
dart pub upgrade
and still doesn't work, I simply just open-up my pubspec.yaml file and remove the version number of all dependencies and run
xxxxxxxxxx
flutter pub get
once more. This works for me pretty well!
If my pubspec.yaml file formally looks like this:
xxxxxxxxxx
open_filex: ^4.3.2
form_builder_validators: ^8.4.0
hive: ^2.2.3
flutter_form_builder: ^7.7.0
timeago: ^3.3.0
uni_links: ^0.5.1
dash_chat_2: ^0.0.15
flutter_stripe: ^7.0.0
fade_shimmer: ^2.0.1
shimmer_animation: ^2.1.0+1
provider: ^6.0.5
It's now like this:
xxxxxxxxxx
open_filex:
form_builder_validators:
hive:
flutter_form_builder:
timeago:
uni_links:
dash_chat_2:
flutter_stripe:
fade_shimmer:
shimmer_animation:
provider: