NiceDocumentPreview constructor
const
NiceDocumentPreview({
- Key? key,
- String? title,
- String? subtitle,
- String? thumbnailUrl,
- IconData? icon,
- NiceDocumentType type = NiceDocumentType.other,
- VoidCallback? onTap,
- VoidCallback? onDownload,
- 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,
});