setFullScreen method

void setFullScreen(
  1. bool bEnable
)

Implementation

void setFullScreen(bool bEnable) async {
  _isNowFullScreen = bEnable;
  WebviewWinFloatingPlatform.instance.setFullScreen(_webviewId, bEnable);
  if (!bEnable) {
    await WebviewWinFloatingPlatform.instance.updateBounds(_webviewId, _lastLayoutOffset, _lastLayoutSize, _lastDevicePixelRatio);
  }
}