FittedBox constructor
const
FittedBox({
- Key? key,
- BoxFit fit = BoxFit.contain,
- AlignmentGeometry alignment = Alignment.center,
- Clip clipBehavior = Clip.none,
- required Widget child,
Implementation
const FittedBox({
super.key,
this.fit = BoxFit.contain,
this.alignment = Alignment.center,
this.clipBehavior = Clip.none,
required this.child,
});