icefelix_window_manager_platform_interface 0.2.0 copy "icefelix_window_manager_platform_interface: ^0.2.0" to clipboard
icefelix_window_manager_platform_interface: ^0.2.0 copied to clipboard

PlatformmacOSWindows
unlisted

Platform interface for icefelix_window_manager. Defines the abstract API and Pigeon-generated bindings. Used by platform implementations (macOS, Windows, Linux).

Changelog #

0.2.0 - 2026-05-24 #

Added #

  • WindowHostApi.setShape(List<OffsetRaw>? points) — Pigeon schema for non-rectangular window regions (polygon). Wire-protocol additive; old platform impls (0.1.x) will throw UnimplementedError if called. New platform impls (0.2.x+) implement it natively. Documented as best-effort across platforms.
  • platforms: now declares both macos: and windows: (added Windows).

Bumped #

  • All federated dependents must move to constraint ^0.2.0 to consume the new schema. Stale ^0.1.0 constraints would fail to resolve the setShape Pigeon channel at runtime.

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 WindowManagerPlatform base class with PlatformInterface token verification
  • Default implementation throws UnimplementedError on all methods so platform impls fail loudly during development if a method is missed
  • MockPlatformInterfaceMixin re-export for testability

Docs #

  • setSize / setMinSize / setMaxSize documented as operating on frame coordinates (titlebar included on platforms that have one).
0
likes
150
points
6
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

Platform interface for icefelix_window_manager. Defines the abstract API and Pigeon-generated bindings. Used by platform implementations (macOS, Windows, Linux).

Homepage
Repository (GitHub)
View/report issues

Topics

#window #desktop #platform-interface

Funding

Consider supporting this project:

icefelix.com

License

BSD-3-Clause (license)

Dependencies

flutter, plugin_platform_interface

More

Packages that depend on icefelix_window_manager_platform_interface