StreamPhotoGalleryTile constructor
const
StreamPhotoGalleryTile({
- Key? key,
- required AssetEntity media,
- bool selected = false,
- GestureTapCallback? onTap,
- GestureLongPressCallback? onLongPress,
- ThumbnailSize thumbnailSize = const ThumbnailSize(400, 400),
- ThumbnailFormat thumbnailFormat = ThumbnailFormat.jpeg,
- int thumbnailQuality = 100,
- double thumbnailScale = 1,
Creates a new instance of StreamPhotoGalleryTile.
Implementation
const StreamPhotoGalleryTile({
super.key,
required this.media,
this.selected = false,
this.onTap,
this.onLongPress,
this.thumbnailSize = const ThumbnailSize(400, 400),
this.thumbnailFormat = ThumbnailFormat.jpeg,
this.thumbnailQuality = 100,
this.thumbnailScale = 1,
});