Viewing version 0.2.2. Open the latest package page.

image_picker_linux

0.2.2

Linux platform implementation of image_picker

Download archive

Readme

image_picker_linux

A Linux implementation of image_picker.

Limitations

ImageSource.camera is not supported unless a cameraDelegate is set.

pickImage()

The arguments maxWidth, maxHeight, and imageQuality are not currently supported.

pickVideo()

The argument maxDuration is not currently supported.

Usage

Import the package

This package is endorsed, which means you can simply use file_selector normally. This package will be automatically included in your app when you do, so you do not need to add it to your pubspec.yaml.

However, if you import this package to use any of its APIs directly, you should add it to your pubspec.yaml as usual.

Changelog

0.2.2

  • Adds support for getMultiVideoWithOptions.
  • Updates minimum supported SDK version to Flutter 3.27/Dart 3.6.

0.2.1+2

  • Updates minimum supported SDK version to Flutter 3.22/Dart 3.4.
  • Fixes getMedia mime types.

0.2.1+1

  • Adds pub topics to package metadata.
  • Updates minimum supported SDK version to Flutter 3.7/Dart 2.19.

0.2.1

  • Adds getMedia method.

0.2.0

  • Implements initial Linux support.

Installing

export PUB_HOSTED_URL=https://pub.mirror.p-hatan.com
flutter pub add 'image_picker_linux:0.2.2'
pubspec.yaml
name: image_picker_linux
description: Linux platform implementation of image_picker
repository: https://github.com/flutter/packages/tree/main/packages/image_picker/image_picker_linux
issue_tracker: https://github.com/flutter/flutter/issues?q=is%3Aissue+is%3Aopen+label%3A%22p%3A+image_picker%22
version: 0.2.2

environment:
  sdk: ^3.6.0
  flutter: ">=3.27.0"

flutter:
  plugin:
    implements: image_picker
    platforms:
      linux:
        dartPluginClass: ImagePickerLinux

dependencies:
  file_selector_linux: ^0.9.1+3
  file_selector_platform_interface: ^2.2.0
  flutter:
    sdk: flutter
  image_picker_platform_interface: ^2.11.0

dev_dependencies:
  build_runner: ^2.1.5
  flutter_test:
    sdk: flutter
  mockito: ^5.4.4

topics:
  - image-picker
  - files
  - file-selection

Version history

VersionPublishedArchiveSHA-256
0.2.0On demandDownload1d8f9a97…2f20be
0.2.1On demandDownload02cbc21f…857831
0.2.1+1On demandDownload4ed1d9bb…1300fa
0.2.1+2On demandDownload34a65f67…1022c9
0.2.2Cached · Upstream SHA-256 matchedDownload1f81c5f2…308ed4

Dependencies

file_selector_linux "^0.9.1+3"

file_selector_platform_interface "^2.2.0"

flutter { "sdk": "flutter" }

image_picker_platform_interface "^2.11.0"