FileViewerBuilder typedef
FileViewerBuilder =
Widget Function(List<PlatformFile> ? files, FormFieldSetter<List<PlatformFile> > filesSetter)
Signature of a function to build a custom file viewer Widget for FormBuilderFilePicker.
The specified files
are the PlatformFile objects currently picked
by the FormBuilderFilePicker.
filesSetter
can be used to update the value of FormBuilderFilePicker.
Implementation
typedef FileViewerBuilder = Widget Function(
List<PlatformFile>? files,
FormFieldSetter<List<PlatformFile>> filesSetter,
);