aspectRatio property

double get aspectRatio

Convenience getter for previewSize.height / previewSize.width.

Can only be called when initialize is done.

Implementation

double get aspectRatio => previewSize!.height / previewSize!.width;