본문 바로가기
반응형

Development Solutions/Flutter & Dart63

[Flutter][Solved] Error: The argument type 'bool?' can't be assigned to the parameter type 'bool' because 'bool?' is nullable and 'bool' isn't. 문제 상황 (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 Firebas.. 2023. 7. 26.
Flutter Unknown upstream repository issue (solved) 문제 상황 (Problem) $ flutter doctor 를 실행했을 때 아래와 같은 워닝 문구가 나온다. [!] Flutter (Channel unknown, 3.7.0, on macOS 13.4.1 22F82 darwin-arm64, locale ko-KR) ! Flutter version 3.7.0 on channel unknown at /Users/sjh/development/flutter Currently on an unknown channel. Run `flutter channel` to switch to an official channel. If that doesn't fix the issue, reinstall Flutter by following instructions at https:.. 2023. 7. 26.
플러터에서 api 함수를 http로 요청하기 [flutter][OpenAPI] 플러터에서 api 함수를 http로 요청하기 [flutter][OpenAPI] 서버와 통신이 필요한 앱을 개발하기 위해서는 http통신이 필수적이다. 플러터에서 http통신을 통해 api 요청을 보내기 위해서는 아래 방법을 따르면 된다. 먼저 http 라이브러리를 연결한다. 라이브러리 버전은 각 상황에 맞게 사용하자. pubspec.yaml의 dependencies영역에 아래와 같이 추가한다. dependencies: http: ^0.13.5 그리고 api 요청을 보내는 코드 부분에서 아래와 같이 http 통신을 요청하면 된다. > 예시 코드 final uri = Uri.parse("https://api.odcloud.kr/serviceList"); var response = await http.get(.. 2023. 2. 8.
[Solved] Flutter Member not found: FirebaseAppPlatform.verifyExtends [Solved] Flutter Member not found: FirebaseAppPlatform.verifyExtends 해결 방법 (Solution) 1. pubspec.yaml에 아래 한 줄 추가 [Eng](Add below line to pubspec.yaml) dependency_overrides: firebase_core_platform_interface: 4.5.1 2. 아래 명령으로, 패키지 메이저 버전 업그레이드 [Eng](Use the command below to upgrade the package major version.) flutter pub upgrade --major-versions 3. iOS 프로젝트의 Pods를 업데이트 [Eng](Update the Pods of you.. 2023. 1. 14.
반응형