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