flutter-form-builder-ecosystem / flutter-form-builder-ecosystem/form_builder_image_picker

Pass the XFile to the transformImageWidget function.

Open
#63 0 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Dart
Stars
34
Forks
65
PR merge metrics
No merged PRs in 30d

Description

### Is there an existing issue for this?

- [X] I have searched the existing issues

### Package/Plugin version

4.1.0

### What you'd like to happen

` transformImageWidget: (context, displayImage, item) => GestureDetector(
onTap: () {
final imageProvider = Image.asset(item.path).image;
showImageViewer(context, imageProvider, onViewerDismissed: () {
print("dismissed");
});
},`

### Alternatives you've considered

_No response_

### Aditional information

https://github.com/user-attachments/assets/a0c8add6-e91b-4487-a25f-7ab20e495d6a

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.