After updating Flutter and Dart, building app fails due to following error.
Error (Xcode): ../../.pub-cache/hosted/pub.dev/flutter_screenutil-5.6.0/lib/src/screen_util.dar t:58:5: Error: Type 'FlutterWindow' not found.
2 apps have same error, and it worked before updating. Other collaborator also has error after updating, but different point:
Error(Xcode): .... firebase_app.dart:18:25: Error: Member not found:'FirebaseAppPlatform.verifyExtends'
Since We have different error, code or packages might not be the problem.
I tried 'flutter clean', 'clean build folder @Xcode', 'pod repo update', but still error exists.
It is very thankful if you have any solutions.
I solved it by changing flutter channel to stable. Type 'flutter channel' to know which branch you are currently using.
Type in terminal: 'flutter channel stable', then 'flutter upgrade'