generate method
Implementation
@override
Widget generate(Context context) {
if (!_isWhile) {
cond = Condition.not(cond);
}
var ex = Execute(If: cond, children: [File.recursive()]);
if (translate != null) ex = ex.positioned(translate);
final children = then ?? [];
children.add(ex);
var gr = Group(filename: 'doloop', children: children, groupMin: 0);
if (testBefore) return If(cond, then: [gr]);
return gr;
}