A framework for building convergent cross-platform Nextcloud clients using Flutter.
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.
|
|
|
import 'package:flutter/widgets.dart';
|
|
|
|
import 'package:go_router/go_router.dart';
|
|
|
|
import 'package:neon/nextcloud.dart';
|
|
|
|
import 'package:neon/utils.dart';
|
|
|
|
import 'package:neon_news/neon_news.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();
|
|
|
|
}
|