StreamPhotoGalleryTile constructor

const StreamPhotoGalleryTile({
  1. Key? key,
  2. required AssetEntity media,
  3. bool selected = false,
  4. GestureTapCallback? onTap,
  5. GestureLongPressCallback? onLongPress,
  6. ThumbnailSize thumbnailSize = const ThumbnailSize(400, 400),
  7. ThumbnailFormat thumbnailFormat = ThumbnailFormat.jpeg,
  8. int thumbnailQuality = 100,
  9. 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,
});