aspectRatio property

double get aspectRatio

Convenience getter for previewSize.width / previewSize.height.

Can only be called when initialize is done.

Implementation

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