-
Notifications
You must be signed in to change notification settings - Fork 9.8k
[image_picker] Added initial support. #4437
Conversation
b985257
to
7b6b8da
Compare
@cyanglaz It seems that the build machine doesn't have ATL installed ("C++ ATL for latest v142 build tools (x86 & x64") |
7b6b8da
to
f8bfe9c
Compare
It would require filing an issue, to have the CIPD package for the machines updated. However, this would be a new build requirement for every Flutter developer using the plugin, which isn't ideal. Can you elaborate on why it's necessary? It looks like there's a lot here that's like #4424, which doesn't need ATL. (I'm skimming on a phone so may be missing important details, but is this just a set of filter specs? If so we should build this as a wrapper around that plugin instead of have two copies of file dialog code.) |
@azchohfi Are you planning on continuing with this PR? |
I believe it would be best to abandon this, in favor for something based on top of #4424. |
Sounds good; I'll close this then, and once that PR lands if you want to adapt the filter code here to a wrapper-based implementation that would be great. |
Status update: I've got this implemented for when source == ImageSource.gallery, using a wrapper on the FileSelector for windows. Still implementing it for when source == ImageSource.camera, which will use the camera_windows plugin. |
Great! Feel free to submit a PR with what you currently have; we can land it as an unendorsed implementation that only supports the gallery source, then camera can be added in a later PR. Incremental PRs are definitely encouraged :) |
This pull request was opened against a branch other than main. Since Flutter pull requests should not normally be opened against branches other than main, I have changed the base to main. If this was intended, you may modify the base back to master. See the Release Process for information about how other branches get updated. Reviewers: Use caution before merging pull requests to branches other than main, unless this is an intentional hotfix/cherrypick. |
Adds windows(Win32) support for the image_picker.
Fixes flutter/flutter#92108
Pre-launch Checklist
dart format
.)[shared_preferences]
///
).