Files
swiftcontrol/lib/services
Jonas Bark 0155231b2d overlay: add sub-window entry point and dispatch from main()
Add lib/services/overlay/desktop_overlay_window.dart with
runDesktopOverlayWindow(): configures the sub-window via window_manager
(220×140, frameless, transparent, always-on-top), registers a
setWindowMethodHandler for 'state'/'close' calls from the parent, and
routes 'hide'/'toggleMode'/'positionChanged' back via WindowMethodChannel.

Update main() to call WindowController.fromCurrentEngine() after
WidgetsFlutterBinding.ensureInitialized(); if the arguments indicate
role=trainer-overlay it dispatches to runDesktopOverlayWindow and
returns early, keeping all heavy init (Settings, IAP, Supabase) out of
the sub-window process.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-09 16:12:22 +02:00
..
2026-04-28 10:38:04 +02:00
2026-03-25 10:31:38 +01:00
2026-03-08 15:03:36 +01:00
2026-02-19 12:42:27 +01:00
2026-02-23 22:13:47 +01:00