Make a subtotal funtion, that if a checkbox is selected, take a value a sum to another value if the checbox2 is selected

Custom Code

Hello there!, I am new in this, I am not a developer I know really basic things of developing, please I need help in this, as you can see in the image I want that FF take a value of a query collection if the checkbox1 is selected; true, and if the checkbox2 is selected sum another value from the query collection.

If some body can help I really really apreciate it

What have you tried so far?

Make a new custom funtion but I don't know what I am doing

Did you check FlutterFlow's Documentation for this topic?
Yes
6 replies