Skip to content
pubscout

window_manager_plus

1.0.5, released 2 years ago by an unverified publisher

Create and manage multiple windows and communicate between them in Flutter desktop apps.

$ flutter pub add window_manager_plus
Source repository

What it does

Allows Flutter desktop apps to create, resize, reposition, and manage multiple windows, while also supporting inter-window communication and event listening.

AI-written summary of version 1.0.5, based on the package's README and metadata. Report an inaccuracy

Use it when

  • You are building a desktop application with Flutter that requires multiple windows.
  • You need communication between different windows in a desktop app.

Skip it when

  • You need to support Linux desktop apps (Linux is not currently supported).
  • You are targeting mobile or web platforms exclusively.

Strengths

  • Enables multi-window support for macOS and Windows.
  • Provides inter-window communication and window event listeners.

Weaknesses

  • Linux is not currently supported.
  • Requires manual platform-specific code modifications in Swift and C++.

Setup

Kind
Plugin (native code)
Effort
Medium
Code generation
No
Direct dependencies
2

Requires modifications to native macOS Swift files (MainFlutterWindow.swift, AppDelegate.swift) and Windows C++ files (main.cpp) as documented in the setup guide.

void main(List<String> args) async {
  WidgetsFlutterBinding.ensureInitialized();
  await WindowManagerPlus.ensureInitialized(args.isEmpty ? 0 : int.tryParse(args[0]) ?? 0);
  runApp(const MyApp());
}

Alternatives

Packages that do the same job and could replace window_manager_plus.

Works with

Packages commonly used together with window_manager_plus: ones it builds on, ones built on it, and its own family.