aspectRatio property
Aspect ratio, which is useful for sizing a box around the animation.
Implementation
double get aspectRatio => height == 0 ? 1 : width / height;
Aspect ratio, which is useful for sizing a box around the animation.
double get aspectRatio => height == 0 ? 1 : width / height;