RenderConstrainedOverflowBox constructor

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

Creates a render object that lets its child overflow itself.

Implementation

RenderConstrainedOverflowBox({
  super.child,
  double? minWidth,
  double? maxWidth,
  double? minHeight,
  double? maxHeight,
  OverflowBoxFit fit = OverflowBoxFit.max,
  super.alignment,
  super.textDirection,
}) : _minWidth = minWidth,
     _maxWidth = maxWidth,
     _minHeight = minHeight,
     _maxHeight = maxHeight,
     _fit = fit;