Sum of database values in list

Database & APIs

I am new to FlutterFlow, so I decided to try and replicate MyFitnessPal as a fun learning experience.

I am trying to get the number next to the section title to become the sum of all the food calories listed within that section. The "entry_calories" is being pulled from my database called "diaryEntries"

What have you tried so far?

I have tried searching around for custom functions, as there have been a few other people looking for solutions, but nothing seems to work.

I also tried the co-pilot code generation, but that hasn't seemed to work.

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