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