I work on VScode Flutter project with bloc i was working normally and restart the application and then an error shows up to me in the DEBUGCONSOLE saying 'Error: Not found: 'dart:js''
THIS IS MY PUBSBEC.YAML CODE
CodePudding user response:
flutter clean
Delete pubspec.lock
flutter pub get
flutter run
Please try these. Also please dont add screenshots of error or codes. Copy paste it here.
CodePudding user response:
Try to downgrade your flutter and then upgrade again.
flutter downgrade v2.8.0
flutter upgrade