DEV Community

Curtly Critchlow
Curtly Critchlow

Posted on

Livestock Information System - 100DaysOfCode - Days 23, 24, 25, 26

Introduction

This post is part of my 100DaysOfCode series. In this series, I write about what I am learning on this challenge. I will be learning flutter and firebase by building an Agriculture Management Information System. This will consist of an app for crops and livestock.

Recap

On Day 22 we discussed why using form fields as descendants of a ListView is a bad idea.

Overview

In this post, we will discuss the farm module added over the past four days.

Farm Form

The farm form screen handles both the create and update scenarios. It contains text form fields, single and multi-select dropdown form fields.

It also allows the user to get the current geolocation using the geolocator package.

Farm form data is stored on cloud firestore while the farm profile picture is stored on cloud storage.

The farm list and detail screens both use a query snapshot and a document snapshot to ensure real-time functionality.

Wrap Up

In this post, we discussed we discussed the farm module added over the past four days.

Connect with me

Thank you for reading my post. Feel free to subscribe below to join me on the #100DaysOfCodeChallenge or connect with me on LinkedIn and Twitter. You can also buy me a book to show your support.

Discussion (0)