toAr method

Widget toAr(
  1. num width,
  2. num height
)

Implementation

Widget toAr(num width, num height) => SizedBox(
  width: width.toDouble().w,
  child: AspectRatio(aspectRatio: (width, height).arValue, child: this),
);