ThumbnailMediaFile constructor

const ThumbnailMediaFile({
  1. Key? key,
  2. BoxFit fit = BoxFit.cover,
  3. required MediaFile file,
  4. double? width,
  5. dynamic onLongPress()?,
  6. dynamic onTap()?,
  7. double? height,
  8. double radius = 0,
  9. bool noIcon = false,
  10. bool noSelectedIcon = false,
  11. bool highQuality = true,
  12. Color borderColor = Colors.transparent,
  13. double borderWidth = 0,
  14. required Color failIconColor,
  15. required PhoneGalleryController controller,
})

Implementation

const ThumbnailMediaFile(
    {super.key,
    this.fit = BoxFit.cover,
    required this.file,
    this.width,
    this.onLongPress,
    this.onTap,
    this.height,
    this.radius = 0,
    this.noIcon = false,
    this.noSelectedIcon = false,
    this.highQuality = true,
    this.borderColor = Colors.transparent,
    this.borderWidth = 0,
    required this.failIconColor,
    required this.controller});