RenderConstrainedOverflowBox constructor Null safety

RenderConstrainedOverflowBox(
  1. {RenderBox? child,
  2. double? minWidth,
  3. double? maxWidth,
  4. double? minHeight,
  5. double? maxHeight,
  6. AlignmentGeometry alignment = Alignment.center,
  7. TextDirection? textDirection}
)

Creates a render object that lets its child overflow itself.

Implementation

RenderConstrainedOverflowBox({
  RenderBox? child,
  double? minWidth,
  double? maxWidth,
  double? minHeight,
  double? maxHeight,
  AlignmentGeometry alignment = Alignment.center,
  TextDirection? textDirection,
}) : _minWidth = minWidth,
     _maxWidth = maxWidth,
     _minHeight = minHeight,
     _maxHeight = maxHeight,
     super(child: child, alignment: alignment, textDirection: textDirection);