환경 초기화 및 벤더 리포지토리 스켈레톤 도입
This commit is contained in:
52
lib/features/masters/menu/presentation/pages/menu_page.dart
Normal file
52
lib/features/masters/menu/presentation/pages/menu_page.dart
Normal file
@@ -0,0 +1,52 @@
|
||||
import 'package:flutter/widgets.dart';
|
||||
|
||||
import '../../../../../widgets/spec_page.dart';
|
||||
|
||||
class MenuPage extends StatelessWidget {
|
||||
const MenuPage({super.key});
|
||||
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
return const SpecPage(
|
||||
title: '메뉴 관리',
|
||||
summary: '메뉴 계층, 경로, 노출 순서를 구성합니다.',
|
||||
sections: [
|
||||
SpecSection(
|
||||
title: '입력 폼',
|
||||
items: [
|
||||
'메뉴코드 [Text]',
|
||||
'메뉴명 [Text]',
|
||||
'상위메뉴 [Dropdown]',
|
||||
'경로 [Text]',
|
||||
'표시순서 [Number]',
|
||||
'사용여부 [Switch]',
|
||||
'비고 [Text]',
|
||||
],
|
||||
),
|
||||
SpecSection(
|
||||
title: '수정 폼',
|
||||
items: ['메뉴코드 [ReadOnly]', '생성일시 [ReadOnly]'],
|
||||
),
|
||||
SpecSection(
|
||||
title: '테이블 리스트',
|
||||
description: '1행 예시',
|
||||
table: SpecTable(
|
||||
columns: ['번호', '메뉴코드', '메뉴명', '상위메뉴', '경로', '사용여부', '비고', '변경일시'],
|
||||
rows: [
|
||||
[
|
||||
'1',
|
||||
'MN-001',
|
||||
'대시보드',
|
||||
'-',
|
||||
'/dashboard',
|
||||
'Y',
|
||||
'-',
|
||||
'2024-03-01 10:00',
|
||||
],
|
||||
],
|
||||
),
|
||||
),
|
||||
],
|
||||
);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user