UFUThumb constructor

const UFUThumb({
  1. UFUThumbType type = UFUThumbType.folder,
  2. UFUThumbIconType iconType = UFUThumbIconType.pdf,
  3. String? fileName,
  4. String? folderCount,
  5. Widget? thumbImage,
  6. ValueChanged<bool>? suffixTap,
  7. Widget? suffixIcon,
  8. ValueChanged<bool>? onTap,
  9. bool isDisabled = false,
  10. bool isSelect = false,
  11. bool isQuickActionIconDisabled = false,
  12. List<Widget>? thumbIconList,
  13. Widget? statusTag,
  14. VoidCallback? onLongPress,
  15. String? userName,
  16. String? titleBottomText = 'Uploaded by',
  17. Key? key,
})

Implementation

const UFUThumb({
  this.type = UFUThumbType.folder,
  this.iconType = UFUThumbIconType.pdf,
  this.fileName,
  this.folderCount,
  this.thumbImage,
  this.suffixTap,
  this.suffixIcon,
  this.onTap,
  this.isDisabled = false,
  this.isSelect = false,
  this.isQuickActionIconDisabled = false,
  this.thumbIconList,
  this.statusTag,
  this.onLongPress,
  this.userName,
  this.titleBottomText = 'Uploaded by',
  super.key
});