Do.Until constructor
This Loop repeats a set of widget until a condition becomes true. The Loop uses a Grouped File and Recursion to repeat commands.
Do.Until | |
---|---|
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 false(optional) |
Implementation
Do.Until(
dynamic condition, {
this.testBefore = true,
this.then,
this.translate,
}) {
_setValues(false, condition);
}