fittedBox method
Widget
fittedBox({
- Key? key,
- BoxFit fit = BoxFit.contain,
- AlignmentGeometry alignment = Alignment.center,
Implementation
Widget fittedBox({
Key? key,
BoxFit fit = BoxFit.contain,
AlignmentGeometry alignment = Alignment.center,
}) =>
FittedBox(
key: key,
fit: fit,
alignment: alignment,
child: this,
);