icefelix_window_manager_platform_interface 0.1.0
icefelix_window_manager_platform_interface: ^0.1.0 copied to clipboard
Platform interface for icefelix_window_manager. Defines the abstract API and Pigeon-generated bindings. Used by platform implementations (macOS, Windows, Linux).
Changelog #
0.1.0 - 2026-05-22 — First stable #
Platform interface for the icefelix_window_manager federated plugin. Used
by platform implementations (_macos; _windows and _linux coming).
Added #
- Pigeon schema (
pigeons/window_api.dart) — source of truth for the native bridge: 42 HostApi methods + 3 FlutterApi callbacks (onSnapshotChanged,onDisplaysChanged,onCloseRequest) - Generated Dart bindings (
lib/src/messages.g.dart) - Abstract
WindowManagerPlatformbase class withPlatformInterfacetoken verification - Default implementation throws
UnimplementedErroron all methods so platform impls fail loudly during development if a method is missed MockPlatformInterfaceMixinre-export for testability
Docs #
setSize/setMinSize/setMaxSizedocumented as operating on frame coordinates (titlebar included on platforms that have one).