isWindowFullscreened static method
Returns if the window is fullscreened.
This method is only available on macOS.
Implementation
static Future<bool> isWindowFullscreened() async {
if (Platform.isMacOS) {
return WindowManipulator.isWindowFullscreened();
}
if (!Platform.isMacOS) {
throw UnsupportedError(
'isWindowFullscreened() is only available on macOS.',
);
}
return false;
}