How can I save two records with the id of the other in flutter?
How can I save two records with the id of the other in flutter? I'm trying to save two records with id of the other, I can do that, but when I try to save more than 2 at same…
How can I save two records with the id of the other in flutter? I'm trying to save two records with id of the other, I can do that, but when I try to save more than 2 at same…
I am starting a new project by using the architecture-templates by google (https://github.com/android/architecture-templates) In this template, they use Gradle with Kotlin DSL. I am trying to add Crashlytics to this project but the structure of gradle is quite different from…
Firebase Google Login does not ask for user passwords and redirects to a wrong page. The firebase email sign in does work. I have set up the Authorised redirect URIs to the correct ones in the config JS code, in…
I get this error in the StreamBuilder: Here's the code: import 'dart:async'; import 'package:firebase_database/firebase_database.dart'; import 'package:flutter/material.dart'; class NewCauseMenu extends StatefulWidget { String? area; NewCauseMenu(this.area, {super.key}); @override State<NewCauseMenu> createState() => _NewCauseMenuState(); } class _NewCauseMenuState extends State<NewCauseMenu> { final db = FirebaseDatabase.instance;…
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…
I have an async function (getDataFromDB) which I run inside of an useEffect. The function gets data from firestore. The problem is I can't set state to data from firebase. I get the reference to data, I can see the…
Below when I am printing print(snap['x']); this works fine and gives me the data from firebase but when I am using the same data bellow title: Text(snap['x']!), it a circular progress is shows. please tell me some way to take…
I have a call to Firestore that grabs some data and stores to @published var userJournals In another view, I go to call the variable and it's empty. I checked the data in the initial pull from firestore and the…
I am having issues with dynamic routes in Next.js. Setup : I have getStaticPaths and getStaticProps in my dynamic page. When I click on an item that should take me to the dynamic route, the browser navigates to a page…
I am new to flutter, I have a field called diagnosis that I am trying to fetch from a firestore document that sometimes has a value of " " or a [] with a single String value or [] with…