OverflowBox constructor Null safety

const OverflowBox(
  1. {Key? key,
  2. AlignmentGeometry alignment,
  3. double? minWidth,
  4. double? maxWidth,
  5. double? minHeight,
  6. double? maxHeight,
  7. Widget? child}
)

Creates a widget that lets its child overflow itself.

Implementation

const OverflowBox({
  Key? key,
  this.alignment = Alignment.center,
  this.minWidth,
  this.maxWidth,
  this.minHeight,
  this.maxHeight,
  Widget? child,
}) : super(key: key, child: child);