screen_lifecycle library

Classes

ScreenLifecycle
Calls onFocusGained when child becomes visible with the app in the foreground, and onFocusLost otherwise.