multi_window_manager library

Classes

DragToMoveArea
A widget for drag to move window.
DragToResizeArea
A widget for drag to resize window.
MultiWindowManager
MultiWindowManager
ReusableWindow
Root widget for windows that participate in the reuse cache.
ReusableWindowState
VirtualWindowFrame
WindowCaption
A widget to simulate the title bar of windows 11.
WindowCaptionButton
WindowCaptionButtonIcon
WindowIpc<T>
Wire format: List<Object?> fromId (int), payload (T) Disconnect signal: payload == null -> fromId, null This avoids Map creation / key hashing on every tick. Direct isolate-to-isolate communication channel between windows.
WindowListener
The WindowListener mixin class is used to listen to window events. If this is used as a Global Listener using the MultiWindowManager.addGlobalListener static method, the windowId parameter will be the ID of the window that emitted the event, otherwise it will always be null.
WindowOptions
WindowOptions
WindowRegistry
Process-wide registry for tracking secondary window states.

Mixins

IpcNotifierReceiver
Mixin for a ChangeNotifier that receives and applies delta updates arriving from a source window via WindowIpc.
IpcNotifierSender
Mixin for a ChangeNotifier that broadcasts field-level delta updates to other windows via WindowIpc.

Constants

kEventFromWindow → const String
kWindowCaptionHeight → const double
kWindowEventBlur → const String
kWindowEventClose → const String
kWindowEventDocked → const String
kWindowEventEnterFullScreen → const String
kWindowEventFocus → const String
kWindowEventHideWindow → const String
Legacy event sent from a secondary window when it hides itself. Kept for backward compatibility; registry sync is now handled automatically by global kWindowEventReuseClose via WindowRegistry.refresh.
kWindowEventInitialized → const String
kWindowEventLeaveFullScreen → const String
kWindowEventMaximize → const String
kWindowEventMinimize → const String
kWindowEventMove → const String
kWindowEventMoved → const String
kWindowEventResize → const String
kWindowEventResized → const String
kWindowEventRestore → const String
kWindowEventReuseClose → const String
Event emitted by the native layer (both to the hiding window via _EmitEvent and globally via _EmitGlobalEvent) when isEnabledReuse is set and the window receives WM_CLOSE from any source (X button, Alt+F4, task manager graceful close, etc.).
kWindowEventReuseShow → const String
Event emitted globally by the native layer (WM_SHOWWINDOW with wParam=TRUE) when a reuse-enabled hidden window becomes visible again. Every engine's MultiWindowManager._methodCallHandler calls WindowRegistry.refresh so all isolate-level caches converge to the current native state within one event-loop tick.
kWindowEventShowWindow → const String
Event sent from any window to a hidden secondary window to reuse it. The secondary window reinitializes itself with the provided args. Used by MultiWindowManager.createWindowOrReuse and handled by ReuseWindow.
kWindowEventUndocked → const String
kWindowEventUnmaximize → const String