ThumbnailMediaFile constructor
const
ThumbnailMediaFile({
- Key? key,
- BoxFit fit = BoxFit.cover,
- required MediaFile file,
- double? width,
- dynamic onLongPress()?,
- dynamic onTap()?,
- double? height,
- double radius = 0,
- bool noIcon = false,
- bool noSelectedIcon = false,
- bool highQuality = true,
- Color borderColor = Colors.transparent,
- double borderWidth = 0,
- required Color failIconColor,
- 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});