withScaleFactor method

Widget withScaleFactor({
  1. double? widthFactor,
  2. double? heightFactor,
})

Implementation

Widget withScaleFactor({double? widthFactor, double? heightFactor}) {
  return FractionallySizedBox(
    widthFactor: widthFactor,
    heightFactor: heightFactor,
    child: this,
  );
}