Hans Trapp
 · Agência Multifocal - Marketing Médico

Appointment App - FlutterFlow/FireBase (Inactive Data Style (Current Time))

Actions & Logic

Hey guys!

I'm having difficulty with my scheduling app.

After selecting the doctor, the user falls into the calendar (Widget) seeing the data that the doctor attends.

But, I need the data that it DOES NOT MEET to be red, and the past data to be in light gray and the available data to be black.

In the doctor's database I added a List String with the days served by the doctor being Monday, Tuesday... Sunday, etc... And I added a custom function to generate a list of specific days from a list of day names (like "Monday", "Tuesday", etc.). The function must convert these day names to actual week data in a format that FlutterFlow and Firestore can view and display.

The problem is that I believe there is no inactive data style (current time), in theory it should be simple to configure there.

Inactive data style: Text Color: with a Conditions Value that is in print 2 and where I am unable to configure.

What have you tried so far?

In the Calendar Widget under Inactive Date Style, I clicked on Text Color and selected Conditional Value.

In IF: and I selected Current Time.

In Available Options: only appears: DateTime to Unix Timestamp and in Time Unit: MicroSeconds, MilliSeconds and Seconds.

When confirming it doesn't allow it. Saying Current Available is not valid.

Does anyone know how I can get it?

Did you check FlutterFlow's Documentation for this topic?
No
3