Adding Data
This page describes how to add data to your Firestore collection.
Before You Begin:
Understand how to structure the Firebase Database.
Finish the steps in the Firebase Setup for your project.
Set up a Collection.
Adding a document
Let's see how to add Todo data, like the following:
Here are the steps
Building a page (skip this if you already have a page ready)
Adding an action to create a record (somewhere on the page)
1. Building a page
Use the Column, TextField, Container (to open DatePicker), Text (to show selected date), and Button widgets that look like the following:
2. Adding an action to create a document
Check how to add an action to create a document.
The Date/Time Picked is only available if you added an action to open DatePicker.
Last Updated Date: September 28, 2023
Last updated