RenderAligningShiftedBox.mixin constructor Null safety

  1. @protected
RenderAligningShiftedBox.mixin(
  1. AlignmentGeometry alignment,
  2. TextDirection? textDirection,
  3. RenderBox? child
)

A constructor to be used only when the extending class also has a mixin.

Implementation

// TODO(gspencer): Remove this constructor once https://github.com/dart-lang/sdk/issues/31543 is fixed.
@protected
RenderAligningShiftedBox.mixin(AlignmentGeometry alignment, TextDirection? textDirection, RenderBox? child)
  : this(alignment: alignment, textDirection: textDirection, child: child);