Someone can help me. Why I can't add this package to my pubspec.yaml.
CodePudding user response:
I assume your project name is also integration_test
, change the name of your project as when running the pub get
command, flutter reads the project name instead of the library name.
CodePudding user response:
Add the dependencies to the dev_dependencies section of the app’s pubspec.yaml
file, specifying the Flutter SDK as the location of the package.
dev_dependencies:
integration_test:
sdk: flutter
flutter_test:
sdk: flutter
More documentation on here with example.