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

Limited Time Offer!

For Less Than the Cost of a Starbucks Coffee, Access All DevOpsSchool Videos on YouTube Unlimitedly.
Master DevOps, SRE, DevSecOps Skills!

Enroll Now

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

Subscribe
Notify of
guest

This site uses Akismet to reduce spam. Learn how your comment data is processed.

0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x