All Questions
10 questions
1
vote
0
answers
40
views
how to handle data reveived from firebase realtime database using stream
I am trying to retrieve data from firebase realtime database and I want to add it to a local variable and want to add some more data to it then again want to push it back at same location. here's my ...
0
votes
1
answer
128
views
why Map<String, dynamic>.from((snapshot.data! as Event).snapshot.value) is giving an error says "Event" is not a type
StreamBuilder(
stream: reffVehicles.child('users').orderByKey().limitToLast(10).onValue,
builder: (context, snapshot){
final ...
0
votes
1
answer
33
views
Flutter: querying firebase realtime database data list with streambuilder error
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 ...
2
votes
1
answer
134
views
Showing database in flutter
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(
...
0
votes
1
answer
341
views
How do I create Flutter stream builder?
I have an "updateDatabase" function that retrieves the data from the Firebase Real-Time Database and saves it in the shared preferences ... I put this function in the Init State of my home ...
0
votes
2
answers
1k
views
How to use get firebase data to StreamBuilder without Listview
I need to show my firebase data in deference places. But in the same page.
In every tutorial I followed they use Listview and I need to know there is another way to get data without using the list ...
2
votes
0
answers
540
views
How to upload multiple image Urls inside my Firebase Database and How to display the URLs images in a separate Page
I am getting two issues with my coding.
I have created a multiple image picker that uploads all the images of the logged user into firebase image storage under the user ID. But the issue is when it ...
0
votes
2
answers
12k
views
Edit User Profile Page and Profile Picture. Using Real-Time Database flutter
I am trying to pull user data from my UserProfileBrowse Data model and display it on my user profile edit page. Including the image. I also want to update the data into my real-time Database.
THIS IS ...
0
votes
1
answer
79
views
How to remove items from a list (Dart) | Firebase rtdb
I have a list that stores items that I don't want to display as part of my StreamBuilder, ListView. This list retrieves its information from a firebase rtdb.
I use a StreamBuilder to populate the ...
0
votes
2
answers
2k
views
Flutter stuck with a "DatabaseEvent subtype" error
The below code gives an error of subtype
Data Structure
code
StreamBuilder(
stream: _database.orderByKey().onValue,
builder: (context, snapshot) {
final valudisp = <Card&...