Issue Im new to flutter and stuck at the following problem, hope someone can help: I am trying to build an App where the Presenter opens a pdf file and the Viewer can join the Presentation. The viewer gets the
Continue readingTag: flutter-streambuilder
Flutter streambuilder not updating UI when listening to changes in a single firestore document
Issue I have a screen that listens for changes in a document using a stream builder. If the document has data then it shows Widget1, otherwise it will show Widget2. The problem: When the stream builder builds for the first
Continue readingHow can I fix this stream in my Flutter app?
Issue I am working on a Flutter app and I need to send a stream of data from my DatabaseHandler class to a stateful widget, but the listener isn’t working. (print statements confirm stream is being initialized and updated, print
Continue readingThe following _TypeError was thrown building StreamBuilder<User?>(dirty, state: _StreamBuilderBaseState<User?, AsyncSnapshot<User?>>):
Issue In my streambuilder – first time i am getting snapshot null value. and shows me error. Null check operator used in a null value. Here is my main widget that shows me error. Main app state: home: _getLandingPage(), widget
Continue readingHow can I update Listview in Streambuilder in flutter
Issue I have a streambuidler widget that contains a listview to display whom the current user has recently chatted with. When the current user receives a message that message should be pushed to the top of the listview, however that
Continue readingFlutter: querying firebase realtime database data list with streambuilder error
Issue iam trying to show list of data using StreamBuilderbut when i run this code it give me an error: i am fallowing this youtube video and i am trying to show data list i need to do this using
Continue readingShowing database in flutter
Issue I have a problem with showing a database in my app. Here’s the code. SingleChildScrollView( child: Center( child: Padding( padding: const EdgeInsets.all(8.0), child: Column( mainAxisSize: MainAxisSize.min, children: <Widget>[ StreamBuilder( stream: myRef.orderByKey().limitToFirst(10).onValue, builder: ((context, snapshot) { if (snapshot.hasData) { final
Continue readingFlutter Row() – Align 3 widgets evenly in any amount of Columns
Issue I need to show whole my options(Cyties) since Firebase DB in my app so I would like create somethig similar to the screenshot I posted and not quite sure how to. The only way I know to do it
Continue readingMake a stream wait for data to assign a late property
Issue I have following code. I need to assign a late userName (not stored in database BID table) from the Bid Object that i retreive from the firestore with a stream. The userName can be found in another table in
Continue readingHow to delete documents that contain a certain value in one of the fields. Firestore, Flutter
Issue enter image description here I have these documents, which contain data about each task I add to the list in my app. child: StreamBuilder( stream: _tasks.snapshots(), builder: (context, AsyncSnapshot<QuerySnapshot> streamSnapshot) { if (streamSnapshot.hasData) { return ListView.builder( itemCount: streamSnapshot.data!.docs.length, itemBuilder:
Continue reading