miguelpruivo / flutter_file_picker

File picker plugin for Flutter, compatible with mobile (iOS & Android), Web, Desktop (Mac, Linux, Windows) platforms with Flutter Go support.
MIT License
1.33k stars 664 forks source link

Add possibility to set a custom FileType description on Windows #956

Open chrias opened 2 years ago

chrias commented 2 years ago

Hi, i noticed that the file extension description on windows (i don't know what's the official name), it's not customizable, it would be cool if it could be set with a method.

I saw in file_picker_windows.dart that the method fileTypeToFileFilter has static "hints" (audios, all files, files etc.).

Here is the property i want to change: image

miguelpruivo commented 2 years ago

I think this could be a nice addition @philenius.

philenius commented 2 years ago

@miguelpruivo I agree with you. I'm confident that this feature is possible on Windows and Linux (not macOS though).

But as of right now, there are two further features / bugs waiting to be implemented: #915 (already working on it) and #954. Btw, could you please merge #953?

miguelpruivo commented 2 years ago

It's all merged now. Do you need something else @philenius?

WinXaito commented 1 year ago

I'm really interested on this feature.

I want to do that: (here is a example with notepad.exe):

image

And that look it's not possible with this library.

(Note: for open and save)