Viewing version 0.2.2. Open the latest package page.
image_picker_windows
0.2.2Windows platform implementation of image_picker
Readme
image_picker_windows
A Windows 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+1
- Adds pub topics to package metadata.
- Updates minimum supported SDK version to Flutter 3.7/Dart 2.19.
0.2.1
- Adds
getMediamethod.
0.2.0
- Updates minimum Flutter version to 3.3.
0.1.0+6
- Clarifies explanation of endorsement in README.
- Aligns Dart and Flutter SDK constraints.
0.1.0+5
- Updates links for the merge of flutter/plugins into flutter/packages.
0.1.0+4
- Updates example code for
use_build_context_synchronouslylint. - Updates minimum Flutter version to 3.0.
0.1.0+3
- Changes XTypeGroup initialization from final to const.
- Updates minimum Flutter version to 2.10.
0.1.0+2
- Minor fixes for new analysis options.
0.1.0+1
- Removes unnecessary imports.
- Fixes library_private_types_in_public_api, sort_child_properties_last and use_key_in_widget_constructors lint warnings.
0.1.0
- Initial Windows support.
Installing
export PUB_HOSTED_URL=https://pub.mirror.p-hatan.ir
flutter pub add 'image_picker_windows:0.2.2'pubspec.yaml
name: image_picker_windows
description: Windows platform implementation of image_picker
repository: https://github.com/flutter/packages/tree/main/packages/image_picker/image_picker_windows
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:
windows:
dartPluginClass: ImagePickerWindows
dependencies:
file_selector_platform_interface: ^2.2.0
file_selector_windows: ^0.9.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
| Version | Published | Archive | SHA-256 |
|---|---|---|---|
| 0.1.0 | On demand | Download | 35b50ebd…573076 |
| 0.1.0+1 | On demand | Download | 6fc7f509…a4c143 |
| 0.1.0+2 | On demand | Download | 804d7ec9…e1bb20 |
| 0.1.0+3 | On demand | Download | d78b2e15…41319a |
| 0.1.0+4 | On demand | Download | aff7d532…e25001 |
| 0.1.0+5 | On demand | Download | 77f26294…d5b84b |
| 0.1.0+6 | On demand | Download | f0d75478…8dd97f |
| 0.2.0 | On demand | Download | bf77b819…24a61d |
| 0.2.1 | On demand | Download | c3066601…914952 |
| 0.2.1+1 | On demand | Download | 6ad07afc…dcedeb |
| 0.2.2 | Cached · Upstream SHA-256 matched | Download | d248c865…3adfae |
Dependencies
file_selector_platform_interface "^2.2.0"
file_selector_windows "^0.9.0"
flutter {
"sdk": "flutter"
}
image_picker_platform_interface "^2.11.0"