onImageUploadError property

(void Function(FileUpload?, String?, UploadError)?) onImageUploadError
getter/setter pair

Called whenever an image is failed to be inserted via upload. The function passes the FileUpload class, containing the filename, size, MIME type, base64 data, and last modified information so you can do error handling.

Implementation

void Function(FileUpload?, String?, UploadError)? onImageUploadError;