MY 화면에 로그아웃(확인 후 로그인 화면으로 복귀) 추가

This commit is contained in:
Sn-Kinos
2026-10-11 00:29:44 +09:00
parent bc19797158
commit 897dff950d
4 changed files with 73 additions and 3 deletions
+8
View File
@@ -13,6 +13,7 @@ class TabPlaceholder extends StatelessWidget {
required this.tab,
required this.screenId,
required this.screenName,
this.footer,
});
/// 계약 고정 탭 라벨(견적서 v2.1 5탭).
@@ -20,6 +21,9 @@ class TabPlaceholder extends StatelessWidget {
final String screenId;
final String screenName;
/// 자리표시 아래에 붙는 동작(예: MY 의 로그아웃). 없으면 그리지 않는다.
final Widget? footer;
@override
Widget build(BuildContext context) {
final text = Theme.of(context).textTheme;
@@ -55,6 +59,10 @@ class TabPlaceholder extends StatelessWidget {
],
),
),
if (footer != null) ...[
const SizedBox(height: AppSpace.s5),
footer!,
],
],
),
),