onOverlayControlsVisibilityChanged property
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;