onOverlayControlsVisibilityChanged property

void Function(bool areVisible)? onOverlayControlsVisibilityChanged
final

Called when overlay controls (e.g., seek bar, volume/mute, fullscreen) are shown or hidden.

areVisible is true when controls are visible, false otherwise.

Implementation

final void Function(bool areVisible)? onOverlayControlsVisibilityChanged;