Skip to content

Commit

Permalink
Use ignore_for_file
Browse files Browse the repository at this point in the history
  • Loading branch information
NicolaVerbeeck committed Oct 3, 2021
1 parent 05be59d commit 230cf8e
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions lib/src/controls/navigation/navigation_view/body.dart
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// ignore_for_file: prefer_initializing_formals
part of 'view.dart';

/// A helper widget that implements fluent page transitions into
Expand All @@ -18,7 +19,6 @@ class NavigationBody extends StatefulWidget {
this.animationCurve,
this.animationDuration,
}) : assert(index >= 0 && index <= children.length),
// ignore: prefer_initializing_formals
children = children,
itemBuilder = null,
itemCount = null,
Expand All @@ -36,7 +36,6 @@ class NavigationBody extends StatefulWidget {
this.animationCurve,
this.animationDuration,
}) : assert(index >= 0 && (itemCount == null || index <= itemCount)),
// ignore: prefer_initializing_formals
itemBuilder = itemBuilder,
children = null,
super(key: key);
Expand Down

0 comments on commit 230cf8e

Please sign in to comment.