resetAspectRatioEnabled property

bool resetAspectRatioEnabled
final

If true, tapping the reset button will also reset the aspect ratio back to the image default ratio. Otherwise, the reset will just zoom out to the current aspect ratio.

If this is set to false, and aspectRatioLockEnabled is set to true, then the aspect ratio button will automatically be hidden from the toolbar.

(default is true)

Implementation

final bool resetAspectRatioEnabled;