DocumentCard constructor

const DocumentCard({
  1. Key? key,
  2. required VoidCallback onTap,
  3. required String title,
  4. String? filePath,
  5. String? category,
  6. String? site,
  7. required String fileName,
  8. int? fileSizeBytes,
  9. int? rotation,
  10. DateTime? created,
  11. String? createdLabel,
  12. bool isPhoto = true,
  13. Uint8List? videoThumbnailData,
  14. Widget? child,
})

Implementation

const DocumentCard({
  super.key,
  required this.onTap,
  required this.title,
  this.filePath,
  this.category,
  this.site,
  required this.fileName,
  this.fileSizeBytes,
  this.rotation,
  this.created,
  this.createdLabel,
  this.isPhoto = true,
  this.videoThumbnailData,
  this.child,
});