requestThumbnail static method

Future<bool> requestThumbnail(
  1. String identifier,
  2. int width,
  3. int height,
  4. int quality,
)

Requests a thumbnail with width, height and quality for a given identifier.

This method is used by the asset class, you should not invoke it manually. For more info refer to Asset class docs.

The actual image data is sent via BinaryChannel.

Implementation

static Future<bool> requestThumbnail(
  String identifier,
  int width,
  int height,
  int quality,
) =>
    MultiImagePickerPlatform.instance
        .requestThumbnail(identifier, width, height, quality);