Open stuartmorgan opened 3 years ago
Totally up for that. I'd be more than happy to discontinue this package or migrate it. I suspect 99% of the value of this package is within a Flutter app, and I can migrate a version of this into the win32 examples folder for those who want to use it outside of Flutter.
I've upgraded the code to FFI 1.0, at least -- let me know what you'd like to do and I'm happy to transfer the package and/or the repo.
I'll leave the final call to @cbracken since he'll ultimately be maintaining file_selector_windows
. What's easier to maintain may also depend on what the UWP implementation looks like.
flutter/plugins has a relatively new
file_selector
plugin, which currently has an endorsed web version, and unendorsed (since we have no automated testing solution yet) desktop implementations in the FDE repository, which will move to flutter/plugins once we have test harness for them. The currentfile_selector_windows
is a standard C++ Windows plugin (largely the same code as the olderfile_chooser
FDE plugin it replaced), which is presumably mostly the same code as what this package is doing via FFI.Long term, maintaining both versions doesn't seem ideal, so we should consider merging them.
file_selector_windows
would need to maintain a bit of traditional plugin code in order to get the HWND, but all of the rest could be Dart+FFI. Some options:file_selector_windows
with code from this implementation.file_selector_windows
, so that the plugin just contains an adapter from thefile_selector_platform_interface
to this package, plus the small amount of glue code to get the HWND via method channel./cc @cbracken