aspectRation property

double aspectRation

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

Implementation

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