aspectRatio property

double aspectRatio

Implementation

double get aspectRatio {
  final _h = height;
  return _h == 0 ? 1 : width / _h;
}