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