diff --git a/lib/src/app.dart b/lib/src/app.dart index 5e32344..b6b270e 100644 --- a/lib/src/app.dart +++ b/lib/src/app.dart @@ -457,4 +457,3 @@ class _AskiiNeverDieAppState extends State } } } - diff --git a/lib/src/features/game/game_play_screen.dart b/lib/src/features/game/game_play_screen.dart index 2086b5e..0db1aa5 100644 --- a/lib/src/features/game/game_play_screen.dart +++ b/lib/src/features/game/game_play_screen.dart @@ -789,10 +789,7 @@ class _GamePlayScreenState extends State child: Row( crossAxisAlignment: CrossAxisAlignment.stretch, children: [ - Expanded( - flex: 2, - child: DesktopCharacterPanel(state: state), - ), + Expanded(flex: 2, child: DesktopCharacterPanel(state: state)), Expanded( flex: 3, child: DesktopEquipmentPanel( @@ -800,10 +797,7 @@ class _GamePlayScreenState extends State combatLogEntries: _combatLogController.entries, ), ), - Expanded( - flex: 2, - child: DesktopQuestPanel(state: state), - ), + Expanded(flex: 2, child: DesktopQuestPanel(state: state)), ], ), ), @@ -875,5 +869,4 @@ class _GamePlayScreenState extends State return KeyEventResult.ignored; } - } diff --git a/lib/src/features/game/widgets/compact_status_bars.dart b/lib/src/features/game/widgets/compact_status_bars.dart index 7bf9bb0..f2c9f2d 100644 --- a/lib/src/features/game/widgets/compact_status_bars.dart +++ b/lib/src/features/game/widgets/compact_status_bars.dart @@ -271,9 +271,7 @@ class CompactMonsterHpBar extends StatelessWidget { decoration: BoxDecoration( color: Colors.orange.withValues(alpha: 0.1), borderRadius: BorderRadius.circular(4), - border: Border.all( - color: Colors.orange.withValues(alpha: 0.3), - ), + border: Border.all(color: Colors.orange.withValues(alpha: 0.3)), ), child: Column( mainAxisAlignment: MainAxisAlignment.center, diff --git a/lib/src/features/game/widgets/death_overlay.dart b/lib/src/features/game/widgets/death_overlay.dart index 5dca369..35b9096 100644 --- a/lib/src/features/game/widgets/death_overlay.dart +++ b/lib/src/features/game/widgets/death_overlay.dart @@ -428,7 +428,6 @@ class DeathOverlay extends StatelessWidget { return gold.toString(); } - /// 장비 슬롯 이름 반환 String _getSlotName(EquipmentSlot? slot) { if (slot == null) return ''; diff --git a/lib/src/features/game/widgets/desktop_character_panel.dart b/lib/src/features/game/widgets/desktop_character_panel.dart index 3e9eafc..16cfda5 100644 --- a/lib/src/features/game/widgets/desktop_character_panel.dart +++ b/lib/src/features/game/widgets/desktop_character_panel.dart @@ -27,10 +27,7 @@ class DesktopCharacterPanel extends StatelessWidget { margin: const EdgeInsets.all(4), color: RetroColors.panelBg, shape: RoundedRectangleBorder( - side: const BorderSide( - color: RetroColors.panelBorderOuter, - width: 2, - ), + side: const BorderSide(color: RetroColors.panelBorderOuter, width: 2), borderRadius: BorderRadius.circular(0), ), child: Column( @@ -95,10 +92,7 @@ class _TraitsList extends StatelessWidget { final traits = [ (l10n.traitName, state.traits.name), (l10n.traitRace, GameDataL10n.getRaceName(context, state.traits.race)), - ( - l10n.traitClass, - GameDataL10n.getKlassName(context, state.traits.klass), - ), + (l10n.traitClass, GameDataL10n.getKlassName(context, state.traits.klass)), (l10n.traitLevel, '${state.traits.level}'), ]; @@ -175,10 +169,7 @@ class _SkillsList extends StatelessWidget { : null; final isOnCooldown = skillState != null && - !skillState.isReady( - state.skillSystem.elapsedMs, - skill!.cooldownMs, - ); + !skillState.isReady(state.skillSystem.elapsedMs, skill!.cooldownMs); return _SkillRow( skillName: skillName, @@ -224,11 +215,7 @@ class _SkillRow extends StatelessWidget { ), ), if (isOnCooldown) - const Icon( - Icons.hourglass_empty, - size: 10, - color: Colors.orange, - ), + const Icon(Icons.hourglass_empty, size: 10, color: Colors.orange), const SizedBox(width: 4), Text( rank, diff --git a/lib/src/features/game/widgets/desktop_equipment_panel.dart b/lib/src/features/game/widgets/desktop_equipment_panel.dart index ace5bdb..620cc8f 100644 --- a/lib/src/features/game/widgets/desktop_equipment_panel.dart +++ b/lib/src/features/game/widgets/desktop_equipment_panel.dart @@ -31,10 +31,7 @@ class DesktopEquipmentPanel extends StatelessWidget { margin: const EdgeInsets.all(4), color: RetroColors.panelBg, shape: RoundedRectangleBorder( - side: const BorderSide( - color: RetroColors.panelBorderOuter, - width: 2, - ), + side: const BorderSide(color: RetroColors.panelBorderOuter, width: 2), borderRadius: BorderRadius.circular(0), ), child: Column( @@ -104,11 +101,7 @@ class _InventoryList extends StatelessWidget { padding: const EdgeInsets.symmetric(vertical: 2), child: Row( 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), Expanded( child: Text( @@ -134,10 +127,7 @@ class _InventoryList extends StatelessWidget { } Widget _buildItemRow(BuildContext context, InventoryEntry item) { - final translatedName = GameDataL10n.translateItemString( - context, - item.name, - ); + final translatedName = GameDataL10n.translateItemString(context, item.name); return Padding( padding: const EdgeInsets.symmetric(vertical: 1), child: Row( diff --git a/lib/src/features/game/widgets/desktop_panel_widgets.dart b/lib/src/features/game/widgets/desktop_panel_widgets.dart index 045049b..251205a 100644 --- a/lib/src/features/game/widgets/desktop_panel_widgets.dart +++ b/lib/src/features/game/widgets/desktop_panel_widgets.dart @@ -20,9 +20,7 @@ class DesktopPanelHeader extends StatelessWidget { padding: const EdgeInsets.symmetric(horizontal: 8, vertical: 6), decoration: const BoxDecoration( color: RetroColors.darkBrown, - border: Border( - bottom: BorderSide(color: RetroColors.gold, width: 2), - ), + border: Border(bottom: BorderSide(color: RetroColors.gold, width: 2)), ), child: Text( title.toUpperCase(), @@ -86,10 +84,7 @@ class DesktopSegmentProgressBar extends StatelessWidget { height: 12, decoration: BoxDecoration( color: color.withValues(alpha: 0.15), - border: Border.all( - color: RetroColors.panelBorderOuter, - width: 1, - ), + border: Border.all(color: RetroColors.panelBorderOuter, width: 1), ), child: Row( children: List.generate(segmentCount, (index) { diff --git a/lib/src/features/game/widgets/desktop_quest_panel.dart b/lib/src/features/game/widgets/desktop_quest_panel.dart index 5d71988..fda220f 100644 --- a/lib/src/features/game/widgets/desktop_quest_panel.dart +++ b/lib/src/features/game/widgets/desktop_quest_panel.dart @@ -22,10 +22,7 @@ class DesktopQuestPanel extends StatelessWidget { margin: const EdgeInsets.all(4), color: RetroColors.panelBg, shape: RoundedRectangleBorder( - side: const BorderSide( - color: RetroColors.panelBorderOuter, - width: 2, - ), + side: const BorderSide(color: RetroColors.panelBorderOuter, width: 2), borderRadius: BorderRadius.circular(0), ), child: Column( @@ -103,9 +100,7 @@ class _PlotList extends StatelessWidget { size: 12, color: isCompleted ? RetroColors.expGreen - : (isCurrent - ? RetroColors.gold - : RetroColors.textDisabled), + : (isCurrent ? RetroColors.gold : RetroColors.textDisabled), ), const SizedBox(width: 4), Expanded( diff --git a/lib/src/features/game/widgets/enhanced_animation_panel.dart b/lib/src/features/game/widgets/enhanced_animation_panel.dart index b1d209b..a221370 100644 --- a/lib/src/features/game/widgets/enhanced_animation_panel.dart +++ b/lib/src/features/game/widgets/enhanced_animation_panel.dart @@ -354,13 +354,13 @@ class _EnhancedAnimationPanelState extends State flex: 2, child: switch ((shouldShowMonsterHp, combat)) { (true, final c?) => CompactMonsterHpBar( - combat: c, - monsterHpCurrent: _currentMonsterHp, - monsterHpMax: _currentMonsterHpMax, - monsterLevel: widget.monsterLevel, - flashAnimation: _monsterFlashAnimation, - monsterHpChange: _monsterHpChange, - ), + combat: c, + monsterHpCurrent: _currentMonsterHp, + monsterHpMax: _currentMonsterHpMax, + monsterLevel: widget.monsterLevel, + flashAnimation: _monsterFlashAnimation, + monsterHpChange: _monsterHpChange, + ), _ => const SizedBox.shrink(), }, ), diff --git a/lib/src/features/game/widgets/hp_mp_bar.dart b/lib/src/features/game/widgets/hp_mp_bar.dart index efd5814..dbde834 100644 --- a/lib/src/features/game/widgets/hp_mp_bar.dart +++ b/lib/src/features/game/widgets/hp_mp_bar.dart @@ -388,5 +388,4 @@ class _HpMpBarState extends State with TickerProviderStateMixin { ], ); } - } diff --git a/lib/src/features/settings/retro_settings_widgets.dart b/lib/src/features/settings/retro_settings_widgets.dart index 384ff96..68adf06 100644 --- a/lib/src/features/settings/retro_settings_widgets.dart +++ b/lib/src/features/settings/retro_settings_widgets.dart @@ -125,11 +125,7 @@ class RetroVolumeSlider extends StatelessWidget { /// 레트로 스타일 슬라이더 class RetroSlider extends StatelessWidget { - const RetroSlider({ - super.key, - required this.value, - required this.onChanged, - }); + const RetroSlider({super.key, required this.value, required this.onChanged}); final double value; final ValueChanged onChanged; @@ -205,11 +201,7 @@ class RetroDebugToggle extends StatelessWidget { /// 레트로 스타일 토글 class RetroToggle extends StatelessWidget { - const RetroToggle({ - super.key, - required this.value, - required this.onChanged, - }); + const RetroToggle({super.key, required this.value, required this.onChanged}); final bool value; final ValueChanged onChanged; diff --git a/lib/src/features/settings/settings_screen.dart b/lib/src/features/settings/settings_screen.dart index 641e590..4f5ec84 100644 --- a/lib/src/features/settings/settings_screen.dart +++ b/lib/src/features/settings/settings_screen.dart @@ -452,4 +452,3 @@ class _SettingsScreenState extends State { } } } - diff --git a/lib/src/shared/animation/canvas/canvas_battle_composer.dart b/lib/src/shared/animation/canvas/canvas_battle_composer.dart index 134d450..5915fb8 100644 --- a/lib/src/shared/animation/canvas/canvas_battle_composer.dart +++ b/lib/src/shared/animation/canvas/canvas_battle_composer.dart @@ -176,12 +176,7 @@ class CanvasBattleComposer { final cells = _spriteToCells(charFrame.lines); final charY = frameHeight - cells.length - 1; - return AsciiLayer( - cells: cells, - zIndex: 2, - offsetX: charX, - offsetY: charY, - ); + return AsciiLayer(cells: cells, zIndex: 2, offsetX: charX, offsetY: charY); } /// 몬스터 레이어 생성 (z=1) @@ -312,9 +307,7 @@ class CanvasBattleComposer { // ============================================================================ AsciiLayer _createCriticalTextLayer(int subFrame) { - final textLines = subFrame % 2 == 0 - ? critTextFrames[0] - : critTextFrames[1]; + final textLines = subFrame % 2 == 0 ? critTextFrames[0] : critTextFrames[1]; final cells = _textLinesToCells(textLines, AsciiCellColor.positive); final textWidth = textLines.isNotEmpty ? textLines[0].length : 0; final offsetX = (frameWidth - textWidth) ~/ 2; diff --git a/lib/src/splash_screen.dart b/lib/src/splash_screen.dart index b3fce5d..8c3644b 100644 --- a/lib/src/splash_screen.dart +++ b/lib/src/splash_screen.dart @@ -47,10 +47,7 @@ class SplashScreen extends StatelessWidget { fontSize: 16, color: RetroColors.cream, shadows: [ - Shadow( - color: RetroColors.brown, - offset: Offset(1, 1), - ), + Shadow(color: RetroColors.brown, offset: Offset(1, 1)), ], ), ),