Skip to content
pubscout

desktop_multi_window

0.3.1, released 3 months ago by mixin.dev

Create and manage multiple windows on desktop platforms in Flutter.

WASM-ready
$ flutter pub add desktop_multi_window
Source repository

What it does

Allows Flutter desktop applications to spawn, manage, and communicate between multiple independent native windows. Each window runs on its own dedicated Flutter engine and isolate.

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

Use it when

  • Your desktop application needs multi-window support or secondary pop-out windows.
  • You need bidirectional communication between different application windows.

Skip it when

  • You are building a mobile or web application.
  • You only need simple multi-screen routing within a single window.

Strengths

  • Enables true multi-window architecture on Windows, macOS, and Linux.
  • Provides inter-window communication via method channels.
  • Supports custom window configurations and arguments.

Weaknesses

  • Plugins must be manually registered for each new window due to separate engine instances.
  • Requires modifying native project files on Windows, macOS, and Linux for full plugin support.

Setup

Kind
Plugin (native code)
Effort
High
Code generation
No
Direct dependencies
0

Requires native configuration updates in windows/runner/flutter_window.cpp, macos/Runner/MainFlutterWindow.swift, and linux/my_application.cc to register plugins on newly created windows.

Future<void> main(List<String> args) async {
  WidgetsFlutterBinding.ensureInitialized();
  final windowController = await WindowController.fromCurrentEngine();
  final arguments = parseArguments(windowController.arguments);
  runApp(const MainWindow());
}

Alternatives

Packages that do the same job and could replace desktop_multi_window.

Works with

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