diff --git a/samples/lib/main.dart b/samples/lib/main.dart index c4ebcaaa2..fc7c6e686 100644 --- a/samples/lib/main.dart +++ b/samples/lib/main.dart @@ -43,10 +43,10 @@ class _AppRouter extends $_AppRouter { path: '/alert/default', page: AlertRoute.page, ), - AutoRoute( - path: '/avatar/default', - page: AvatarRoute.page, - ), + AutoRoute( + path: '/avatar/default', + page: AvatarRoute.page, + ), AutoRoute( path: '/badge/default', page: BadgeRoute.page, diff --git a/samples/lib/widgets/avatar.dart b/samples/lib/widgets/avatar.dart index a52306674..4c16b4e39 100644 --- a/samples/lib/widgets/avatar.dart +++ b/samples/lib/widgets/avatar.dart @@ -1,5 +1,3 @@ -import 'dart:io'; - import 'package:flutter/material.dart'; import 'package:auto_route/auto_route.dart'; @@ -15,12 +13,12 @@ class AvatarPage extends SampleScaffold { @override Widget child(BuildContext context) => Column( - mainAxisAlignment: MainAxisAlignment.center, - children: [ - FAvatar( - image: const NetworkImage('https://picsum.photos/250?image=9'), - placeholderBuilder: (_) => const Text('MN'), - ), - ], - ); + mainAxisAlignment: MainAxisAlignment.center, + children: [ + FAvatar( + image: const NetworkImage('https://picsum.photos/250?image=9'), + placeholderBuilder: (_) => const Text('MN'), + ), + ], + ); }