ThumbnailMedia constructor
const
ThumbnailMedia({
- Key? key,
- required MediaFile media,
- BoxFit fit = BoxFit.cover,
- Widget onErrorBuilder(
- MediaFile media,
- BuildContext context
- double radius = 0,
- bool highQuality = true,
- Color borderColor = Colors.transparent,
- double borderWidth = 0,
- double? width,
- double? height,
- Color? backgroundColor,
- bool noIcon = false,
Implementation
const ThumbnailMedia(
{super.key,
required this.media,
this.fit = BoxFit.cover,
this.onErrorBuilder,
this.radius = 0,
this.highQuality = true,
this.borderColor = Colors.transparent,
this.borderWidth = 0,
this.width,
this.height,
this.backgroundColor,
this.noIcon = false});