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