flutter-form-builder-ecosystem / form_builder_file_picker

File picker field widget for FlutterFormBuilder.
https://pub.dev/packages/form_builder_file_picker
BSD 3-Clause "New" or "Revised" License
15 stars 32 forks source link

Add onTap callback on file preview list #83

Open gouravAntino opened 3 weeks ago

gouravAntino commented 3 weeks ago

Is there an existing issue for this?

Package/Plugin version

4.1.0

What you'd like to happen

Provide an onTap callback in the File Previewer widget. It will be useful in case of viewing file after uploading.

Usecase:
lets assume a user upload multiple files (pdf). As its not possible to preview pdf file we can provide a callback where we get a Platform file as argument. And using callback we can open file using external package.

Alternatives you've considered

No response

Aditional information

image
gouravAntino commented 3 weeks ago

I would like to work on this issue as well. If this feature suits the package vision