FittedBox constructor

const FittedBox({
  1. Key? key,
  2. BoxFit fit = BoxFit.contain,
  3. AlignmentGeometry alignment = Alignment.center,
  4. Clip clipBehavior = Clip.none,
  5. required Widget child,
})

Implementation

const FittedBox({
  super.key,
  this.fit = BoxFit.contain,
  this.alignment = Alignment.center,
  this.clipBehavior = Clip.none,
  required this.child,
});