AttachmentActionsBuilder typedef

AttachmentActionsBuilder = Widget Function(BuildContext context, Attachment attachment, AttachmentActionsModal defaultActionsModal)

A widget builder for representing the actions a user can take on an attachment.

defaultActionsModal is the default AttachmentActionsModal configuration. Use defaultActionsModal.copyWith to easily customize it

Implementation

typedef AttachmentActionsBuilder = Widget Function(
  BuildContext context,
  Attachment attachment,
  AttachmentActionsModal defaultActionsModal,
);