session/local/element_visibility library

Functions

boundsFor(Element element) → UiBounds?
effectiveElementOpacity(Element element) → double
Returns the effective opacity contributed by the element's ancestors.
inViewport(WidgetTester tester, UiBounds bounds) → bool
isElementGeometricallyVisible(Element element, WidgetTester tester) → bool
Geometry and visibility queries shared by observation and assertions.
isUnderOffstageAncestor(Element element) → bool
Whether element is retained by an Offstage subtree rather than part of the current rendered screen.