CropAspectRatio constructor

const CropAspectRatio({
  1. required double ratioX,
  2. required double ratioY,
})

Implementation

const CropAspectRatio({required this.ratioX, required this.ratioY})
    : assert(ratioX > 0.0 && ratioY > 0.0);