xdg_desktop_portal 0.1.13 copy "xdg_desktop_portal: ^0.1.13" to clipboard
xdg_desktop_portal: ^0.1.13 copied to clipboard

PlatformLinux

A native Dart implementation of portals. This package allows Dart applications to use portals available on the Linux desktop.

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add xdg_desktop_portal
copied to clipboard

With Flutter:

 $ flutter pub add xdg_desktop_portal
copied to clipboard

This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):

dependencies:
  xdg_desktop_portal: ^0.1.13
copied to clipboard

Alternatively, your editor might support dart pub get or flutter pub get. Check the docs for your editor to learn more.

Import it

Now in your Dart code, you can use:

import 'package:xdg_desktop_portal/xdg_desktop_portal.dart';
copied to clipboard
9
likes
160
points
2.13k
downloads

Publisher

verified publishercanonical.com

Weekly Downloads

2024.09.11 - 2025.03.26

A native Dart implementation of portals. This package allows Dart applications to use portals available on the Linux desktop.

Repository (GitHub)
Contributing

Documentation

API reference

License

MPL-2.0 (license)

Dependencies

collection, dbus

More

Packages that depend on xdg_desktop_portal