onFullScreenToggled property

void Function(bool isGoingFullScreen)? onFullScreenToggled
final

Called when the player enters or exits fullscreen mode.

isGoingFullScreen is true if entering fullscreen, false if exiting.

Implementation

final void Function(bool isGoingFullScreen)? onFullScreenToggled;