Skip to content

Commit 5e44123

Browse files
committed
fix: flutter analysis fix
1 parent 6c51b3e commit 5e44123

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

flutter_news_example/lib/app/routes/routes.dart

+1
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,7 @@ final GoRouter router = GoRouter(
6262
(e) =>
6363
e.toString() ==
6464
'InterstitialAdBehavior.'
65+
// ignore: lines_longer_than_80_chars
6566
'${state.uri.queryParameters['interstitialAdBehavior']}',
6667
)
6768
: null;

flutter_news_example/lib/feed/widgets/category_feed_item.dart

-1
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,6 @@ class CategoryFeedItem extends StatelessWidget {
8888
BuildContext context,
8989
BlockAction action,
9090
) async {
91-
final router = GoRouter.of(context);
9291
if (action is NavigateToArticleAction) {
9392
context.goNamed(
9493
ArticlePage.routeName,

0 commit comments

Comments
 (0)