onForeground property
Fires when the app enters (true) or leaves (false) the foreground
while the game is open, for the window's dwell time.
Implementation
final void Function(bool foreground)? onForeground;
Fires when the app enters (true) or leaves (false) the foreground
while the game is open, for the window's dwell time.
final void Function(bool foreground)? onForeground;