attachments/attachments library
Imports for attachments that are available on all platforms.
For more details on using attachments, see the documentation for the topic.
Classes
- Attachment
- Represents an attachment with metadata and state information.
- AttachmentErrorHandler
- Interface for handling errors during attachment operations. Implementations determine whether failed operations should be retried. Attachment records are archived if an operation fails and should not be retried.
- AttachmentQueue
- Class used to implement the attachment queue.
- AttachmentsQueueTable
- Table definition for the attachments queue.
- LocalStorage
- An interface responsible for storing attachment data locally.
- RemoteStorage
- An interface responsible for uploading and downloading attachments from a remote source, like e.g. S3 or Firebase cloud storage.
- WatchedAttachmentItem
- A watched attachment record item.
Enums
- AttachmentState
- Represents the state of an attachment.
Typedefs
-
AttachmentExceptionHandler
= Future<
bool> Function(Attachment attachment, Object exception, StackTrace stackTrace) - The signature of a function handling an exception when uploading, downloading or deleting an exception.