FittedBox constructor

FittedBox({
  1. BoxFit fit = BoxFit.contain,
  2. AlignmentGeometry alignment = Alignment.center,
  3. Widget? child,
})

Implementation

FittedBox({
  this.fit = BoxFit.contain,
  this.alignment = Alignment.center,
  Widget? child,
}) : super(child: child);