FittedBoxModifier constructor
const
FittedBoxModifier({})
Creates a widget that scales and positions its child within itself according to fit
.
The fit
and alignment
arguments must not be null.
Implementation
const FittedBoxModifier({
super.key,
super.child,
super.modifierKey,
this.fit = BoxFit.contain,
this.alignment = Alignment.center,
this.clipBehavior = Clip.none,
});