Troubleshooting Conditional Logic and Introduction to Dart in FlutterFlow

The State Changers meeting was centred around problem-solving and rectifying an if condition. The issue was with the return of unexpected results in the code. The speaker was attempting to get the function to return only one item when the store score was not equal to zero. The discussion indicated that the store score was being treated as a decimal number.


The initially tested condition used an equality operator for the value zero, but it excessively returned items and showed problems. A solution was then experimented by replacing equality check with "greater than zero" check to avoid the possibility of negative store scores, as the condition is only looking for positive ones. This yielded a more desirable result showing improvement. In addition, there was a mention of a further deep dive with Dart in FlutterFlow at a later session. The problem-solving approach discussed could be beneficial for those experiencing similar coding issues, especially in conditions and control statements.


(Source: Office Hours 6/21 )

State Change Members Can View The Video Here
chris-montgomery-smgTvepind4-unsplash.jpg

View This Video Now

Join State Change Risk-Free