isOffstage = const _IsOffstage()

Asserts that the Finder locates the 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.

Example:

expect(find.text('Save', skipOffstage: false), isOffstage);