FileAttachmentBuilder constructor

const FileAttachmentBuilder({
  1. ShapeBorder? shape,
  2. Color? backgroundColor,
  3. BoxConstraints constraints = const BoxConstraints(),
  4. EdgeInsetsGeometry padding = const EdgeInsets.all(4),
  5. StreamAttachmentWidgetTapCallback? onAttachmentTap,
})

A widget builder for AttachmentType.file attachment type.

Implementation

const FileAttachmentBuilder({
  this.shape,
  this.backgroundColor,
  this.constraints = const BoxConstraints(),
  this.padding = const EdgeInsets.all(4),
  this.onAttachmentTap,
});