본문 바로가기
Development Solutions/Flutter & Dart

[Flutter][Solved] Error: The argument type 'bool?' can't be assigned to the parameter type 'bool' because 'bool?' is nullable and 'bool' isn't.

by studio ODOC 2023. 7. 26.
반응형

 

문제 상황 (Problem)

flutter 앱을 빌드하는 중에 아래와 같은 에러가 발생했다.

 

firebase_auth-3.2.0 Error: The argument type 'bool?' can't be assigned to the parameter type 'bool' because 'bool?' is nullable and 'bool' isn't.

 

 

해결 방법 (Solution)

1. flutter pub upgrade 수행

 

2. flutter doctor 체크

 

 

참고 사이트

https://github.com/firebase/flutterfire/issues/9015

 

🐛 [cloud_firestore] Xcode build fails with errors: Expected a type in FirebaseFirestoreUtils.h · Issue #9015 · firebase/flu

Bug report After upgrading the Firebase dependencies to latest versions, I get the following errors when trying to build for iOS: Parse Issue (Xcode): Expected a type /Users/whidev/Developer/flutte...

github.com

 

반응형