isFullscreen property

bool get isFullscreen

Indicates whether device's browser is in fullscreen mode or not.

Implementation

static bool get isFullscreen {
  return (fullscreenElement != null ||
      webkitFullscreenElement != null ||
      msFullscreenElement != null);
}