onFileRemoved property

void Function(TogeFileUploadEntity file)? onFileRemoved
final

Optional callback triggered when a file is removed.

This is useful for tracking the removal of files. This callback is executed when a file is removed from the upload list.

  • The callback receives the removed file as a parameter.
  • This can be used to update the UI or perform additional actions when a file is removed.
  • If the callback is not provided, no action will be taken when a file is removed.

Implementation

final void Function(TogeFileUploadEntity file)? onFileRemoved;