Triggered push notifications based on selected input by user

Custom Code

Hi everyone,

I'm a beginner on this platform. Currently, I'm working on a medicine expiration alert application. When a user selects medicine details from a list, the information will be passed to a medicine details page. On this page, there will be a dropdown widget (1 month, 1 week, 3 days) that allows the user to choose when they want to receive a reminder. I have the expiration date stored in my database.

For example, if the expiration date is 24/06/2024 and the user chooses "1 week" from the dropdown widget, they will receive an alert 1 week before the expiration date.

Currently, I have three custom functions:

However, when I try to schedule the alert, these custom functions cannot be selected (they appear in red).

Any guidance or help would be greatly appreciated! Thank you!

What have you tried so far?
Did you check FlutterFlow's Documentation for this topic?
No
1
2 replies