handleVisibilityChanged method
Implementation
Future<void> handleVisibilityChanged(VisibilityInfo info) async {
if (info.visibleFraction >= widget.visibleFractionThreshold &&
!_hasBeenVisible) {
_hasBeenVisible = true;
_controller.forward();
}
}