How to solve 'could not find package integration_test in the Flutter SDK' error
I had the same error after changing my channel from master to stable. I was able to fix it by removing (or commenting out) the following library from pubspec.yaml
dev_dependencies:# integration_test:# sdk: flutter
I experienced this when I was trying to setup a flutter web project without enabling flutter web on my PC. I enabled flutter for web and everything was okay.
For me had to comment out sdk
part like so:
dev_dependencies: integration_test: # sdk: flutter