aspectRatio method

AspectRatio aspectRatio(
  1. double ratio, {
  2. Key? key,
})

Implementation

AspectRatio aspectRatio(double ratio, {Key? key}) => AspectRatio(
      key: key,
      aspectRatio: ratio,
      child: this,
    );