A new error has recently appeared in Android Studio for widget_test.dart:
I am using the most up-to-date flutter version. 'flutter upgrade' provides the following info:
Flutter is already up to date on channel stable
Flutter 3.0.3 • channel stable • https://github.com/flutter/flutter.git
Framework • revision 676cefaaff (5 days ago) • 2022-06-22 11:34:49 -0700
Engine • revision ffe7b86a1e
Tools • Dart 2.17.5 • DevTools 2.12.2
I tried 'flutter pub get', 'flutter upgrade', restarting Android Studio, rebooting PC. I tried adding "test:" into dev dependencies in pubspec.yaml as per this question-answer. Nothing fixed the issue. It continues to persist. However, I can run my app and see it workable in emulator.
Any ideas how to fix this anoying error?
