Relative Content

Tag Archive for flutterfirebasedart

Changing color to sync with status in firestore flutter

i’m making a booking system and i have this code, I’m trying to make my buttons to change colors according to the status of a booking in firestore (where there is a map field with a field called status, which can either be ‘Confirmed’ or ‘Unconfirmed’), i’ve tried some conditional statements but it only works on one or two buttons when a booking is made, how can i make the bookings to sync with the status field in every date and slot,what can i do?

Creating a Register Page with Three User Selection Options

I was wondering is there a way for after a user has register an account with the mobile app. It will then proceed with a next screen which will display three account types for the users to choose from, upon clicking it the users will be allowed to select one of the three options.