getBackgroundImage method
Implementation
ClipRRect? getBackgroundImage() {
if ([TUIMediaThumbnailType.document, TUIMediaThumbnailType.audio]
.contains(mediaType)) {
return null;
} else {
return ClipRRect(
borderRadius: BorderRadius.circular(8),
child: customThumbnailImage,
);
}
}