Do.While constructor
This Loop repeats a set of widget as long a condition is true. The Loop uses a Grouped File and Recursion to repeat commands.
| Do.While | |
|---|---|
| Condition or conditional value | a condition to test for each iteration |
| then | a List of Widgets to execute each time |
| testBefore | test before entering the loop if condition is true(optional) |
Implementation
Do.While(
dynamic condition, {
this.testBefore = true,
this.then,
this.translate,
}) {
_setValues(true, condition);
}