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