advanced_player/internal/platform_utils library
Functions
-
toggleFullscreen(
{bool isCurrentlyFullscreen = false}) → Future< bool> -
Toggles fullscreen mode. Supports Web and Native (iOS/Android).
isCurrentlyFullscreenis needed for native platforms to know the state. -
togglePictureInPicture(
) → Future< void> -
triggerAirPlay(
) → void