flutter The method ‘File. create’ has fewer named arguments than those of overridden method ‘File. create’
Solution 1:
For me the packages in my pubspec.yaml
we’re all up to date, but the following fixed it:
- Delete
pubspec.lock
. - Run
flutter pub get
again. - flutter clean
Reference Here: Click Here