Skip to content

Commit

Permalink
fix warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
tilucasoli committed Nov 14, 2024
1 parent b87ab90 commit 976d4ad
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
6 changes: 2 additions & 4 deletions packages/mix/lib/src/specs/icon/icon_widget.dart
Original file line number Diff line number Diff line change
Expand Up @@ -96,10 +96,8 @@ class AnimatedStyledIcon extends StyledWidget {
this.textDirection,
@Deprecated('Use orderOfModifiers parameter instead')
List<Type> modifierOrder = const <Type>[],
List<Type> orderOfModifiers = const <Type>[],
}) : super(
orderOfModifiers: false ? modifierOrder : orderOfModifiers,
);
super.orderOfModifiers = const <Type>[],
});

final AnimatedIconData icon;
final String? semanticLabel;
Expand Down
2 changes: 0 additions & 2 deletions packages/mix/test/src/specs/flexbox/flexbox_widget_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,6 @@ void main() {
),
).animate(
onEnd: () {
print('onEnd');
countOnEnd++;
},
),
Expand Down Expand Up @@ -142,7 +141,6 @@ void main() {
),
).animate(
onEnd: () {
print('onEnd');
countOnEnd++;
},
),
Expand Down

0 comments on commit 976d4ad

Please sign in to comment.