Adding Data

This page describes how to add data to your Firestore collection.

Before You Begin:

  1. Finish the steps in the Firebase Setup for your project.

  2. Set up a Collection.

Adding a document

Let's see how to add Todo data, like the following:

Here are the steps

  1. Building a page (skip this if you already have a page ready)

  2. 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