Skip to main content

All Questions

0 votes
1 answer
114 views

Stuck in the loop when downloading from Firebase Realtime database

I'm rewriting one of my projects I use for learning from SwiftUI to Flutter and I'm stuck at one part where I read data from Firebase Realtime Database. What I do is that I anonymously authorize to ...
Petr G's user avatar
  • 65
1 vote
0 answers
24 views

Flutter FutureBuilder returns a K:V object on initial child().get() but only V remains on state changes

This is a behavior I'm not understanding but am sure I've got something wrong. Components: Flutter, Realtime Database, FutureBuilder. Modified code: [FormView class omitted but extends StatefulWidget] ...
Deuce's user avatar
  • 41
-2 votes
1 answer
99 views

The operator '[]' isn't defined for the type 'Object'. Try defining the operator '[]'. Why I am getting this error in my listview builder?

before puting "!", I was getting this error: The method '[]' can't be unconditionally invoked because the receiver can be 'null'. This is my code: FutureBuilder( future: ...
Ali Punjabi's user avatar
0 votes
1 answer
211 views

Double update in FutureBuilder?

I have a FutureBuilder which is getting data from my firebase realtime database. Result should be a list of all posts, that also works but only for one second or so, it gets updated two times for what ...
Moritz's user avatar
  • 563
0 votes
1 answer
74 views

How to display something while the value is null/loading in Flutter?

I've created a real-time object detection with Tiny YOLOv2 using Flutter app. So far the app managed to detect the object and display its bounding box with the detectedClass and confidence. Then I ...
jung_66's user avatar
  • 41
1 vote
2 answers
147 views

How to use mutable data in future flutter?

How can I use the MutableData? or is it already deprecated? I am currently creating a user information that will be send to firebase realtime database. addUser(User user) async { final ...
Gheh's user avatar
  • 305
0 votes
1 answer
332 views

FutureBuilder get data only one time

I have to get a List from Realtime Database (Firebase). I have no problem to get first time my list but if I go back and return on the future builder activity I get no data. This is my code: import '...
franzi98's user avatar
1 vote
1 answer
406 views

How to change Flutter widget Visibility using Firebase Realtime Database and FutureBuilder?

Well, My realtime database looks like: Database My app looks like: Slidable button The slidable button is wrapped in Visibility() widget, so, I'm trying to set this one invisible when child "...
Edwin Andrango's user avatar