Widget.fittedBox constructor Null safety
Implementation
const factory Widget.fittedBox({
Key? key,
@Default(BoxFit.contain) BoxFit fit,
@Default(Alignment.center) Alignment alignment,
@Default(Clip.none) Clip clipBehavior,
Widget? child,
}) = FittedBox;