fix: 修复日历事件详情页布局问题并添加底部输入框

- 修复 Row 中 Flexible 在无界宽度约束下的布局崩溃问题
- 用 Expanded 包裹内层 Row 提供有界宽度约束
- 添加底部输入框组件(+按钮、输入框、麦克风图标)
- 实现事件详情页动态数据展示
- 添加编辑和删除事件功能
- 添加事件不存在时的错误页面
This commit is contained in:
qzl
2026-03-02 17:28:21 +08:00
parent e161ca22c4
commit 6fb527eb7b
7 changed files with 1253 additions and 119 deletions
+5 -4
View File
@@ -62,6 +62,11 @@ GoRouter createAppRouter(AuthBloc authBloc) {
},
routes: [
GoRoute(path: '/', builder: (context, state) => const LoginScreen()),
GoRoute(
path: '/calendar/events/:id',
builder: (context, state) =>
CalendarEventDetailScreen(eventId: state.pathParameters['id']!),
),
GoRoute(
path: '/register',
builder: (context, state) => const RegisterScreen(),
@@ -109,10 +114,6 @@ GoRouter createAppRouter(AuthBloc authBloc) {
return CalendarMonthScreen(resetToToday: fromHome);
},
),
GoRoute(
path: '/calendar/events/:id',
builder: (context, state) => const CalendarEventDetailScreen(),
),
GoRoute(
path: '/todo',
builder: (context, state) => const TodoQuadrantsScreen(),