gal_linux 0.0.1-dev-2 copy "gal_linux: ^0.0.1-dev-2" to clipboard
gal_linux: ^0.0.1-dev-2 copied to clipboard

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
0
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

License

unknown (license)

Dependencies

flutter, gal, path

More

Packages that depend on gal_linux