Skip to content
pubscout

xdg_desktop_portal

0.1.15, released 4 weeks ago by canonical.com

A native Dart implementation of portals for Linux desktop applications.

$ flutter pub add xdg_desktop_portal
Source repository

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 documented

Alternatives

Packages that do the same job and could replace xdg_desktop_portal.

Works with

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