Flutter Firebase Binding has not yet been initialized. FlutterError (Binding has not yet been initialized. The "instance" getter on the ServicesBinding binding mixin is only available once that binding has been initialized. Typically, this is done by calling "WidgetsFlutterBinding.ensureInitialized()" or "runApp()" (the latter calls the former). Typically this call is done in the "void main()" method. The "ensureInitialized" method is idempotent; ca.. 2023. 9. 13. 나만의 뽀모도로 만들기 #2. Flutter-FireBase 사용해보기 Firestore를 내 방식으로 표현하면 Collection 이 있고 그안에 Map 형식의 데이터들이 들어가있다 공식문서를 보고 정리할건데 일단 var db = FirebaseFirestore.instance; db 접근할수있는 변수를 만들고 // Create a new user with a first and last name final user = { "first": "Ada", "last": "Lovelace", "born": 1815 }; // Add a new document with a generated ID db.collection("users").add(user).then((DocumentReference doc) => print('DocumentSnapshot added with ID: $.. 2023. 9. 7. 나만의 뽀모도로 만들기 #1. Flutter-FireBase 연동 지금까지 플러터 프로젝트를 만들때에는 PHP에 API 를 만들고 MSSQL 데이터베이스를 사용했는데 파이어베이스를 한번쯤 해봐야겠다고 꼭 생각했는데 이번기회에 해보려고 한다 https://firebase.google.com/docs/cli?authuser=0&hl=ko#setup_update_cli Firebase CLI 참조 | Firebase 문서 firebase.google.com Firebase CLI를 설치한다 .. CLI가 뭐지 .. 아 일단 ㅇㅋㅇㅋ 설치해보장 npm으로 설치하자 https://nodejs.org/ko Node.js Node.js® is a JavaScript runtime built on Chrome's V8 JavaScript engine. nodejs.org 노드JS다운.. 2023. 8. 30. 이전 1 다음