xdg_desktop_portal
0.1.15, released 4 weeks ago by canonical.com
A native Dart implementation of portals for Linux desktop applications.
What it does
Allows Dart applications to use desktop portals available on Linux. It supports various portals such as notifications, file chooser, location, network monitor, background, camera, and settings.
AI-written summary of version 0.1.15, based on the package's README and metadata. Report an inaccuracy
Use it when
- You are building a Dart or Flutter application targeting the Linux desktop.
- Your Linux application needs to interact with system services using xdg-desktop-portal.
Skip it when
- You are developing for platforms other than Linux.
- You do not need system portal integration.
Strengths
- Provides a native Dart client implementation of xdg-desktop-portal.
- Includes support for numerous portal features like notifications, file choosers, and settings.
Weaknesses
- Limited to Linux platforms.
- Not documented details beyond basic usage and changelogs.
Setup
- Kind
- Pure Dart
- Effort
- Low
- Code generation
- No
- Direct dependencies
- 2
Requires Linux desktop environment with xdg-desktop-portal support.
not documentedAlternatives
Packages that do the same job and could replace xdg_desktop_portal.
- tray_manager
Define system tray icons and context menus in Flutter desktop apps.
93Compare - zikzak_inappwebview
A Flutter plugin providing inline WebView, headless WebView, and in-app browser features.
80Compare - desktop_lifecycle
Allows Flutter desktop applications to perceive window activation state.
76Compare - snapd
A Dart client for communicating with the snapd daemon on Linux systems.
74Compare
Works with
Packages commonly used together with xdg_desktop_portal: ones it builds on, ones built on it, and its own family.
- dbusxdg_desktop_portal depends on itNative Dart D-Bus client for Linux and Windows.
- nmSame familyClient for interacting with Linux NetworkManager via D-Bus
- gsettingsSame familyClient to access GSettings database for storing user preferences on Linux.
- geoclueSame familyDart client for the GeoClue D-Bus geolocation service on Linux.
- upowerSame familyProvides a client to connect to UPower for Linux power management.
- bluezSame familyA Dart client for interacting with the Linux BlueZ Bluetooth stack via D-Bus.
- desktop_notificationsSame familySend Linux desktop notifications via DBus.
- xdg_iconsSame familyXDG theme icons for Flutter.