FitSize constructor
const
FitSize({})
FitSize
will fit your widget in the provided dimensions. The widget is
wrapped in a FittedBox and a SizedBox
Implementation
const FitSize({
Key? key,
this.height,
this.width,
this.fit = BoxFit.contain,
this.alignment = Alignment.center,
this.clipBehavior = Clip.none,
required this.child,
}) : super(key: key);