visibleFraction property
final
A fraction in the range [0, 1] that represents what proportion of the widget is visible (assuming rectangular bounding boxes).
0 means not visible; 1 means fully visible.
Implementation
final double visibleFraction;