Shuffle post

This commit is contained in:
2025-08-22 01:41:25 +08:00
parent b4f2bb803a
commit bab602d98b
7 changed files with 70 additions and 7 deletions

View File

@@ -53,6 +53,7 @@ import 'package:island/screens/account/event_calendar.dart';
import 'package:island/screens/discovery/realms.dart';
import 'package:island/screens/reports/report_detail.dart';
import 'package:island/screens/reports/report_list.dart';
import 'package:island/widgets/post/post_shuffle.dart';
// Shell route keys for nested navigation
final rootNavigatorKey = GlobalKey<NavigatorState>();
@@ -376,6 +377,11 @@ final routerProvider = Provider<GoRouter>((ref) {
path: '/posts/search',
builder: (context, state) => const PostSearchScreen(),
),
GoRoute(
name: 'postShuffle',
path: '/posts/shuffle',
builder: (context, state) => const PostShuffleScreen(),
),
GoRoute(
name: 'postCategories',
path: '/posts/categories',