You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
468 B
18 lines
468 B
import 'package:flutter/widgets.dart'; |
|
import 'package:go_router/go_router.dart'; |
|
import 'package:neon/utils.dart'; |
|
import 'package:neon_news/neon_news.dart'; |
|
|
|
part 'routes.g.dart'; |
|
|
|
@TypedGoRoute<NewsAppRoute>( |
|
path: '$appsRoutePrefix${NewsApp.appId}', |
|
name: NewsApp.appId, |
|
) |
|
@immutable |
|
class NewsAppRoute extends NeonAppRoute { |
|
const NewsAppRoute(); |
|
|
|
@override |
|
Widget build(final BuildContext context, final GoRouterState state) => const NewsMainPage(); |
|
}
|
|
|