RenderSizedOverflowBox constructor

RenderSizedOverflowBox({
  1. RenderBox? child,
  2. required Size requestedSize,
  3. AlignmentGeometry alignment = Alignment.center,
  4. TextDirection? textDirection,
})

Creates a render box of a given size that lets its child overflow.

The textDirection argument must not be null if the alignment is direction-sensitive.

Implementation

RenderSizedOverflowBox({
  super.child,
  required Size requestedSize,
  super.alignment,
  super.textDirection,
}) : _requestedSize = requestedSize;