thumbnail method

  1. @override
Future<XAssetThumbnail> thumbnail(
  1. String assetId, {
  2. required int sizePx,
})
override

A thumbnail of the asset, no larger than sizePx on its long edge.

Implementation

@override
Future<XAssetThumbnail> thumbnail(
  String assetId, {
  required int sizePx,
}) async => _thumbnailFor(assetId, sizePx);