isVisible property

bool get isVisible

Returns true if the widget is at least partially visible (> 0%).

Implementation

bool get isVisible => visibleFraction > 0;