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.
19 lines
515 B
19 lines
515 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'; |
|
import 'package:nextcloud/nextcloud.dart'; |
|
|
|
part 'routes.g.dart'; |
|
|
|
@TypedGoRoute<NewsAppRoute>( |
|
path: '$appsBaseRoutePrefix${AppIDs.news}', |
|
name: AppIDs.news, |
|
) |
|
@immutable |
|
class NewsAppRoute extends NeonBaseAppRoute { |
|
const NewsAppRoute(); |
|
|
|
@override |
|
Widget build(final BuildContext context, final GoRouterState state) => const NewsMainPage(); |
|
}
|
|
|