desktop_multi_window
0.3.1, released 3 months ago by mixin.dev
Create and manage multiple windows on desktop platforms in Flutter.
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.
- window_manager_plus
Create and manage multiple windows and communicate between them in Flutter desktop apps.
44Compare - multiview_desktop
Flutter desktop library for managing multiple OS windows from a single engine and isolate.
64Compare - multi_window
A package for adding multi window support to Flutter on Desktop.
47Compare - fullscreen_window
A Flutter plugin to make your window fullscreen and get screen sizes.
53Compare
Works with
Packages commonly used together with desktop_multi_window: ones it builds on, ones built on it, and its own family.