Core 네트워크/권한 주석 보강
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
import 'package:flutter/widgets.dart';
|
||||
import 'package:lucide_icons_flutter/lucide_icons.dart' as lucide;
|
||||
|
||||
/// 사이드바/내비게이션용 페이지 정보.
|
||||
class AppPageDescriptor {
|
||||
const AppPageDescriptor({
|
||||
required this.path,
|
||||
@@ -15,6 +16,7 @@ class AppPageDescriptor {
|
||||
final String summary;
|
||||
}
|
||||
|
||||
/// 메뉴 섹션을 나타내는 데이터 클래스.
|
||||
class AppSectionDescriptor {
|
||||
const AppSectionDescriptor({required this.label, required this.pages});
|
||||
|
||||
@@ -22,9 +24,13 @@ class AppSectionDescriptor {
|
||||
final List<AppPageDescriptor> pages;
|
||||
}
|
||||
|
||||
/// 로그인 라우트 경로.
|
||||
const loginRoutePath = '/login';
|
||||
|
||||
/// 대시보드 라우트 경로.
|
||||
const dashboardRoutePath = '/dashboard';
|
||||
|
||||
/// 네비게이션 구성을 정의한 섹션 목록.
|
||||
const appSections = <AppSectionDescriptor>[
|
||||
AppSectionDescriptor(
|
||||
label: '대시보드',
|
||||
|
||||
Reference in New Issue
Block a user