fitted method
see FittedBox
Implementation
FittedBox fitted({
Key? key,
BoxFit fit = BoxFit.contain,
Alignment align = Alignment.center,
Clip clip = Clip.none,
}) =>
FittedBox(
key: key,
fit: fit,
alignment: align,
clipBehavior: clip,
child: this,
);