I was trying to do a project I cloned but I cant seem to use any of the packages and when I used the pub get command I get this error
CodePudding user response:
Delete pubspec.lock file and run flutter pub get
to generate it again.
CodePudding user response:
it looks like you edited the pubspec.lock file. pubspec file indent sensitive. you can delete it and run flutter pub get
to genarate file again.