RenderPadding constructor
- required EdgeInsetsGeometry padding,
- TextDirection? textDirection,
- RenderBox? child,
Creates a render object that insets its child.
The padding
argument must have non-negative insets.
Implementation
RenderPadding({
required EdgeInsetsGeometry padding,
TextDirection? textDirection,
RenderBox? child,
}) : assert(padding.isNonNegative),
_textDirection = textDirection,
_padding = padding,
super(child);