onOtherFileUpload property

(void Function(PlatformFile)?) onOtherFileUpload
final

Called when a file is uploaded using the "other file" button.

The package does not have a built in handler for these files, so if you use the button you should provide this callback.

The function passes the PlatformFile class, which contains all the file data including name, size, type, Uint8List bytes, etc.

Implementation

final void Function(PlatformFile)? onOtherFileUpload;