FileDefaultPreviewCard constructor

const FileDefaultPreviewCard({
  1. Key? key,
  2. required IconData icon,
  3. required String text,
  4. VoidCallback? onClose,
  5. VoidCallback? onDownload,
  6. bool showActionIcon = false,
  7. bool useThreadAttachmentStyle = false,
})

Implementation

const FileDefaultPreviewCard({
  super.key,
  required this.icon,
  required this.text,
  this.onClose,
  this.onDownload,
  this.showActionIcon = false,
  this.useThreadAttachmentStyle = false,
});