FittedBox constructor

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

FittedBox API.

Implementation

const FittedBox({
  this.fit = BoxFit.contain,
  this.alignment = Alignment.center,
  required this.child,
});