gal_linux 0.1.0 copy "gal_linux: ^0.1.0" to clipboard
gal_linux: ^0.1.0 copied to clipboard

PlatformLinux

Flutter Plugin for Saving Image/Video to the Photo Gallery | How to Save Image/Video to the Photo Gallery in Flutter

Gal Linux #

Table of Contents #

About #

This is just an implementation package of the plugin gal for Linux

Features #

The support for opening the gallery, requesting permission and check if we have access to the gallery is limited on Linux

Usage #

The following command executables are required to use this plugin:

  1. mkdir
  2. mv
  3. rm
  4. xdg-open
  5. wget

All of them should be already there in most Linux distros, wget might not in some cases so you need to manually install it using your package manager, example in Debian based distros:

sudo apt install wget

In most cases it should be already done

Import defaultTargetPlatform and kIsWeb from library flutter/foundation

import 'package:flutter/foundation.dart' show defaultTargetPlatform, kIsWeb;

You might want to execute (optional):

  if (defaultTargetPlatform == TargetPlatform.linux && !kIsWeb) {
    GalPluginLinux.registerWith();
  }

Before using any gal function

5
likes
140
pub points
82%
popularity

Publisher

verified publisherfreshplatform.net

Flutter Plugin for Saving Image/Video to the Photo Gallery | How to Save Image/Video to the Photo Gallery in Flutter

Repository (GitHub)
View/report issues

Topics

#gallery #video #image #photos #util

Documentation

Documentation
API reference

License

MIT (LICENSE)

Dependencies

flutter, gal, path

More

Packages that depend on gal_linux