Application for data collection, CSV conversion and attachment sending by mail.
The App collects Data from the normal user when the admin mode is set to false in build.
Every data validated and sent goes to the firebase storage. In the admin mode = true build, the app performs similarly but has an extra widget in the app bar which launches the Dashboard route.
In the dashboard page, the admins can enter there email addres, click compile and publish. The app then fetches the data from firestore and converts to a csv file. then sends to desired mail.
If you want to use the app. you'll need to make some changes.
Create your firebase project from Firebase Console. Create and android app. and follow the instruction to add your google-service.json
file to the required path.
This should be pretty easy to do
Navigate to form.dart and customize the form to look the way you want.