FittedBox constructor Null safety

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

Implementation

const factory FittedBox(
    {final Key? key,
    final BoxFit fit,
    final Alignment alignment,
    final Clip clipBehavior,
    final Widget? child}) = _$FittedBox;