aspectRatio method

AspectRatio aspectRatio(
  1. double aspectRatio
)

aspect ratio 纵横比

Implementation

AspectRatio aspectRatio(double aspectRatio) {
  return AspectRatio(
    child: this,
    aspectRatio: aspectRatio,
  );
}