mirror of
https://github.com/jonasbark/swiftcontrol.git
synced 2026-11-29 09:11:17 +01:00
The previous commit vendored the pub.dev 1.0.4 release. The GitHub repo (https://github.com/Swatimishra8/multi_window_native) is ahead of pub.dev at 1.0.5 and contains improvements that matter for the trainer-overlay use case: - `windowDidBecomeKey` delegate to resume Flutter's render pipeline on focus — fixes sub-windows freezing after the main app regains focus. - `applicationShouldHandleReopen` for dock-icon restore. - Delayed (0.1s) cleanup of secondary windows in `closeWindow` so Flutter's onWindowClose callbacks finish executing. - `generateUniqueTitle`/`registerWindowTitle`/`unregisterWindowTitle` bridge methods. - Native Windows implementation in the package itself (we still use our own runner/main.cpp wiring; the package's Windows code is unused but harmless). Re-applied the NSPanel substitution in `createNewWindow`: .nonactivatingPanel + .utilityWindow style, level .screenSaver, collectionBehavior including .fullScreenAuxiliary, initial size 220x140 / minSize 160x80 — so the sub-window sits above fullscreened trainer apps from the moment it's shown. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
29 lines
682 B
YAML
29 lines
682 B
YAML
name: multi_window_native
|
|
description: "A Flutter plugin for creating and managing multiple native desktop windows with cross-window communication."
|
|
version: 1.0.5
|
|
homepage: https://github.com/Swatimishra8/multi_window_native
|
|
repository: https://github.com/Swatimishra8/multi_window_native
|
|
|
|
environment:
|
|
sdk: '>=3.8.1 <4.0.0'
|
|
flutter: '>=3.3.0'
|
|
|
|
dependencies:
|
|
flutter:
|
|
sdk: flutter
|
|
plugin_platform_interface: ^2.0.2
|
|
window_manager: ^0.5.1
|
|
|
|
dev_dependencies:
|
|
flutter_test:
|
|
sdk: flutter
|
|
flutter_lints: ^5.0.0
|
|
|
|
flutter:
|
|
plugin:
|
|
platforms:
|
|
macos:
|
|
pluginClass: MultiWindowNativePlugin
|
|
windows:
|
|
pluginClass: MultiWindowNativePlugin
|