handleVisibilityChanged method

void handleVisibilityChanged(
  1. VisibilityInfo info
)

Implementation

void handleVisibilityChanged(VisibilityInfo info) {
  _visibleFraction = info.visibleFraction;
  _startAnimationIfNeeded();
}