feat(apps): 重构 UI 架构为 presentation 层并新增 l10n 国际化支持
This commit is contained in:
@@ -0,0 +1,40 @@
|
||||
class AppRoutes {
|
||||
AppRoutes._();
|
||||
|
||||
static const authBoot = '/boot';
|
||||
static const authLogin = '/';
|
||||
|
||||
static const homeMain = '/home';
|
||||
static const shellHomeBranch = homeMain;
|
||||
static const shellCalendarBranch = calendarDayWeek;
|
||||
static const shellTodoBranch = todoList;
|
||||
|
||||
static const messageInviteList = '/messages/invites';
|
||||
static String messageInviteDetail(String id) => '/messages/invites/$id';
|
||||
|
||||
static const contactsList = '/contacts';
|
||||
static const contactsAdd = '/contacts/add';
|
||||
|
||||
static const calendarDayWeek = '/calendar/dayweek';
|
||||
static const calendarMonth = '/calendar/month';
|
||||
static String calendarEventDetail(String id) => '/calendar/events/$id';
|
||||
static const calendarEventCreate = '/calendar/events/new';
|
||||
static String calendarEventEdit(String id) => '/calendar/events/$id/edit';
|
||||
static String calendarEventShare(String id) => '/calendar/events/$id/share';
|
||||
|
||||
static const todoList = '/todo';
|
||||
static String todoDetail(String id) => '/todo/$id';
|
||||
static const todoCreate = '/todo/new';
|
||||
static String todoEdit(String id) => '/todo/$id/edit';
|
||||
|
||||
static const settingsMain = '/settings';
|
||||
static const settingsFeatures = '/settings/features';
|
||||
static const settingsJobNew = '/settings/job/new';
|
||||
static String settingsJobDetail(String id) => '/settings/job/$id';
|
||||
static const settingsMemory = '/settings/memory';
|
||||
static const settingsMemoryUser = '/settings/memory/user';
|
||||
static const settingsMemoryWork = '/settings/memory/work';
|
||||
static const settingsMemoryUserEdit = '/settings/memory/user/edit';
|
||||
static const settingsMemoryWorkEdit = '/settings/memory/work/edit';
|
||||
static const settingsEditProfile = '/edit-profile';
|
||||
}
|
||||
Reference in New Issue
Block a user