basic history working

This commit is contained in:
Fabian Freund
2025-09-18 12:53:03 +02:00
parent 9676ccae3d
commit 2ff97e226c
12 changed files with 454 additions and 190 deletions
+8
View File
@@ -28,6 +28,7 @@ part of 'routes.dart';
path: 'search/:tabType/:searchText',
),
TypedGoRoute<TorProxyRoute>(name: 'TorProxyRoute', path: 'tor_proxy'),
TypedGoRoute<HistoryRoute>(name: 'HistoryRoute', path: 'history'),
TypedGoRoute<ContextMenuRoute>(
name: 'ContextMenuRoute',
path: 'context_menu',
@@ -178,3 +179,10 @@ class OpenSharedContentRoute extends GoRouteData with _$OpenSharedContentRoute {
return DialogPage(builder: (_) => OpenSharedContent(sharedUrl: $extra));
}
}
class HistoryRoute extends GoRouteData with _$HistoryRoute {
@override
Widget build(BuildContext context, GoRouterState state) {
return const HistoryScreen();
}
}