CommandButtonBuilder typedef

CommandButtonBuilder = Widget Function(BuildContext context, CommandButton commandButton)

A widget builder for building a custom action button.

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

Implementation

typedef CommandButtonBuilder = Widget Function(
  BuildContext context,
  CommandButton commandButton,
);