maxThumbnailSize property

Size maxThumbnailSize
final

The maximum output size for the thumbnail image. It will maintain the image's aspect ratio but will fit within the specified constraints, similar to BoxFit.contain.

This option is useful if you have a high-resolution image that typically takes a long time to generate, but you need to display it quickly.

This option only works when the onThumbnailGenerated callback is set. It will disable the onImageEditingComplete callback.

Implementation

final Size maxThumbnailSize;