when i add a new route to router.dart and run the build runner i get the Route must have either a page or a redirect destination Error
below is my code in router.drat :
@MaterialAutoRouter(
replaceInRouteName: 'Page,Route',
routes: <AutoRoute>[
AutoRoute(
path: '/',
page: SplashPage,
),
AutoRoute(
path: 'signInPage',
name: 'SignInRouter',
page: SignInPage,
),
AutoRoute(
path: 'noteOverviewPage',
name: 'NoteOverviewRouter',
page: NoteOverviewPage,
),
AutoRoute(
path: 'todoFormPage',
name: 'todoFormRouter',
page: TodoFormPage,
),
],
)
class $AppRouter {}