fix(ui): 게임 위젯들 레이아웃 및 스타일 수정

- death_overlay: 레이아웃 개선
- help_dialog, statistics_dialog: 스타일 통일
- notification_overlay: 간소화
- carousel_nav_bar: 스타일 업데이트
- mobile_carousel_layout: 레이아웃 조정
This commit is contained in:
JiWoong Sul
2025-12-30 23:57:11 +09:00
parent 94aad1f0fe
commit e64aac04fb
6 changed files with 209 additions and 183 deletions

View File

@@ -1,7 +1,6 @@
import 'package:flutter/material.dart';
import 'package:askiineverdie/src/core/model/game_statistics.dart';
import 'package:askiineverdie/src/shared/retro_colors.dart';
import 'package:askiineverdie/src/shared/widgets/retro_dialog.dart';
/// 게임 통계 다이얼로그 (Statistics Dialog)
@@ -75,14 +74,14 @@ class _StatisticsDialogState extends State<StatisticsDialog>
titleIcon: '📊',
maxWidth: 420,
maxHeight: 520,
accentColor: RetroColors.gold,
// accentColor: 테마에서 자동 결정 (goldOf)
child: Column(
children: [
// 탭 바
RetroTabBar(
controller: _tabController,
tabs: tabs,
accentColor: RetroColors.gold,
// accentColor: 테마에서 자동 결정 (goldOf)
),
// 탭 내용
Expanded(
@@ -573,12 +572,8 @@ class _StatSection extends StatelessWidget {
return Column(
crossAxisAlignment: CrossAxisAlignment.start,
children: [
// 섹션 헤더
RetroSectionHeader(
title: title,
icon: icon,
accentColor: RetroColors.gold,
),
// 섹션 헤더 (테마에서 자동 결정)
RetroSectionHeader(title: title, icon: icon),
// 통계 항목들
...items,
],
@@ -600,12 +595,8 @@ class _StatItem extends StatelessWidget {
@override
Widget build(BuildContext context) {
return RetroStatRow(
label: label,
value: value,
highlight: highlight,
highlightColor: RetroColors.gold,
);
// highlightColor: 테마에서 자동 결정 (goldOf)
return RetroStatRow(label: label, value: value, highlight: highlight);
}
}