CropAspectRatio constructor

const CropAspectRatio(
  1. int aspectRatioX,
  2. int aspectRatioY
)

Implementation

const CropAspectRatio(this.aspectRatioX, this.aspectRatioY)
    : assert(aspectRatioX > 0, 'aspectRatioX must > 0'),
      assert(aspectRatioY > 0, 'aspectRatioY must > 0');