AttachmentButtonBuilder typedef

AttachmentButtonBuilder = Widget Function(BuildContext context, AttachmentButton attachmentButton)

A widget builder for building a custom command button.

commandButton is the default CommandButton configuration, use commandButton.copyWith to easily customize it.

Implementation

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