Skip to content
pubscout

gal_linux

0.1.2, released 2 years ago by freshplatform.net

Unofficial Linux implementation of the gal plugin for saving images and videos.

$ flutter pub add gal_linux
Source repository

What it does

Provides an unofficial Linux implementation of the gal plugin to save images and videos. It relies on standard command-line executables and handles file operations on Linux.

AI-written summary of version 0.1.2, based on the package's README and metadata. Report an inaccuracy

Use it when

  • You are developing a Flutter app for Linux that needs to save media using the gal API
  • You require a federated Linux platform implementation alongside the gal package

Skip it when

  • You are targeting platforms other than Linux
  • Your target Linux environment lacks standard utilities like wget, mkdir, mv, rm, and xdg-open

Strengths

  • Enables gal plugin support on Linux
  • Copies files instead of moving them for putImage and putVideo

Weaknesses

  • Non-endorsed federated plugin where internal gal changes can cause breaking changes
  • Limited support for opening the gallery, permissions, and access checks due to Linux fragmentation
  • Requires external command-line executables like wget to be available

Setup

Kind
Plugin (native code)
Effort
Low
Code generation
No
Direct dependencies
2

Add both gal and gal_linux to pubspec.yaml. Ensure required executables like wget are installed on the Linux system.

gal: ^latest-version-here
gal_linux: ^latest-version-here

Alternatives

Packages that do the same job and could replace gal_linux.

  • add_to_gallery

    Saves copies of images and videos to the Android Gallery and iOS Photos library.

  • image_cropper

    A Flutter plugin for Android, iOS and Web supports cropping images

  • saver_gallery

    Save images, videos, and other media files to the Android, iOS, and HarmonyOS gallery.

  • photo_gallery

    A Flutter plugin to list, retrieve, and display images and videos from the native mobile gallery.

Works with

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