Basic post editor

This commit is contained in:
2024-11-10 12:41:56 +08:00
parent c02b95c9ac
commit 302691f557
9 changed files with 420 additions and 12 deletions

View File

@ -44,7 +44,9 @@ final appRouter = GoRouter(
GoRoute(
path: '/post/write/:mode',
name: 'postEditor',
builder: (context, state) => const PostEditorScreen(),
builder: (context, state) => PostEditorScreen(
mode: state.pathParameters['mode']!,
),
),
],
),