diff --git a/packages/mix/lib/src/specs/icon/icon_widget.dart b/packages/mix/lib/src/specs/icon/icon_widget.dart index b2bed6229..c9c7b42ed 100644 --- a/packages/mix/lib/src/specs/icon/icon_widget.dart +++ b/packages/mix/lib/src/specs/icon/icon_widget.dart @@ -96,10 +96,8 @@ class AnimatedStyledIcon extends StyledWidget { this.textDirection, @Deprecated('Use orderOfModifiers parameter instead') List modifierOrder = const [], - List orderOfModifiers = const [], - }) : super( - orderOfModifiers: false ? modifierOrder : orderOfModifiers, - ); + super.orderOfModifiers = const [], + }); final AnimatedIconData icon; final String? semanticLabel; diff --git a/packages/mix/test/src/specs/flexbox/flexbox_widget_test.dart b/packages/mix/test/src/specs/flexbox/flexbox_widget_test.dart index dd629ab5f..6cc555902 100644 --- a/packages/mix/test/src/specs/flexbox/flexbox_widget_test.dart +++ b/packages/mix/test/src/specs/flexbox/flexbox_widget_test.dart @@ -102,7 +102,6 @@ void main() { ), ).animate( onEnd: () { - print('onEnd'); countOnEnd++; }, ), @@ -142,7 +141,6 @@ void main() { ), ).animate( onEnd: () { - print('onEnd'); countOnEnd++; }, ),