FittedBox constructor
const
FittedBox({
- BoxFit fit = BoxFit.contain,
- AlignmentGeometry alignment = Alignment.center,
- required Widget child,
FittedBox API.
Implementation
const FittedBox({
this.fit = BoxFit.contain,
this.alignment = Alignment.center,
required this.child,
});