preferredCropAspectRatio property

double? get preferredCropAspectRatio

The preferredCropAspectRatio param is the selected aspect ratio (9:16, 3:4, 1:1, ...)

Implementation

double? get preferredCropAspectRatio => _preferredCropAspectRatio;
set preferredCropAspectRatio (double? value)

Implementation

set preferredCropAspectRatio(double? value) {
  if (preferredCropAspectRatio == value) return;
  _preferredCropAspectRatio = value;
  notifyListeners();
}