Skip to content
pubscout

multiview_desktop

2.0.2, released 7 weeks ago by an unverified publisher

Flutter desktop library for managing multiple OS windows from a single engine and isolate.

$ flutter pub add multiview_desktop
Source repository

What it does

Allows managing multiple OS windows for macOS, Windows, and Linux from a single Flutter engine and Dart isolate using the multi-view API. Inter-window communication uses plain Dart objects without serialization or native bridges.

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

Use it when

  • Building a multi-window desktop application in Flutter
  • Sharing state and Dart objects directly between different app windows without IPC
  • Optimizing resource usage by avoiding multiple Flutter engine instances

Skip it when

  • Developing for mobile or web platforms
  • Needing separate isolates or engines per window

Strengths

  • Windows share a single engine, isolate, and memory space
  • Direct Dart object sharing without serialization or isolate ports
  • Synchronous FFI-based native window chrome calls in 2.0

Weaknesses

  • Requires manual modifications to native runner code for Linux and Windows
  • Popup positioning has limitations on Wayland Linux compositors

Setup

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

Requires manual platform-specific setup inside C++ files for Linux and Windows (e.g., updating application activation, dart project preparation, and window creation code).

final win = MultiViewDesktop.of(context);
win.setTitle('Settings');
win.setAlwaysOnTop(true);
win.focus();

Alternatives

Packages that do the same job and could replace multiview_desktop.