toggleFullScreen method
Implementation
void toggleFullScreen(BuildContext context) {
if (player.isFullScreen.value) {
player.exitFullScreen(context);
} else {
player.enterFullScreen(context);
}
}
void toggleFullScreen(BuildContext context) {
if (player.isFullScreen.value) {
player.exitFullScreen(context);
} else {
player.enterFullScreen(context);
}
}