AttachmentButtonBuilder typedef

AttachmentButtonBuilder = Widget Function(BuildContext context, AttachmentButton attachmentButton)

A widget builder for building a custom action button.

attachmentButton is the default AttachmentButton configuration, use attachmentButton.copyWith to easily customize it.

Implementation

typedef AttachmentButtonBuilder = Widget Function(
  BuildContext context,
  AttachmentButton attachmentButton,
);