fit method

Widget fit([
  1. BoxFit fit = BoxFit.scaleDown
])

Implementation

Widget fit([final BoxFit fit = BoxFit.scaleDown]) => FittedBox(fit: fit, child: this);