From 230cf8e1ca5edf3765d7d1c4eb7b06d52cb3ffdc Mon Sep 17 00:00:00 2001 From: Nicola Verbeeck Date: Sun, 3 Oct 2021 17:27:45 +0200 Subject: [PATCH] Use ignore_for_file --- lib/src/controls/navigation/navigation_view/body.dart | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/src/controls/navigation/navigation_view/body.dart b/lib/src/controls/navigation/navigation_view/body.dart index 5954baff0..33242613d 100644 --- a/lib/src/controls/navigation/navigation_view/body.dart +++ b/lib/src/controls/navigation/navigation_view/body.dart @@ -1,3 +1,4 @@ +// ignore_for_file: prefer_initializing_formals part of 'view.dart'; /// A helper widget that implements fluent page transitions into @@ -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, @@ -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);