aspectRatio property

double get aspectRatio

Implementation

double get aspectRatio => size.width == 0 || size.height == 0 ? 9 / 16 : size.width / size.height;