flutter_presentation_display
2.0.9, released 10 days ago by elriztechnology.com
A Flutter plugin designed to handle secondary presentation displays.
What it does
It provides methods to interact with connected displays, show and hide secondary presentation screens, listen to display connection changes, and transfer data between the main and secondary displays.
AI-written summary of version 2.0.9, based on the package's README and metadata. Report an inaccuracy
Use it when
- You need to display a separate presentation screen on an external monitor or secondary device display.
- You need to pass data back and forth between the main display and a secondary presentation screen.
Skip it when
- You only need standard single-screen navigation inside your app.
- You are building for platforms that do not support secondary presentation displays (only Android is explicitly mentioned/tested).
Strengths
- Enables multi-display presentation setups easily.
- Includes stream listeners for connection changes and data transfer between displays.
- Supports fullscreen mode to hide system bars on secondary displays.
Weaknesses
- Limited platform documentation and testing details (explicitly tested on SUNMI T2s).
- Requires manual entry-point setup with specific pragmas for the secondary display.
Setup
- Kind
- Plugin (native code)
- Effort
- Low
- Code generation
- No
- Direct dependencies
- 0
Requires defining a secondary entry point in main.dart annotated with @pragma('vm:entry-point').
final display = FlutterPresentationDisplay();
List<Display>? displays = await display.getDisplays();
bool? result = await display.showSecondaryDisplay(
displayId: 1,
routerName: "presentation",
fullscreen: true,
);Alternatives
Packages that do the same job and could replace flutter_presentation_display.
- external_display
Connect to external displays via wired or wireless connections and exchange data.
72Compare - vibration
A plugin for handling the Vibration API on iOS, Android, web, and OpenHarmony.
80Compare - variable_app_icon
Plugin to use multiple app icons on Android and iOS.
50Compare