file_picker_linux 1.0.1 copy "file_picker_linux: ^1.0.1" to clipboard
file_picker_linux: ^1.0.1 copied to clipboard

PlatformLinux

Linux implementation of the file_picker plugin using GTK3 and XDG Desktop Portals for native file and directory picking.

file_picker_linux #

The Linux implementation of file_picker.

Usage #

This package is endorsed, which means you can simply use file_picker as normal, and the Linux implementation will be automatically included.

Development #

The DBus bindings in lib/src/xdp_filechooser.dart and lib/src/xdp_request.dart are generated using dart-dbus from the XDG Desktop Portal DBus interface specifications on Linux:

  1. Install dart-dbus globally via Pub:
    dart pub global activate dbus
    
  2. Regenerate bindings against a running DBus daemon or XML interface definition:
    dart-dbus generate-remote-object org.freedesktop.portal.FileChooser
    dart-dbus generate-remote-object org.freedesktop.portal.Request
    
0
likes
160
points
47.8k
downloads

Documentation

API reference

Publisher

verified publishermiguelruivo.com

Weekly Downloads

Linux implementation of the file_picker plugin using GTK3 and XDG Desktop Portals for native file and directory picking.

Repository (GitHub)
View/report issues
Contributing

Topics

#file-picker #linux

License

MIT (license)

Dependencies

cross_file, dbus, file_picker_platform_interface, flutter, path

More

Packages that depend on file_picker_linux

Packages that implement file_picker_linux