RenderAligningShiftedBox constructor
- AlignmentGeometry alignment = Alignment.center,
- required TextDirection? textDirection,
- RenderBox? child,
Initializes member variables for subclasses.
The textDirection
must be non-null if the alignment
is
direction-sensitive.
Implementation
RenderAligningShiftedBox({
AlignmentGeometry alignment = Alignment.center,
required TextDirection? textDirection,
RenderBox? child,
}) : _alignment = alignment,
_textDirection = textDirection,
super(child);