aspectRatioLockDimensionSwapEnabled property

bool aspectRatioLockDimensionSwapEnabled
final

If true, a custom aspect ratio is set, and the aspectRatioLockEnabled is set to true, the crop box will swap it's dimensions depending on portrait or landscape sized images. This value also controls whether the dimensions can swap when the image is rotated.

(default is false)

Implementation

final bool aspectRatioLockDimensionSwapEnabled;