setFullScreen method
Returns a String containing the version of the platform.
Implementation
@override
Future<void> setFullScreen(bool isFullScreen) async {
if (isFullScreen) {
web.window.document.documentElement?.requestFullscreen();
} else {
web.window.document.exitFullscreen();
}
}