isOffstage top-level constant
Asserts that the Finder locates a single widget that has at least one Offstage widget ancestor.
It's important to use a full finder, since by default finders exclude offstage widgets.
Sample code
expect(find.text('Save', skipOffstage: false), isOffstage);
See also:
- isOnstage, the opposite.
Implementation
const Matcher isOffstage = _IsOffstage();