You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Basically, I'm trying to retrieve data from Firebase Database and display it on a Listtile. I was expecting to get data stored in the database to be displayed in a Listitle, yet only a blank screen has shown. I don't understand where is the problem.
Main Steps:
Created the database reference.
Initialised the query.
Used FirebaseAnimatedList in the build function body.
Expected results:
Listtile with data retrieved from the database.
Actual results:
Blank page with no body components.
Data stored in the database:
I want to retrieve only the course name.
UPDATE:
I work on this project with a group and one of them has just implemented the code and it worked fine! I don't understand
why isn't working for me. I'm thinking it might be a problem in the Firebase connection, not sure.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Basically, I'm trying to retrieve data from Firebase Database and display it on a Listtile. I was expecting to get data stored in the database to be displayed in a Listitle, yet only a blank screen has shown. I don't understand where is the problem.
Main Steps:
Expected results:
Listtile with data retrieved from the database.
Actual results:
Blank page with no body components.
Data stored in the database:
I want to retrieve only the course name.
UPDATE:
I work on this project with a group and one of them has just implemented the code and it worked fine! I don't understand
why isn't working for me. I'm thinking it might be a problem in the Firebase connection, not sure.
Here is the code:
Class State:
Widget:
Build Function:
Beta Was this translation helpful? Give feedback.
All reactions