RenderPositionedBox constructor
Creates a render object that positions its child.
Implementation
RenderPositionedBox({
RenderBox child,
double widthFactor,
double heightFactor,
AlignmentGeometry alignment = Alignment.center,
TextDirection textDirection,
}) : assert(widthFactor == null || widthFactor >= 0.0),
assert(heightFactor == null || heightFactor >= 0.0),
_widthFactor = widthFactor,
_heightFactor = heightFactor,
super(child: child, alignment: alignment, textDirection: textDirection);