I have a for loop in my Flutter project similar to this (simplified):
for(int i=0; i<aVariableDeclaredBefore; i++) Padding(....
Here I need another operation after i++ run as this one anotherVariable--. I can't do it in {} braces because loop used for Widget manipulation. There is no curly braces there.
I need something like this ((i++)&&(anotherVariable--)) but how ? if it is possible
anotherVariableat all. If you're always incrementingiand always decrementinganotherVariable, on each iteration you could derive the intended value foranotherVariablefromi.