Count Sum Inline function not functional

Troubleshooting

Okay so. I built a really simple inline function that basically sums the values of a counter widget. It was working perfect so I decided to scale it up in the app. Basically the goal is simple I have students that I am evaluating who are required to perform certain tasks. There are common errors associated with these tasks and I want to be able to evaluate them and track their progress over time. The count function allows me to make note of how many times in a session they made the error so that I can grade their performance from that summation. Unfortunately when I scaled up I get a page crash with a null value from one of the counters causing the issue. So I rebuilt the function with fewer expressions and reloaded, no good same crash. I reduced the number of expressions to the number that I knew had worked previously and now it doesn't work. I get the same error. So I switched browsers, rebuilt the entire page widget by widget several times and event went so far as to build a separate test app that I was able to get to function properly for up to 17 widgets per inline function before I would get the same crash. The strange thing is that the crash in the test app corrects itself as soon as I reduced the number of widgets representing Variables to 17 or less. This is getting really frustrating as this is already a work around to my preferred way of doing this which was to use toggles and count them from a backend query. The workaround ended up being better cause I can do all the calculations on the front end of the Document build and save myself the queries but I need this or something else to work otherwise my app is effectively meaningless and I will have to resort to learning flutter for real. I have looked into Data Tables but I can't seem to get them to function. Maybe that is the way that I need to go though? any help would be appreciated.

What have you tried so far?

So I rebuilt the function with fewer expressions and reloaded, no good same crash. I reduced the number of expressions to the number that I knew had worked previously and now it doesn't work. I get the same error. So I switched browsers, rebuilt the entire page widget by widget several times and event went so far as to build a separate test app that I was able to get to function properly for up to 17 widgets per inline function before I would get the same crash.

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