AttachmentModalSheet constructor

const AttachmentModalSheet({
  1. Key? key,
  2. required VoidCallback onFileTap,
  3. required VoidCallback onPhotoTap,
  4. required VoidCallback onVideoTap,
})

The modalBottomSheet that appears when a mobile user attempts to add attachments to a chat.

Should not be used on desktop or web.

Implementation

const AttachmentModalSheet({
  super.key,
  required this.onFileTap,
  required this.onPhotoTap,
  required this.onVideoTap,
});