stream-builder Questions

7

I am developing an app with Flutter and testing the app on a physical iOS device (iPhone 7). The iOS version is: 15.3.1 And the Flutter version is: 2.10.3 When I am testing my app, I occasionally g...

1

Solved

I'm having trouble with my TextField widgets. Every time the user taps on them, the whole widget reloads, and the keyboard disappears. I believe I tracked the problem down to a streambuilder I have...

4

Solved

hello i am trying to use pagination in my list. and the list data is coming from firebase. i am not sure how to paginate data using stream builder. now i am doing the pagination by calling getdocum...

5

I have a stream builder in the app's home/root page. This stream builder gets triggered whenever I do a page-navigation elsewhere, which has nothing to do with the stream itself. My understanding,...

5

What is the best way to use ScrollController in the list for scrolling to the bottom of the list after the listview is rendered data from streambuilder using firestore query stream? What is the be...
Glengarry asked 1/11, 2019 at 5:48

3

Solved

Let's say I have an API - example: https://jsonplaceholder.typicode.com/posts Now, I want to apply StreamBuilder to it with a ListView have ListTiles. How do I configure? How do I create a stream ...
Henze asked 19/8, 2019 at 10:12

2

Solved

Hello I'm trying to make my first social app with Flutter and I'm stuck. I would like to get my messages (in a conversasion between tow users) from my api. Not a probleme when I use Future and Futu...
Aime asked 17/6, 2020 at 16:32

1

In my app's homepage I call a ScoreListPageBody that is rebuild when I change the Locale from another page (SettingsPage). To force rebuild it, it contains a StreamBuilder that is triggered when th...
Specialism asked 9/1, 2022 at 16:44

2

I have a stream builder listening to Firestore, and it kinda works. The main issue is that the streambuilder keeps rebuilding (if it doesn't cost me extra reads then no worries, but if it does then...

4

Hi I am trying to display the data inside the Firebase documents into my Flutter dynamically where they get rendered using a loop, so I made a List<Widget> Cards and added to it the function ...
Bertilla asked 8/4, 2020 at 22:53

2

I've tried to make a new StreamBuilder inside the builder of my initial stream, and while I don't get any errors, it also doesn't seem like it works. Is this possible to do? Basically, I'm accessin...
Tocopherol asked 25/6, 2018 at 23:49

1

I have two collection in firestore question and bookmark. for saving a question to users bookmarks page , my approach for structuring database was to set the documents docID of bookmark collection ...

1

I am struggling with this Chat Screen. The app is meant to ask questions (not part of the below code) and the user either selects answers or types them. When the user types a first answer everythin...
Hyetology asked 20/7, 2021 at 13:34

2

Solved

I am new to Flutter, I am trying to fetch data from firestore collection. I am using FutureBuilder with Provider, but it shows null error on initial & runs perfectly after restarting the app. H...

3

Solved

Is StreamBuilder always called twice? Once for initial data and then once for the input stream? Initializing the following StreamBuilder shows that the build method is called twice. The second ca...
Longevity asked 19/8, 2019 at 18:49

2

Solved

I am trying to navigate inside a streambuilder but I have this error:"setState() or markNeedsBuild() called during build.". If I call navigate inside an onpressed button it works but not by just us...

0

I am getting an "Update Persistent Storage" failure when running any Flutter app from my Linux computer to my Galaxy Tab S6 using "flutter clean" followed by "flutter...
Prearrange asked 8/10, 2020 at 15:47

2

Solved

Before you say this is a duplicate question or that I should use nested stream builders, please hear me out. I am designing a social media type application. And I want users to receive updates when...
Manyplies asked 20/8, 2020 at 8:46

2

Solved

I am trying to make these rolling switches to change its value whenever I do any change in Firebase realtime database. To be more specific, whenever I change the value of Relay1/Data to 0, I want ...

4

Solved

how do you continously check internet access? I was able to show if wifi is connectected or mobile data. However, not all connection would have internet access. import 'package:connectivity/...
Berne asked 27/6, 2020 at 6:47

1

I am trying to build a simple quotes Flutter app, where I show a list of quotes and allow users to 'like' the quotes. I am using the Streambuilder for that. My problem is that the Firestore usage d...
Bloodsucker asked 6/6, 2020 at 1:9

2

Solved

I am listening to a collection of documents in firestore (as part of a chat app). I am doing this by using a service, which creates a Stream<QuerySnapshot> as follows: _snapshots$ = Firestor...
Enumeration asked 6/2, 2020 at 3:49

1

I would like to delete something of firebase and when Streambuilder(gridview.builder) reach it index which gonna be null it ignore it and don't add any widget in that slot and keep it for others t...
Abnegate asked 23/4, 2019 at 16:50

1

Solved

In my Flutter app I have a screen with all the users. The list of users is generated by a StreamBuilder, which gets the data from Cloud Firestore and displays the users in a ListView. To improve fu...
Audra asked 18/12, 2019 at 18:3

1

Solved

When using StreamBuilder in Flutter to read changes in a document in Firestore, how am I charged? Am I charged for each time I listen whether there is any change or not multiplied by number of use...
Cupcake asked 3/8, 2019 at 12:49

© 2022 - 2024 — McMap. All rights reserved.