refactor(game): 게임 화면 및 위젯 정리
This commit is contained in:
@@ -491,9 +491,7 @@ class _GamePlayScreenState extends State<GamePlayScreen>
|
|||||||
/// VictoryOverlay 완료 후 명예의 전당 화면으로 이동
|
/// VictoryOverlay 완료 후 명예의 전당 화면으로 이동
|
||||||
void _handleVictoryComplete() {
|
void _handleVictoryComplete() {
|
||||||
Navigator.of(context).pushReplacement(
|
Navigator.of(context).pushReplacement(
|
||||||
MaterialPageRoute<void>(
|
MaterialPageRoute<void>(builder: (context) => const HallOfFameScreen()),
|
||||||
builder: (context) => const HallOfFameScreen(),
|
|
||||||
),
|
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -570,7 +568,8 @@ class _GamePlayScreenState extends State<GamePlayScreen>
|
|||||||
super.didChangeAppLifecycleState(appState);
|
super.didChangeAppLifecycleState(appState);
|
||||||
|
|
||||||
// 모바일 환경 확인 (iOS/Android)
|
// 모바일 환경 확인 (iOS/Android)
|
||||||
final isMobile = !kIsWeb &&
|
final isMobile =
|
||||||
|
!kIsWeb &&
|
||||||
(defaultTargetPlatform == TargetPlatform.iOS ||
|
(defaultTargetPlatform == TargetPlatform.iOS ||
|
||||||
defaultTargetPlatform == TargetPlatform.android);
|
defaultTargetPlatform == TargetPlatform.android);
|
||||||
|
|
||||||
@@ -815,7 +814,8 @@ class _GamePlayScreenState extends State<GamePlayScreen>
|
|||||||
setState(() {});
|
setState(() {});
|
||||||
},
|
},
|
||||||
// 특수 애니메이션 중에는 일시정지 상태로 표시하지 않음
|
// 특수 애니메이션 중에는 일시정지 상태로 표시하지 않음
|
||||||
isPaused: !widget.controller.isRunning && _specialAnimation == null,
|
isPaused:
|
||||||
|
!widget.controller.isRunning && _specialAnimation == null,
|
||||||
onPauseToggle: () async {
|
onPauseToggle: () async {
|
||||||
await widget.controller.togglePause();
|
await widget.controller.togglePause();
|
||||||
setState(() {});
|
setState(() {});
|
||||||
@@ -883,7 +883,8 @@ class _GamePlayScreenState extends State<GamePlayScreen>
|
|||||||
// 치트 (디버그 모드)
|
// 치트 (디버그 모드)
|
||||||
cheatsEnabled: widget.controller.cheatsEnabled,
|
cheatsEnabled: widget.controller.cheatsEnabled,
|
||||||
onCheatTask: () => widget.controller.loop?.cheatCompleteTask(),
|
onCheatTask: () => widget.controller.loop?.cheatCompleteTask(),
|
||||||
onCheatQuest: () => widget.controller.loop?.cheatCompleteQuest(),
|
onCheatQuest: () =>
|
||||||
|
widget.controller.loop?.cheatCompleteQuest(),
|
||||||
onCheatPlot: () => widget.controller.loop?.cheatCompletePlot(),
|
onCheatPlot: () => widget.controller.loop?.cheatCompletePlot(),
|
||||||
),
|
),
|
||||||
// 사망 오버레이
|
// 사망 오버레이
|
||||||
@@ -952,17 +953,20 @@ class _GamePlayScreenState extends State<GamePlayScreen>
|
|||||||
IconButton(
|
IconButton(
|
||||||
icon: const Text('L+1'),
|
icon: const Text('L+1'),
|
||||||
tooltip: L10n.of(context).levelUp,
|
tooltip: L10n.of(context).levelUp,
|
||||||
onPressed: () => widget.controller.loop?.cheatCompleteTask(),
|
onPressed: () =>
|
||||||
|
widget.controller.loop?.cheatCompleteTask(),
|
||||||
),
|
),
|
||||||
IconButton(
|
IconButton(
|
||||||
icon: const Text('Q!'),
|
icon: const Text('Q!'),
|
||||||
tooltip: L10n.of(context).completeQuest,
|
tooltip: L10n.of(context).completeQuest,
|
||||||
onPressed: () => widget.controller.loop?.cheatCompleteQuest(),
|
onPressed: () =>
|
||||||
|
widget.controller.loop?.cheatCompleteQuest(),
|
||||||
),
|
),
|
||||||
IconButton(
|
IconButton(
|
||||||
icon: const Text('P!'),
|
icon: const Text('P!'),
|
||||||
tooltip: L10n.of(context).completePlot,
|
tooltip: L10n.of(context).completePlot,
|
||||||
onPressed: () => widget.controller.loop?.cheatCompletePlot(),
|
onPressed: () =>
|
||||||
|
widget.controller.loop?.cheatCompletePlot(),
|
||||||
),
|
),
|
||||||
],
|
],
|
||||||
// 통계 버튼
|
// 통계 버튼
|
||||||
@@ -1000,7 +1004,9 @@ class _GamePlayScreenState extends State<GamePlayScreen>
|
|||||||
setState(() {});
|
setState(() {});
|
||||||
},
|
},
|
||||||
// 특수 애니메이션 중에는 일시정지 상태로 표시하지 않음
|
// 특수 애니메이션 중에는 일시정지 상태로 표시하지 않음
|
||||||
isPaused: !widget.controller.isRunning && _specialAnimation == null,
|
isPaused:
|
||||||
|
!widget.controller.isRunning &&
|
||||||
|
_specialAnimation == null,
|
||||||
onPauseToggle: () async {
|
onPauseToggle: () async {
|
||||||
await widget.controller.togglePause();
|
await widget.controller.togglePause();
|
||||||
setState(() {});
|
setState(() {});
|
||||||
@@ -1159,7 +1165,8 @@ class _GamePlayScreenState extends State<GamePlayScreen>
|
|||||||
state.progress.exp.position,
|
state.progress.exp.position,
|
||||||
state.progress.exp.max,
|
state.progress.exp.max,
|
||||||
Colors.blue,
|
Colors.blue,
|
||||||
tooltip: '${state.progress.exp.position} / ${state.progress.exp.max}',
|
tooltip:
|
||||||
|
'${state.progress.exp.position} / ${state.progress.exp.max}',
|
||||||
),
|
),
|
||||||
|
|
||||||
// 스킬 (Skills - SpellBook 기반)
|
// 스킬 (Skills - SpellBook 기반)
|
||||||
@@ -1286,9 +1293,7 @@ class _GamePlayScreenState extends State<GamePlayScreen>
|
|||||||
padding: const EdgeInsets.symmetric(horizontal: 8, vertical: 6),
|
padding: const EdgeInsets.symmetric(horizontal: 8, vertical: 6),
|
||||||
decoration: const BoxDecoration(
|
decoration: const BoxDecoration(
|
||||||
color: RetroColors.darkBrown,
|
color: RetroColors.darkBrown,
|
||||||
border: Border(
|
border: Border(bottom: BorderSide(color: RetroColors.gold, width: 2)),
|
||||||
bottom: BorderSide(color: RetroColors.gold, width: 2),
|
|
||||||
),
|
|
||||||
),
|
),
|
||||||
child: Text(
|
child: Text(
|
||||||
title.toUpperCase(),
|
title.toUpperCase(),
|
||||||
@@ -1345,7 +1350,9 @@ class _GamePlayScreenState extends State<GamePlayScreen>
|
|||||||
border: Border(
|
border: Border(
|
||||||
right: index < segmentCount - 1
|
right: index < segmentCount - 1
|
||||||
? BorderSide(
|
? BorderSide(
|
||||||
color: RetroColors.panelBorderOuter.withValues(alpha: 0.3),
|
color: RetroColors.panelBorderOuter.withValues(
|
||||||
|
alpha: 0.3,
|
||||||
|
),
|
||||||
width: 1,
|
width: 1,
|
||||||
)
|
)
|
||||||
: BorderSide.none,
|
: BorderSide.none,
|
||||||
@@ -1478,7 +1485,11 @@ class _GamePlayScreenState extends State<GamePlayScreen>
|
|||||||
padding: const EdgeInsets.symmetric(vertical: 2),
|
padding: const EdgeInsets.symmetric(vertical: 2),
|
||||||
child: Row(
|
child: Row(
|
||||||
children: [
|
children: [
|
||||||
const Icon(Icons.monetization_on, size: 10, color: RetroColors.gold),
|
const Icon(
|
||||||
|
Icons.monetization_on,
|
||||||
|
size: 10,
|
||||||
|
color: RetroColors.gold,
|
||||||
|
),
|
||||||
const SizedBox(width: 4),
|
const SizedBox(width: 4),
|
||||||
Expanded(
|
Expanded(
|
||||||
child: Text(
|
child: Text(
|
||||||
@@ -1568,7 +1579,9 @@ class _GamePlayScreenState extends State<GamePlayScreen>
|
|||||||
Icon(
|
Icon(
|
||||||
isCompleted
|
isCompleted
|
||||||
? Icons.check_box
|
? Icons.check_box
|
||||||
: (isCurrent ? Icons.arrow_right : Icons.check_box_outline_blank),
|
: (isCurrent
|
||||||
|
? Icons.arrow_right
|
||||||
|
: Icons.check_box_outline_blank),
|
||||||
size: 12,
|
size: 12,
|
||||||
color: isCompleted
|
color: isCompleted
|
||||||
? RetroColors.expGreen
|
? RetroColors.expGreen
|
||||||
@@ -1583,7 +1596,9 @@ class _GamePlayScreenState extends State<GamePlayScreen>
|
|||||||
fontSize: 8,
|
fontSize: 8,
|
||||||
color: isCompleted
|
color: isCompleted
|
||||||
? RetroColors.textDisabled
|
? RetroColors.textDisabled
|
||||||
: (isCurrent ? RetroColors.gold : RetroColors.textLight),
|
: (isCurrent
|
||||||
|
? RetroColors.gold
|
||||||
|
: RetroColors.textLight),
|
||||||
decoration: isCompleted
|
decoration: isCompleted
|
||||||
? TextDecoration.lineThrough
|
? TextDecoration.lineThrough
|
||||||
: TextDecoration.none,
|
: TextDecoration.none,
|
||||||
|
|||||||
@@ -223,15 +223,14 @@ class GameSessionController extends ChangeNotifier {
|
|||||||
notifyListeners();
|
notifyListeners();
|
||||||
}
|
}
|
||||||
|
|
||||||
Future<void> loadAndStart({
|
Future<void> loadAndStart({String? fileName}) async {
|
||||||
String? fileName,
|
|
||||||
}) async {
|
|
||||||
_status = GameSessionStatus.loading;
|
_status = GameSessionStatus.loading;
|
||||||
_error = null;
|
_error = null;
|
||||||
notifyListeners();
|
notifyListeners();
|
||||||
|
|
||||||
final (outcome, loaded, savedCheatsEnabled) =
|
final (outcome, loaded, savedCheatsEnabled) = await saveManager.loadState(
|
||||||
await saveManager.loadState(fileName: fileName);
|
fileName: fileName,
|
||||||
|
);
|
||||||
if (!outcome.success || loaded == null) {
|
if (!outcome.success || loaded == null) {
|
||||||
_status = GameSessionStatus.error;
|
_status = GameSessionStatus.error;
|
||||||
_error = outcome.error ?? 'Unknown error';
|
_error = outcome.error ?? 'Unknown error';
|
||||||
@@ -346,7 +345,9 @@ class GameSessionController extends ChangeNotifier {
|
|||||||
combatStats: combatStats,
|
combatStats: combatStats,
|
||||||
);
|
);
|
||||||
|
|
||||||
debugPrint('[HallOfFame] Entry created: ${entry.characterName} Lv.${entry.level}');
|
debugPrint(
|
||||||
|
'[HallOfFame] Entry created: ${entry.characterName} Lv.${entry.level}',
|
||||||
|
);
|
||||||
|
|
||||||
final success = await _hallOfFameStorage.addEntry(entry);
|
final success = await _hallOfFameStorage.addEntry(entry);
|
||||||
debugPrint('[HallOfFame] Storage save result: $success');
|
debugPrint('[HallOfFame] Storage save result: $success');
|
||||||
|
|||||||
@@ -247,74 +247,163 @@ class _AsciiAnimationCardState extends State<AsciiAnimationCard> {
|
|||||||
CombatEventType.playerAttack => (
|
CombatEventType.playerAttack => (
|
||||||
BattlePhase.prepare,
|
BattlePhase.prepare,
|
||||||
event.isCritical,
|
event.isCritical,
|
||||||
false, false, false, false, false, false, false,
|
false,
|
||||||
|
false,
|
||||||
|
false,
|
||||||
|
false,
|
||||||
|
false,
|
||||||
|
false,
|
||||||
|
false,
|
||||||
),
|
),
|
||||||
// 스킬 사용 → prepare 페이즈부터 시작 + 스킬 이펙트
|
// 스킬 사용 → prepare 페이즈부터 시작 + 스킬 이펙트
|
||||||
CombatEventType.playerSkill => (
|
CombatEventType.playerSkill => (
|
||||||
BattlePhase.prepare,
|
BattlePhase.prepare,
|
||||||
event.isCritical,
|
event.isCritical,
|
||||||
false, false, true, false, false, false, false,
|
false,
|
||||||
|
false,
|
||||||
|
true,
|
||||||
|
false,
|
||||||
|
false,
|
||||||
|
false,
|
||||||
|
false,
|
||||||
),
|
),
|
||||||
|
|
||||||
// 몬스터 공격 → prepare 페이즈부터 시작
|
// 몬스터 공격 → prepare 페이즈부터 시작
|
||||||
CombatEventType.monsterAttack => (
|
CombatEventType.monsterAttack => (
|
||||||
BattlePhase.prepare,
|
BattlePhase.prepare,
|
||||||
false, false, false, false, false, false, false, false,
|
false,
|
||||||
|
false,
|
||||||
|
false,
|
||||||
|
false,
|
||||||
|
false,
|
||||||
|
false,
|
||||||
|
false,
|
||||||
|
false,
|
||||||
),
|
),
|
||||||
// 블록 → hit 페이즈 + 블록 이펙트 + 텍스트
|
// 블록 → hit 페이즈 + 블록 이펙트 + 텍스트
|
||||||
CombatEventType.playerBlock => (
|
CombatEventType.playerBlock => (
|
||||||
BattlePhase.hit,
|
BattlePhase.hit,
|
||||||
false, true, false, false, false, false, false, false,
|
false,
|
||||||
|
true,
|
||||||
|
false,
|
||||||
|
false,
|
||||||
|
false,
|
||||||
|
false,
|
||||||
|
false,
|
||||||
|
false,
|
||||||
),
|
),
|
||||||
// 패리 → hit 페이즈 + 패리 이펙트 + 텍스트
|
// 패리 → hit 페이즈 + 패리 이펙트 + 텍스트
|
||||||
CombatEventType.playerParry => (
|
CombatEventType.playerParry => (
|
||||||
BattlePhase.hit,
|
BattlePhase.hit,
|
||||||
false, false, true, false, false, false, false, false,
|
false,
|
||||||
|
false,
|
||||||
|
true,
|
||||||
|
false,
|
||||||
|
false,
|
||||||
|
false,
|
||||||
|
false,
|
||||||
|
false,
|
||||||
),
|
),
|
||||||
|
|
||||||
// 플레이어 회피 → recover 페이즈 + 회피 텍스트
|
// 플레이어 회피 → recover 페이즈 + 회피 텍스트
|
||||||
CombatEventType.playerEvade => (
|
CombatEventType.playerEvade => (
|
||||||
BattlePhase.recover,
|
BattlePhase.recover,
|
||||||
false, false, false, false, true, false, false, false,
|
false,
|
||||||
|
false,
|
||||||
|
false,
|
||||||
|
false,
|
||||||
|
true,
|
||||||
|
false,
|
||||||
|
false,
|
||||||
|
false,
|
||||||
),
|
),
|
||||||
// 몬스터 회피 → idle 페이즈 + 미스 텍스트
|
// 몬스터 회피 → idle 페이즈 + 미스 텍스트
|
||||||
CombatEventType.monsterEvade => (
|
CombatEventType.monsterEvade => (
|
||||||
BattlePhase.idle,
|
BattlePhase.idle,
|
||||||
false, false, false, false, false, true, false, false,
|
false,
|
||||||
|
false,
|
||||||
|
false,
|
||||||
|
false,
|
||||||
|
false,
|
||||||
|
true,
|
||||||
|
false,
|
||||||
|
false,
|
||||||
),
|
),
|
||||||
|
|
||||||
// 회복/버프 → idle 페이즈 유지
|
// 회복/버프 → idle 페이즈 유지
|
||||||
CombatEventType.playerHeal => (
|
CombatEventType.playerHeal => (
|
||||||
BattlePhase.idle,
|
BattlePhase.idle,
|
||||||
false, false, false, false, false, false, false, false,
|
false,
|
||||||
|
false,
|
||||||
|
false,
|
||||||
|
false,
|
||||||
|
false,
|
||||||
|
false,
|
||||||
|
false,
|
||||||
|
false,
|
||||||
),
|
),
|
||||||
CombatEventType.playerBuff => (
|
CombatEventType.playerBuff => (
|
||||||
BattlePhase.idle,
|
BattlePhase.idle,
|
||||||
false, false, false, false, false, false, false, false,
|
false,
|
||||||
|
false,
|
||||||
|
false,
|
||||||
|
false,
|
||||||
|
false,
|
||||||
|
false,
|
||||||
|
false,
|
||||||
|
false,
|
||||||
),
|
),
|
||||||
|
|
||||||
// 디버프 적용 → idle 페이즈 + 디버프 텍스트
|
// 디버프 적용 → idle 페이즈 + 디버프 텍스트
|
||||||
CombatEventType.playerDebuff => (
|
CombatEventType.playerDebuff => (
|
||||||
BattlePhase.idle,
|
BattlePhase.idle,
|
||||||
false, false, false, false, false, false, true, false,
|
false,
|
||||||
|
false,
|
||||||
|
false,
|
||||||
|
false,
|
||||||
|
false,
|
||||||
|
false,
|
||||||
|
true,
|
||||||
|
false,
|
||||||
),
|
),
|
||||||
|
|
||||||
// DOT 틱 → attack 페이즈 + DOT 텍스트
|
// DOT 틱 → attack 페이즈 + DOT 텍스트
|
||||||
CombatEventType.dotTick => (
|
CombatEventType.dotTick => (
|
||||||
BattlePhase.attack,
|
BattlePhase.attack,
|
||||||
false, false, false, false, false, false, false, true,
|
false,
|
||||||
|
false,
|
||||||
|
false,
|
||||||
|
false,
|
||||||
|
false,
|
||||||
|
false,
|
||||||
|
false,
|
||||||
|
true,
|
||||||
),
|
),
|
||||||
|
|
||||||
// 물약 사용 → idle 페이즈 유지
|
// 물약 사용 → idle 페이즈 유지
|
||||||
CombatEventType.playerPotion => (
|
CombatEventType.playerPotion => (
|
||||||
BattlePhase.idle,
|
BattlePhase.idle,
|
||||||
false, false, false, false, false, false, false, false,
|
false,
|
||||||
|
false,
|
||||||
|
false,
|
||||||
|
false,
|
||||||
|
false,
|
||||||
|
false,
|
||||||
|
false,
|
||||||
|
false,
|
||||||
),
|
),
|
||||||
|
|
||||||
// 물약 드랍 → idle 페이즈 유지
|
// 물약 드랍 → idle 페이즈 유지
|
||||||
CombatEventType.potionDrop => (
|
CombatEventType.potionDrop => (
|
||||||
BattlePhase.idle,
|
BattlePhase.idle,
|
||||||
false, false, false, false, false, false, false, false,
|
false,
|
||||||
|
false,
|
||||||
|
false,
|
||||||
|
false,
|
||||||
|
false,
|
||||||
|
false,
|
||||||
|
false,
|
||||||
|
false,
|
||||||
),
|
),
|
||||||
};
|
};
|
||||||
|
|
||||||
@@ -375,7 +464,8 @@ class _AsciiAnimationCardState extends State<AsciiAnimationCard> {
|
|||||||
// 특수 애니메이션 프레임 간격 계산 (200ms tick 기준)
|
// 특수 애니메이션 프레임 간격 계산 (200ms tick 기준)
|
||||||
// 예: resurrection 600ms → 600/200 = 3 tick마다 1 프레임
|
// 예: resurrection 600ms → 600/200 = 3 tick마다 1 프레임
|
||||||
final frameInterval =
|
final frameInterval =
|
||||||
(specialAnimationFrameIntervals[_currentSpecialAnimation] ?? 200) ~/
|
(specialAnimationFrameIntervals[_currentSpecialAnimation] ??
|
||||||
|
200) ~/
|
||||||
200;
|
200;
|
||||||
if (_specialTick >= frameInterval) {
|
if (_specialTick >= frameInterval) {
|
||||||
_specialTick = 0;
|
_specialTick = 0;
|
||||||
@@ -576,9 +666,7 @@ class _AsciiAnimationCardState extends State<AsciiAnimationCard> {
|
|||||||
);
|
);
|
||||||
} else if (isSpecial) {
|
} else if (isSpecial) {
|
||||||
// 특수 애니메이션: 포지티브 색상 테두리
|
// 특수 애니메이션: 포지티브 색상 테두리
|
||||||
borderEffect = Border.all(
|
borderEffect = Border.all(color: positiveColor.withValues(alpha: 0.5));
|
||||||
color: positiveColor.withValues(alpha: 0.5),
|
|
||||||
);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
return Container(
|
return Container(
|
||||||
|
|||||||
@@ -44,9 +44,7 @@ class CarouselNavBar extends StatelessWidget {
|
|||||||
),
|
),
|
||||||
decoration: BoxDecoration(
|
decoration: BoxDecoration(
|
||||||
color: panelBg,
|
color: panelBg,
|
||||||
border: Border(
|
border: Border(top: BorderSide(color: accent, width: 2)),
|
||||||
top: BorderSide(color: accent, width: 2),
|
|
||||||
),
|
|
||||||
),
|
),
|
||||||
child: SizedBox(
|
child: SizedBox(
|
||||||
height: 56,
|
height: 56,
|
||||||
|
|||||||
@@ -11,6 +11,15 @@ class CombatLogEntry {
|
|||||||
final String message;
|
final String message;
|
||||||
final DateTime timestamp;
|
final DateTime timestamp;
|
||||||
final CombatLogType type;
|
final CombatLogType type;
|
||||||
|
|
||||||
|
/// JSON 직렬화 (배틀 로그 저장용)
|
||||||
|
Map<String, dynamic> toJson() {
|
||||||
|
return {
|
||||||
|
'message': message,
|
||||||
|
'timestamp': timestamp.toIso8601String(),
|
||||||
|
'type': type.name,
|
||||||
|
};
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/// 로그 타입에 따른 스타일 구분
|
/// 로그 타입에 따른 스타일 구분
|
||||||
|
|||||||
@@ -70,20 +70,18 @@ class DeathOverlay extends StatelessWidget {
|
|||||||
// 헤더 바
|
// 헤더 바
|
||||||
Container(
|
Container(
|
||||||
width: double.infinity,
|
width: double.infinity,
|
||||||
padding: const EdgeInsets.symmetric(horizontal: 12, vertical: 8),
|
padding: const EdgeInsets.symmetric(
|
||||||
|
horizontal: 12,
|
||||||
|
vertical: 8,
|
||||||
|
),
|
||||||
decoration: BoxDecoration(
|
decoration: BoxDecoration(
|
||||||
color: hpColor.withValues(alpha: 0.3),
|
color: hpColor.withValues(alpha: 0.3),
|
||||||
border: Border(
|
border: Border(bottom: BorderSide(color: hpColor, width: 2)),
|
||||||
bottom: BorderSide(color: hpColor, width: 2),
|
|
||||||
),
|
|
||||||
),
|
),
|
||||||
child: Row(
|
child: Row(
|
||||||
mainAxisAlignment: MainAxisAlignment.center,
|
mainAxisAlignment: MainAxisAlignment.center,
|
||||||
children: [
|
children: [
|
||||||
Text(
|
Text('☠', style: TextStyle(fontSize: 16, color: hpColor)),
|
||||||
'☠',
|
|
||||||
style: TextStyle(fontSize: 16, color: hpColor),
|
|
||||||
),
|
|
||||||
const SizedBox(width: 8),
|
const SizedBox(width: 8),
|
||||||
Text(
|
Text(
|
||||||
'GAME OVER',
|
'GAME OVER',
|
||||||
@@ -95,10 +93,7 @@ class DeathOverlay extends StatelessWidget {
|
|||||||
),
|
),
|
||||||
),
|
),
|
||||||
const SizedBox(width: 8),
|
const SizedBox(width: 8),
|
||||||
Text(
|
Text('☠', style: TextStyle(fontSize: 16, color: hpColor)),
|
||||||
'☠',
|
|
||||||
style: TextStyle(fontSize: 16, color: hpColor),
|
|
||||||
),
|
|
||||||
],
|
],
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
@@ -264,10 +259,7 @@ class DeathOverlay extends StatelessWidget {
|
|||||||
child: Row(
|
child: Row(
|
||||||
mainAxisSize: MainAxisSize.min,
|
mainAxisSize: MainAxisSize.min,
|
||||||
children: [
|
children: [
|
||||||
Text(
|
Text('⚔', style: TextStyle(fontSize: 14, color: hpColor)),
|
||||||
'⚔',
|
|
||||||
style: TextStyle(fontSize: 14, color: hpColor),
|
|
||||||
),
|
|
||||||
const SizedBox(width: 8),
|
const SizedBox(width: 8),
|
||||||
Flexible(
|
Flexible(
|
||||||
child: Text(
|
child: Text(
|
||||||
@@ -309,16 +301,11 @@ class DeathOverlay extends StatelessWidget {
|
|||||||
padding: const EdgeInsets.all(10),
|
padding: const EdgeInsets.all(10),
|
||||||
decoration: BoxDecoration(
|
decoration: BoxDecoration(
|
||||||
color: hpDark.withValues(alpha: 0.2),
|
color: hpDark.withValues(alpha: 0.2),
|
||||||
border: Border.all(
|
border: Border.all(color: hpColor.withValues(alpha: 0.4)),
|
||||||
color: hpColor.withValues(alpha: 0.4),
|
|
||||||
),
|
|
||||||
),
|
),
|
||||||
child: Row(
|
child: Row(
|
||||||
children: [
|
children: [
|
||||||
const Text(
|
const Text('🔥', style: TextStyle(fontSize: 16)),
|
||||||
'🔥',
|
|
||||||
style: TextStyle(fontSize: 16),
|
|
||||||
),
|
|
||||||
const SizedBox(width: 8),
|
const SizedBox(width: 8),
|
||||||
Expanded(
|
Expanded(
|
||||||
child: Column(
|
child: Column(
|
||||||
@@ -383,10 +370,7 @@ class DeathOverlay extends StatelessWidget {
|
|||||||
children: [
|
children: [
|
||||||
Row(
|
Row(
|
||||||
children: [
|
children: [
|
||||||
Text(
|
Text(asciiIcon, style: TextStyle(fontSize: 14, color: valueColor)),
|
||||||
asciiIcon,
|
|
||||||
style: TextStyle(fontSize: 14, color: valueColor),
|
|
||||||
),
|
|
||||||
const SizedBox(width: 8),
|
const SizedBox(width: 8),
|
||||||
Text(
|
Text(
|
||||||
label,
|
label,
|
||||||
@@ -433,14 +417,8 @@ class DeathOverlay extends StatelessWidget {
|
|||||||
border: Border(
|
border: Border(
|
||||||
top: BorderSide(color: expColor, width: 3),
|
top: BorderSide(color: expColor, width: 3),
|
||||||
left: BorderSide(color: expColor, width: 3),
|
left: BorderSide(color: expColor, width: 3),
|
||||||
bottom: BorderSide(
|
bottom: BorderSide(color: expDark.withValues(alpha: 0.8), width: 3),
|
||||||
color: expDark.withValues(alpha: 0.8),
|
right: BorderSide(color: expDark.withValues(alpha: 0.8), width: 3),
|
||||||
width: 3,
|
|
||||||
),
|
|
||||||
right: BorderSide(
|
|
||||||
color: expDark.withValues(alpha: 0.8),
|
|
||||||
width: 3,
|
|
||||||
),
|
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
child: Row(
|
child: Row(
|
||||||
@@ -478,7 +456,9 @@ class DeathOverlay extends StatelessWidget {
|
|||||||
|
|
||||||
// 활성화 상태에 따른 색상
|
// 활성화 상태에 따른 색상
|
||||||
final buttonColor = isAutoResurrectEnabled ? mpColor : muted;
|
final buttonColor = isAutoResurrectEnabled ? mpColor : muted;
|
||||||
final buttonDark = isAutoResurrectEnabled ? mpDark : muted.withValues(alpha: 0.5);
|
final buttonDark = isAutoResurrectEnabled
|
||||||
|
? mpDark
|
||||||
|
: muted.withValues(alpha: 0.5);
|
||||||
|
|
||||||
return GestureDetector(
|
return GestureDetector(
|
||||||
onTap: onToggleAutoResurrect,
|
onTap: onToggleAutoResurrect,
|
||||||
@@ -551,10 +531,7 @@ class DeathOverlay extends StatelessWidget {
|
|||||||
children: [
|
children: [
|
||||||
Row(
|
Row(
|
||||||
children: [
|
children: [
|
||||||
const Text(
|
const Text('📜', style: TextStyle(fontSize: 12)),
|
||||||
'📜',
|
|
||||||
style: TextStyle(fontSize: 12),
|
|
||||||
),
|
|
||||||
const SizedBox(width: 6),
|
const SizedBox(width: 6),
|
||||||
Text(
|
Text(
|
||||||
l10n.deathCombatLog.toUpperCase(),
|
l10n.deathCombatLog.toUpperCase(),
|
||||||
@@ -595,10 +572,7 @@ class DeathOverlay extends StatelessWidget {
|
|||||||
padding: const EdgeInsets.symmetric(vertical: 1),
|
padding: const EdgeInsets.symmetric(vertical: 1),
|
||||||
child: Row(
|
child: Row(
|
||||||
children: [
|
children: [
|
||||||
Text(
|
Text(asciiIcon, style: TextStyle(fontSize: 10, color: color)),
|
||||||
asciiIcon,
|
|
||||||
style: TextStyle(fontSize: 10, color: color),
|
|
||||||
),
|
|
||||||
const SizedBox(width: 4),
|
const SizedBox(width: 4),
|
||||||
Expanded(
|
Expanded(
|
||||||
child: Text(
|
child: Text(
|
||||||
|
|||||||
@@ -645,10 +645,12 @@ class _EnhancedAnimationPanelState extends State<EnhancedAnimationPanel>
|
|||||||
// 몬스터 등급에 따른 접두사와 색상
|
// 몬스터 등급에 따른 접두사와 색상
|
||||||
final grade = widget.monsterGrade;
|
final grade = widget.monsterGrade;
|
||||||
final isKillTask = widget.progress.currentTask.type == TaskType.kill;
|
final isKillTask = widget.progress.currentTask.type == TaskType.kill;
|
||||||
final gradePrefix =
|
final gradePrefix = (isKillTask && grade != null)
|
||||||
(isKillTask && grade != null) ? grade.displayPrefix : '';
|
? grade.displayPrefix
|
||||||
final gradeColor =
|
: '';
|
||||||
(isKillTask && grade != null) ? grade.displayColor : null;
|
final gradeColor = (isKillTask && grade != null)
|
||||||
|
? grade.displayColor
|
||||||
|
: null;
|
||||||
|
|
||||||
return Column(
|
return Column(
|
||||||
children: [
|
children: [
|
||||||
|
|||||||
@@ -75,22 +75,10 @@ class _HelpDialogState extends State<HelpDialog>
|
|||||||
child: TabBarView(
|
child: TabBarView(
|
||||||
controller: _tabController,
|
controller: _tabController,
|
||||||
children: [
|
children: [
|
||||||
_BasicsHelpView(
|
_BasicsHelpView(isKorean: isKorean, isJapanese: isJapanese),
|
||||||
isKorean: isKorean,
|
_CombatHelpView(isKorean: isKorean, isJapanese: isJapanese),
|
||||||
isJapanese: isJapanese,
|
_SkillsHelpView(isKorean: isKorean, isJapanese: isJapanese),
|
||||||
),
|
_UIHelpView(isKorean: isKorean, isJapanese: isJapanese),
|
||||||
_CombatHelpView(
|
|
||||||
isKorean: isKorean,
|
|
||||||
isJapanese: isJapanese,
|
|
||||||
),
|
|
||||||
_SkillsHelpView(
|
|
||||||
isKorean: isKorean,
|
|
||||||
isJapanese: isJapanese,
|
|
||||||
),
|
|
||||||
_UIHelpView(
|
|
||||||
isKorean: isKorean,
|
|
||||||
isJapanese: isJapanese,
|
|
||||||
),
|
|
||||||
],
|
],
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
@@ -102,10 +90,7 @@ class _HelpDialogState extends State<HelpDialog>
|
|||||||
|
|
||||||
/// 기본 도움말 뷰
|
/// 기본 도움말 뷰
|
||||||
class _BasicsHelpView extends StatelessWidget {
|
class _BasicsHelpView extends StatelessWidget {
|
||||||
const _BasicsHelpView({
|
const _BasicsHelpView({required this.isKorean, required this.isJapanese});
|
||||||
required this.isKorean,
|
|
||||||
required this.isJapanese,
|
|
||||||
});
|
|
||||||
|
|
||||||
final bool isKorean;
|
final bool isKorean;
|
||||||
final bool isJapanese;
|
final bool isJapanese;
|
||||||
@@ -178,10 +163,7 @@ class _BasicsHelpView extends StatelessWidget {
|
|||||||
|
|
||||||
/// 전투 도움말 뷰
|
/// 전투 도움말 뷰
|
||||||
class _CombatHelpView extends StatelessWidget {
|
class _CombatHelpView extends StatelessWidget {
|
||||||
const _CombatHelpView({
|
const _CombatHelpView({required this.isKorean, required this.isJapanese});
|
||||||
required this.isKorean,
|
|
||||||
required this.isJapanese,
|
|
||||||
});
|
|
||||||
|
|
||||||
final bool isKorean;
|
final bool isKorean;
|
||||||
final bool isJapanese;
|
final bool isJapanese;
|
||||||
@@ -254,10 +236,7 @@ class _CombatHelpView extends StatelessWidget {
|
|||||||
|
|
||||||
/// 스킬 도움말 뷰
|
/// 스킬 도움말 뷰
|
||||||
class _SkillsHelpView extends StatelessWidget {
|
class _SkillsHelpView extends StatelessWidget {
|
||||||
const _SkillsHelpView({
|
const _SkillsHelpView({required this.isKorean, required this.isJapanese});
|
||||||
required this.isKorean,
|
|
||||||
required this.isJapanese,
|
|
||||||
});
|
|
||||||
|
|
||||||
final bool isKorean;
|
final bool isKorean;
|
||||||
final bool isJapanese;
|
final bool isJapanese;
|
||||||
@@ -351,10 +330,7 @@ class _SkillsHelpView extends StatelessWidget {
|
|||||||
|
|
||||||
/// UI 도움말 뷰
|
/// UI 도움말 뷰
|
||||||
class _UIHelpView extends StatelessWidget {
|
class _UIHelpView extends StatelessWidget {
|
||||||
const _UIHelpView({
|
const _UIHelpView({required this.isKorean, required this.isJapanese});
|
||||||
required this.isKorean,
|
|
||||||
required this.isJapanese,
|
|
||||||
});
|
|
||||||
|
|
||||||
final bool isKorean;
|
final bool isKorean;
|
||||||
final bool isJapanese;
|
final bool isJapanese;
|
||||||
|
|||||||
@@ -223,11 +223,15 @@ class _HpMpBarState extends State<HpMpBar> with TickerProviderStateMixin {
|
|||||||
// 플래시 색상 (데미지=빨강, 회복=녹색)
|
// 플래시 색상 (데미지=빨강, 회복=녹색)
|
||||||
final flashColor = isDamage
|
final flashColor = isDamage
|
||||||
? RetroColors.hpRed.withValues(alpha: flashController.value * 0.4)
|
? RetroColors.hpRed.withValues(alpha: flashController.value * 0.4)
|
||||||
: RetroColors.expGreen.withValues(alpha: flashController.value * 0.4);
|
: RetroColors.expGreen.withValues(
|
||||||
|
alpha: flashController.value * 0.4,
|
||||||
|
);
|
||||||
|
|
||||||
// 위험 깜빡임 배경
|
// 위험 깜빡임 배경
|
||||||
final lowBgColor = isLow
|
final lowBgColor = isLow
|
||||||
? RetroColors.hpRed.withValues(alpha: (1 - _blinkAnimation.value) * 0.3)
|
? RetroColors.hpRed.withValues(
|
||||||
|
alpha: (1 - _blinkAnimation.value) * 0.3,
|
||||||
|
)
|
||||||
: Colors.transparent;
|
: Colors.transparent;
|
||||||
|
|
||||||
return Container(
|
return Container(
|
||||||
@@ -263,7 +267,9 @@ class _HpMpBarState extends State<HpMpBar> with TickerProviderStateMixin {
|
|||||||
fontFamily: 'PressStart2P',
|
fontFamily: 'PressStart2P',
|
||||||
fontSize: 8,
|
fontSize: 8,
|
||||||
fontWeight: FontWeight.bold,
|
fontWeight: FontWeight.bold,
|
||||||
color: isDamage ? RetroColors.hpRed : RetroColors.expGreen,
|
color: isDamage
|
||||||
|
? RetroColors.hpRed
|
||||||
|
: RetroColors.expGreen,
|
||||||
shadows: const [
|
shadows: const [
|
||||||
Shadow(color: Colors.black, blurRadius: 3),
|
Shadow(color: Colors.black, blurRadius: 3),
|
||||||
Shadow(color: Colors.black, blurRadius: 6),
|
Shadow(color: Colors.black, blurRadius: 6),
|
||||||
@@ -314,10 +320,7 @@ class _HpMpBarState extends State<HpMpBar> with TickerProviderStateMixin {
|
|||||||
height: 12,
|
height: 12,
|
||||||
decoration: BoxDecoration(
|
decoration: BoxDecoration(
|
||||||
color: emptyColor.withValues(alpha: 0.3),
|
color: emptyColor.withValues(alpha: 0.3),
|
||||||
border: Border.all(
|
border: Border.all(color: RetroColors.panelBorderOuter, width: 1),
|
||||||
color: RetroColors.panelBorderOuter,
|
|
||||||
width: 1,
|
|
||||||
),
|
|
||||||
),
|
),
|
||||||
child: Row(
|
child: Row(
|
||||||
children: List.generate(segmentCount, (index) {
|
children: List.generate(segmentCount, (index) {
|
||||||
@@ -331,8 +334,9 @@ class _HpMpBarState extends State<HpMpBar> with TickerProviderStateMixin {
|
|||||||
border: Border(
|
border: Border(
|
||||||
right: index < segmentCount - 1
|
right: index < segmentCount - 1
|
||||||
? BorderSide(
|
? BorderSide(
|
||||||
color: RetroColors.panelBorderOuter
|
color: RetroColors.panelBorderOuter.withValues(
|
||||||
.withValues(alpha: 0.3),
|
alpha: 0.3,
|
||||||
|
),
|
||||||
width: 1,
|
width: 1,
|
||||||
)
|
)
|
||||||
: BorderSide.none,
|
: BorderSide.none,
|
||||||
@@ -420,8 +424,9 @@ class _HpMpBarState extends State<HpMpBar> with TickerProviderStateMixin {
|
|||||||
decoration: BoxDecoration(
|
decoration: BoxDecoration(
|
||||||
color: isFilled
|
color: isFilled
|
||||||
? RetroColors.gold
|
? RetroColors.gold
|
||||||
: RetroColors.panelBorderOuter
|
: RetroColors.panelBorderOuter.withValues(
|
||||||
.withValues(alpha: 0.3),
|
alpha: 0.3,
|
||||||
|
),
|
||||||
border: Border(
|
border: Border(
|
||||||
right: index < segmentCount - 1
|
right: index < segmentCount - 1
|
||||||
? BorderSide(
|
? BorderSide(
|
||||||
|
|||||||
@@ -119,7 +119,10 @@ class _NotificationCard extends StatelessWidget {
|
|||||||
|
|
||||||
@override
|
@override
|
||||||
Widget build(BuildContext context) {
|
Widget build(BuildContext context) {
|
||||||
final (accentColor, icon, asciiIcon) = _getStyleForType(context, notification.type);
|
final (accentColor, icon, asciiIcon) = _getStyleForType(
|
||||||
|
context,
|
||||||
|
notification.type,
|
||||||
|
);
|
||||||
final panelBg = RetroColors.panelBgOf(context);
|
final panelBg = RetroColors.panelBgOf(context);
|
||||||
final borderColor = RetroColors.borderOf(context);
|
final borderColor = RetroColors.borderOf(context);
|
||||||
final surface = RetroColors.surfaceOf(context);
|
final surface = RetroColors.surfaceOf(context);
|
||||||
@@ -260,8 +263,16 @@ class _NotificationCard extends StatelessWidget {
|
|||||||
NotificationType.levelUp => (gold, Icons.arrow_upward, '★'),
|
NotificationType.levelUp => (gold, Icons.arrow_upward, '★'),
|
||||||
NotificationType.questComplete => (exp, Icons.check, '☑'),
|
NotificationType.questComplete => (exp, Icons.check, '☑'),
|
||||||
NotificationType.actComplete => (mp, Icons.flag, '⚑'),
|
NotificationType.actComplete => (mp, Icons.flag, '⚑'),
|
||||||
NotificationType.newSpell => (const Color(0xFF9966FF), Icons.auto_fix_high, '✧'),
|
NotificationType.newSpell => (
|
||||||
NotificationType.newEquipment => (const Color(0xFFFF9933), Icons.shield, '⚔'),
|
const Color(0xFF9966FF),
|
||||||
|
Icons.auto_fix_high,
|
||||||
|
'✧',
|
||||||
|
),
|
||||||
|
NotificationType.newEquipment => (
|
||||||
|
const Color(0xFFFF9933),
|
||||||
|
Icons.shield,
|
||||||
|
'⚔',
|
||||||
|
),
|
||||||
NotificationType.bossDefeat => (hp, Icons.whatshot, '☠'),
|
NotificationType.bossDefeat => (hp, Icons.whatshot, '☠'),
|
||||||
NotificationType.gameSaved => (exp, Icons.save, '💾'),
|
NotificationType.gameSaved => (exp, Icons.save, '💾'),
|
||||||
NotificationType.info => (mp, Icons.info_outline, 'ℹ'),
|
NotificationType.info => (mp, Icons.info_outline, 'ℹ'),
|
||||||
|
|||||||
@@ -25,10 +25,8 @@ class StatisticsDialog extends StatefulWidget {
|
|||||||
return showDialog(
|
return showDialog(
|
||||||
context: context,
|
context: context,
|
||||||
barrierColor: Colors.black87,
|
barrierColor: Colors.black87,
|
||||||
builder: (_) => StatisticsDialog(
|
builder: (_) =>
|
||||||
session: session,
|
StatisticsDialog(session: session, cumulative: cumulative),
|
||||||
cumulative: cumulative,
|
|
||||||
),
|
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -92,9 +92,7 @@ class TaskProgressPanel extends StatelessWidget {
|
|||||||
children: [
|
children: [
|
||||||
_buildPauseButton(context),
|
_buildPauseButton(context),
|
||||||
const SizedBox(width: 8),
|
const SizedBox(width: 8),
|
||||||
Expanded(
|
Expanded(child: _buildStatusMessage(context)),
|
||||||
child: _buildStatusMessage(context),
|
|
||||||
),
|
|
||||||
const SizedBox(width: 8),
|
const SizedBox(width: 8),
|
||||||
_buildSpeedButton(context),
|
_buildSpeedButton(context),
|
||||||
],
|
],
|
||||||
@@ -162,10 +160,12 @@ class TaskProgressPanel extends StatelessWidget {
|
|||||||
// 몬스터 등급에 따른 접두사와 색상
|
// 몬스터 등급에 따른 접두사와 색상
|
||||||
final grade = monsterGrade;
|
final grade = monsterGrade;
|
||||||
final isKillTask = progress.currentTask.type == TaskType.kill;
|
final isKillTask = progress.currentTask.type == TaskType.kill;
|
||||||
final gradePrefix =
|
final gradePrefix = (isKillTask && grade != null)
|
||||||
(isKillTask && grade != null) ? grade.displayPrefix : '';
|
? grade.displayPrefix
|
||||||
final gradeColor =
|
: '';
|
||||||
(isKillTask && grade != null) ? grade.displayColor : null;
|
final gradeColor = (isKillTask && grade != null)
|
||||||
|
? grade.displayColor
|
||||||
|
: null;
|
||||||
|
|
||||||
return Text.rich(
|
return Text.rich(
|
||||||
TextSpan(
|
TextSpan(
|
||||||
@@ -173,10 +173,7 @@ class TaskProgressPanel extends StatelessWidget {
|
|||||||
if (gradePrefix.isNotEmpty)
|
if (gradePrefix.isNotEmpty)
|
||||||
TextSpan(
|
TextSpan(
|
||||||
text: gradePrefix,
|
text: gradePrefix,
|
||||||
style: TextStyle(
|
style: TextStyle(color: gradeColor, fontWeight: FontWeight.bold),
|
||||||
color: gradeColor,
|
|
||||||
fontWeight: FontWeight.bold,
|
|
||||||
),
|
|
||||||
),
|
),
|
||||||
TextSpan(
|
TextSpan(
|
||||||
text: message,
|
text: message,
|
||||||
|
|||||||
@@ -52,9 +52,10 @@ class _VictoryOverlayState extends State<VictoryOverlay>
|
|||||||
vsync: this,
|
vsync: this,
|
||||||
);
|
);
|
||||||
|
|
||||||
_scrollAnimation = Tween<double>(begin: 0.0, end: 1.0).animate(
|
_scrollAnimation = Tween<double>(
|
||||||
CurvedAnimation(parent: _scrollController, curve: Curves.linear),
|
begin: 0.0,
|
||||||
);
|
end: 1.0,
|
||||||
|
).animate(CurvedAnimation(parent: _scrollController, curve: Curves.linear));
|
||||||
|
|
||||||
// 스크롤 완료 시 버튼 표시 (자동 종료하지 않음)
|
// 스크롤 완료 시 버튼 표시 (자동 종료하지 않음)
|
||||||
_scrollController.addStatusListener((status) {
|
_scrollController.addStatusListener((status) {
|
||||||
@@ -380,26 +381,43 @@ class _VictoryOverlayState extends State<VictoryOverlay>
|
|||||||
final hours = playTime.inHours;
|
final hours = playTime.inHours;
|
||||||
final minutes = playTime.inMinutes % 60;
|
final minutes = playTime.inMinutes % 60;
|
||||||
final seconds = playTime.inSeconds % 60;
|
final seconds = playTime.inSeconds % 60;
|
||||||
final playTimeStr = '${hours.toString().padLeft(2, '0')}:'
|
final playTimeStr =
|
||||||
|
'${hours.toString().padLeft(2, '0')}:'
|
||||||
'${minutes.toString().padLeft(2, '0')}:'
|
'${minutes.toString().padLeft(2, '0')}:'
|
||||||
'${seconds.toString().padLeft(2, '0')}';
|
'${seconds.toString().padLeft(2, '0')}';
|
||||||
|
|
||||||
return Column(
|
return Column(
|
||||||
children: [
|
children: [
|
||||||
_buildStatLine(l10n.endingMonstersSlain,
|
_buildStatLine(
|
||||||
'${widget.progress.monstersKilled}', textPrimary, exp),
|
l10n.endingMonstersSlain,
|
||||||
const SizedBox(height: 8),
|
'${widget.progress.monstersKilled}',
|
||||||
_buildStatLine(l10n.endingQuestsCompleted,
|
textPrimary,
|
||||||
'${widget.progress.questCount}', textPrimary, exp),
|
exp,
|
||||||
|
),
|
||||||
const SizedBox(height: 8),
|
const SizedBox(height: 8),
|
||||||
_buildStatLine(
|
_buildStatLine(
|
||||||
l10n.endingPlayTime, playTimeStr, textPrimary, textPrimary),
|
l10n.endingQuestsCompleted,
|
||||||
|
'${widget.progress.questCount}',
|
||||||
|
textPrimary,
|
||||||
|
exp,
|
||||||
|
),
|
||||||
|
const SizedBox(height: 8),
|
||||||
|
_buildStatLine(
|
||||||
|
l10n.endingPlayTime,
|
||||||
|
playTimeStr,
|
||||||
|
textPrimary,
|
||||||
|
textPrimary,
|
||||||
|
),
|
||||||
],
|
],
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
Widget _buildStatLine(
|
Widget _buildStatLine(
|
||||||
String label, String value, Color labelColor, Color valueColor) {
|
String label,
|
||||||
|
String value,
|
||||||
|
Color labelColor,
|
||||||
|
Color valueColor,
|
||||||
|
) {
|
||||||
return Row(
|
return Row(
|
||||||
mainAxisAlignment: MainAxisAlignment.center,
|
mainAxisAlignment: MainAxisAlignment.center,
|
||||||
children: [
|
children: [
|
||||||
|
|||||||
Reference in New Issue
Block a user