I am making a cooking recipe application on flutterflow and I have a problem...
In the ingredients part, I would like to put a scaling system. In my table (supabase) with the recipes, I have 4 data corresponding to the number of people, the weight, the volume and the number of units. It is possible that a recipe only gives one or two of these values and that the others are useless.
In my recipe display page, I have a tapbar with the list of ingredients and a scaling button that opens a popup (see the image).
I am trying to make it so that if I click on + in person, 5 people should be displayed and the other values are updated (500g, 500ml, 5 pieces in this example).
The multiplier used (in this example x1.25) should be stored first in the table when saving.
Then, the popup disappears and the list of ingredients is modified according to the multiplier.
Can someone guide me?
Thanks in advance!