aspectRatio property

double get aspectRatio

Aspect ratio (width / height).

Implementation

static double get aspectRatio {
  _assertInitialized();
  return width / height;
}