aspectRation property

double get aspectRation

The aspect ration of this dimension (width / height).

Implementation

double get aspectRation => isZeroDimension ? 0 : width / height;