thumbnailData property

Future<Uint8List?> get thumbnailData
inherited

Obtain the thumbnail data with PMConstants.vDefaultThumbnailSize size of the asset, typically use it for preview displays.

Thumbnail data for videos are images, not compressed video.

See also:

  • thumbnailDataWithSize which is a common method to obtain thumbnails.
  • thumbnailDataWithOption which accepts customized ThumbnailOption.

Implementation

Future<typed_data.Uint8List?> get thumbnailData => thumbnailDataWithSize(
      const ThumbnailSize.square(PMConstants.vDefaultThumbnailSize),
    );