RenderOverflowPadding constructor

RenderOverflowPadding({
  1. required EdgeInsetsGeometry padding,
  2. TextDirection? textDirection,
  3. RenderBox? child,
})

Creates a render object that insets its child.

The padding argument must not be null.

Implementation

RenderOverflowPadding({
  required EdgeInsetsGeometry padding,
  TextDirection? textDirection,
  RenderBox? child,
}) : _textDirection = textDirection,
     _padding = padding,
     super(child);