Skip to content

Commit

Permalink
Update align_widget_modifier.dart
Browse files Browse the repository at this point in the history
  • Loading branch information
tilucasoli authored Jul 24, 2024
1 parent 2faca71 commit b66af02
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/mix/lib/src/modifiers/align_widget_modifier.dart
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,9 @@ final class AlignModifierSpec extends WidgetModifierSpec<AlignModifierSpec> {
@override
AlignModifierSpec lerp(AlignModifierSpec? other, double t) {
return AlignModifierSpec(
alignment: AlignmentGeometry.lerp(alignment, other?.alignment, t),
widthFactor: lerpDouble(widthFactor, other?.widthFactor, t),
heightFactor: lerpDouble(heightFactor, other?.heightFactor, t),
alignment: AlignmentGeometry.lerp(alignment, other?.alignment, t),
);

Check notice on line 31 in packages/mix/lib/src/modifiers/align_widget_modifier.dart

View workflow job for this annotation

GitHub Actions / DCM report

packages/mix/lib/src/modifiers/align_widget_modifier.dart#L27-L31

Named arguments do not match the parameters declaration order. Try sorting them.
}

Expand Down

0 comments on commit b66af02

Please sign in to comment.