All widgets currently in the widget tree (lazy pre-order traversal).
Can contain duplicates, since widgets can be used in multiple places in the widget tree.
Source
Iterable<Widget> get allWidgets { TestAsyncUtils.guardSync(); return allElements .map((Element element) => element.widget); }