style: dart format 적용

This commit is contained in:
JiWoong Sul
2026-01-14 23:07:03 +09:00
parent 249394f548
commit de20183b73
8 changed files with 68 additions and 43 deletions

View File

@@ -96,7 +96,8 @@ class _ArenaResultPanelState extends State<ArenaResultPanel>
try {
// macOS: Downloads 폴더에 저장 (사용자가 쉽게 찾을 수 있도록)
final directory = await getDownloadsDirectory() ??
final directory =
await getDownloadsDirectory() ??
await getApplicationDocumentsDirectory();
final timestamp = DateTime.now().toIso8601String().replaceAll(':', '-');
final challenger = widget.result.match.challenger.characterName;
@@ -164,13 +165,15 @@ class _ArenaResultPanelState extends State<ArenaResultPanel>
'class': entry.klass,
'combatStats': entry.finalStats?.toJson(),
'equipment': entry.finalEquipment
?.map((EquipmentItem e) => {
'slot': e.slot.name,
'name': e.name,
'level': e.level,
'rarity': e.rarity.name,
'stats': e.stats.toJson(),
})
?.map(
(EquipmentItem e) => {
'slot': e.slot.name,
'name': e.name,
'level': e.level,
'rarity': e.rarity.name,
'stats': e.stats.toJson(),
},
)
.toList(),
'skills': entry.finalSkills,
};

View File

@@ -142,7 +142,8 @@ class _FrontScreenState extends State<FrontScreen> with RouteAware {
onHallOfFame: widget.onHallOfFame != null
? () => widget.onHallOfFame!(context)
: null,
onLocalArena: widget.onLocalArena != null &&
onLocalArena:
widget.onLocalArena != null &&
widget.hallOfFameCount >= 2
? () => widget.onLocalArena!(context)
: null,

View File

@@ -206,7 +206,9 @@ class _SettingsScreenState extends State<SettingsScreen> {
Widget _buildDebugSection() {
return Card(
color: Theme.of(context).colorScheme.errorContainer.withValues(alpha: 0.3),
color: Theme.of(
context,
).colorScheme.errorContainer.withValues(alpha: 0.3),
child: Padding(
padding: const EdgeInsets.all(16),
child: Column(