NiceDocumentPreview constructor

const NiceDocumentPreview({
  1. Key? key,
  2. String? title,
  3. String? subtitle,
  4. String? thumbnailUrl,
  5. IconData? icon,
  6. NiceDocumentType type = NiceDocumentType.other,
  7. VoidCallback? onTap,
  8. VoidCallback? onDownload,
  9. VoidCallback? onShare,
  10. bool showActions = true,
})

Implementation

const NiceDocumentPreview({
  super.key,
  this.title,
  this.subtitle,
  this.thumbnailUrl,
  this.icon,
  this.type = NiceDocumentType.other,
  this.onTap,
  this.onDownload,
  this.onShare,
  this.showActions = true,
});