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({
  super.child,
  double? minWidth,
  double? maxWidth,
  double? minHeight,
  double? maxHeight,
  super.alignment,
  super.textDirection,
}) : _minWidth = minWidth,
     _maxWidth = maxWidth,
     _minHeight = minHeight,
     _maxHeight = maxHeight;