setVisibleOnAllWorkspaces method
Sets whether the window should be visible on all workspaces.
visibleOnFullScreen also allows joining full-screen spaces on macOS.
@platforms macos
Implementation
Future<void> setVisibleOnAllWorkspaces(
bool visible, {
bool? visibleOnFullScreen,
}) async {
final window = _target;
if (window == null) return;
window.isVisibleOnAllWorkspaces = visible;
window.setVisibleOnFullScreen(visibleOnFullScreen ?? false);
}