AttachmentAction constructor

AttachmentAction({
  1. required String actionTitle,
  2. required Widget icon,
  3. required VoidCallback onTap,
})

Defines a custom attachment action.

Implementation

AttachmentAction({
  required this.actionTitle,
  required this.icon,
  required this.onTap,
});