FittedBox constructor
FittedBox({
- BoxFit fit = BoxFit.contain,
- AlignmentGeometry alignment = Alignment.center,
- Widget? child,
Implementation
FittedBox({
this.fit = BoxFit.contain,
this.alignment = Alignment.center,
Widget? child,
}) : super(child: child);