Skip to content
This repository was archived by the owner on Feb 22, 2023. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
23 commits
Select commit Hold shift + click to select a range
031dfd2
[image_picker] Added image_picker_for_windows.
azchohfi Feb 15, 2022
d4ddc85
Merge branch 'main' into image_picker_win_fs
azchohfi Feb 17, 2022
ad41c89
More windows work.
azchohfi Feb 17, 2022
0deefd1
Merge branch 'main' into image_picker_win_fs
azchohfi Feb 17, 2022
59b831d
Applied PR feedback.
azchohfi Feb 17, 2022
fb7ac4d
Added image_picker_windows tests.
azchohfi Feb 17, 2022
aeb1d04
Excl image_picker_windows win32 integration tests.
azchohfi Feb 17, 2022
de25b0a
Merge branch 'main' into image_picker_win_fs
azchohfi Feb 23, 2022
e63c96a
Merge branch 'main' into image_picker_win_fs
azchohfi Feb 24, 2022
08fa003
[image_picker_windows] Added its own FileSelectorWindows instance
azchohfi Feb 24, 2022
e45109e
Merge branch 'main' into image_picker_win_fs
azchohfi Feb 25, 2022
69a1b81
Fix test.
azchohfi Feb 25, 2022
7ab06be
Merge branch 'main' into image_picker_win_fs
azchohfi Feb 28, 2022
132b808
Documentation fixes.
azchohfi Mar 1, 2022
922b42b
Improved UnimplementedError message on Windows.
azchohfi Mar 7, 2022
8ab457b
Changed tests based on PR feedback.
azchohfi Mar 7, 2022
6c11ff2
Merge branch 'main' into image_picker_win_fs
azchohfi Mar 8, 2022
d4b7821
Added tests for unimplemented camera source.
azchohfi Mar 11, 2022
f5dbb22
Merge branch 'main' into image_picker_win_fs
azchohfi Mar 28, 2022
34d1c2f
Merge branch 'main' into image_picker_win_fs
azchohfi Apr 7, 2022
ea55c42
Merge branch 'main' into image_picker_win_fs
azchohfi Apr 18, 2022
c3f46ee
Applied PR feedback.
azchohfi Apr 18, 2022
65e4f57
Merge branch 'main' into image_picker_win_fs
azchohfi Apr 20, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions packages/image_picker/image_picker_windows/AUTHORS
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# Below is a list of people and organizations that have contributed
# to the Flutter project. Names should be added to the list like so:
#
# Name/Organization <email address>

Google Inc.
Alexandre Zollinger Chohfi <[email protected]>
3 changes: 3 additions & 0 deletions packages/image_picker/image_picker_windows/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# 0.1.0

* Initial Windows support.
25 changes: 25 additions & 0 deletions packages/image_picker/image_picker_windows/LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
Copyright 2013 The Flutter Authors. All rights reserved.

Redistribution and use in source and binary forms, with or without modification,
are permitted provided that the following conditions are met:

* Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above
copyright notice, this list of conditions and the following
disclaimer in the documentation and/or other materials provided
with the distribution.
* Neither the name of Google Inc. nor the names of its
contributors may be used to endorse or promote products derived
from this software without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR
ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
16 changes: 16 additions & 0 deletions packages/image_picker/image_picker_windows/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# image\_picker\_windows

A Windows implementation of [`image_picker`][1].

### pickImage()
The arguments `source`, `maxWidth`, `maxHeight`, `imageQuality`, and `preferredCameraDevice` are not supported on Windows.

### pickVideo()
The arguments `source`, `preferredCameraDevice`, and `maxDuration` are not supported on Windows.

## Usage

### Import the package

This package is not yet [endorsed](https://flutter.dev/docs/development/packages-and-plugins/developing-packages#endorsed-federated-plugin), which means you need to add
not only the `image_picker`, as well as the `image_picker_windows`.
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# image_picker_windows_example

Demonstrates how to use the image_picker_windows plugin.

## Getting Started

For help getting started with Flutter, view our online
[documentation](https://flutter.dev/).
Loading