isPartiallyVisible property

bool get isPartiallyVisible

Returns true if the widget is partially visible (between 0% and 100%).

Implementation

bool get isPartiallyVisible => visibleFraction > 0 && visibleFraction < 1;