@@ -291,12 +291,6 @@ abstract class RenderAligningShiftedBox extends RenderShiftedBox {
291
291
_textDirection = textDirection,
292
292
super (child);
293
293
294
- /// A constructor to be used only when the extending class also has a mixin.
295
- // TODO(gspencer): Remove this constructor once https://github.com/dart-lang/sdk/issues/31543 is fixed.
296
- @protected
297
- RenderAligningShiftedBox .mixin (AlignmentGeometry alignment, TextDirection ? textDirection, RenderBox ? child)
298
- : this (alignment: alignment, textDirection: textDirection, child: child);
299
-
300
294
Alignment ? _resolvedAlignment;
301
295
302
296
void _resolve () {
@@ -707,17 +701,16 @@ class RenderConstraintsTransformBox extends RenderAligningShiftedBox with DebugO
707
701
///
708
702
/// The [alignment] and [clipBehavior] must not be null.
709
703
RenderConstraintsTransformBox ({
710
- required AlignmentGeometry alignment,
711
- required TextDirection ? textDirection,
704
+ required super . alignment,
705
+ required super . textDirection,
712
706
required BoxConstraintsTransform constraintsTransform,
713
- RenderBox ? child,
707
+ super . child,
714
708
Clip clipBehavior = Clip .none,
715
709
}) : assert (alignment != null ),
716
710
assert (clipBehavior != null ),
717
711
assert (constraintsTransform != null ),
718
712
_constraintsTransform = constraintsTransform,
719
- _clipBehavior = clipBehavior,
720
- super .mixin (alignment, textDirection, child);
713
+ _clipBehavior = clipBehavior;
721
714
722
715
/// {@macro flutter.widgets.constraintsTransform}
723
716
BoxConstraintsTransform get constraintsTransform => _constraintsTransform;
0 commit comments