Skip to main content

FilePickerUploadEvent

Event emitted when a file is uploaded via flet.FilePicker.upload method.

Inherits: Event

Properties

  • error - An error message if the upload failed.
  • file_name - The name of the uploaded file.
  • progress - A value from 0.0 to 1.0 representing the progress of the upload.

Properties

errorclass-attributeinstance-attribute

error: Optional[str] = None

An error message if the upload failed.

file_nameinstance-attribute

file_name: str

The name of the uploaded file.

progressclass-attributeinstance-attribute

progress: Optional[float] = None

A value from 0.0 to 1.0 representing the progress of the upload.