allLayers property
final
Whether the captured image comes from the entire tree, or only the subtree of record.
If allLayers is false, then the record widget will capture the image composited by its subtree. If allLayers is true, then the record will capture the entire tree composited and clipped by record's region.
The two modes are identical if there is nothing in front of record. But in rare cases, what needs to be captured has to be rendered out of record's subtree in its front. By setting allLayers to true, record captures everything within its region even if drawn outside of its subtree.
Defaults to false.
Implementation
final bool allLayers;