flutter The method File.create has fewer named arguments than those of overridden method File.create

preview_player
Показать описание
I am also getting this issue after upgrading to the latest version v3.7.
I solved the issue by doing the following thing:
Second , run this command:
flutter clean
after this, run the pub get to get the dependencies and run this command :
flutter pub get
finally run this command
dart pub upgrade

just follow these steps:
2: flutter clean
3: flutter pub get
4: dart pub upgrade
Рекомендации по теме
Комментарии
Автор

god bless you dude!!!! i spent my whole morning with headaches thinking how to solve this and you helped me in 5 minutes! hope you're doing well and keep on making videos like this bro!

kal.
Автор

Thank you so much sir for the video it helped me a lot and thanks again sir
my version is 3.7.11
i deleted the pubspec.lock file
then i ran the project i got an error from the kotlin version
so i changed it
then ran flutter clean and flutter pub get
this solved the problem

but the main solution i got from your video thank you so much sir

pravinprince
join shbcf.ru