fix: 修复日历事件详情页布局问题并添加底部输入框
- 修复 Row 中 Flexible 在无界宽度约束下的布局崩溃问题 - 用 Expanded 包裹内层 Row 提供有界宽度约束 - 添加底部输入框组件(+按钮、输入框、麦克风图标) - 实现事件详情页动态数据展示 - 添加编辑和删除事件功能 - 添加事件不存在时的错误页面
This commit is contained in:
@@ -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(),
|
||||
|
||||
Reference in New Issue
Block a user