generate method
Implementation
@override
Widget generate(Context context) {
if (_stop == true) return Entity.All().addTag('objd_$name');
//if(context.prod){
if (infinite) {
children.add(Schedule('$path/$name', ticks: ticks));
} else {
children.addAll([
If(Condition.not(Entity.All(tags: ['objd_$name'])),
then: [Schedule('$path/$name', ticks: ticks)]),
Entity.All().removeTag('objd_$name')
]);
}
//}
return File.execute('$path/$name', child: For.of(children));
}