전역 구조 리팩터링 및 테스트 확장

This commit is contained in:
JiWoong Sul
2025-09-29 01:51:47 +09:00
parent c00c0c9ab2
commit fef7108479
70 changed files with 7709 additions and 3185 deletions

View File

@@ -25,10 +25,7 @@ class PageHeader extends StatelessWidget {
return Row(
crossAxisAlignment: CrossAxisAlignment.start,
children: [
if (leading != null) ...[
leading!,
const SizedBox(width: 16),
],
if (leading != null) ...[leading!, const SizedBox(width: 16)],
Expanded(
child: Column(
crossAxisAlignment: CrossAxisAlignment.start,
@@ -42,16 +39,9 @@ class PageHeader extends StatelessWidget {
),
),
if (actions != null && actions!.isNotEmpty) ...[
Wrap(
spacing: 12,
runSpacing: 12,
children: actions!,
),
],
if (trailing != null) ...[
const SizedBox(width: 16),
trailing!,
Wrap(spacing: 12, runSpacing: 12, children: actions!),
],
if (trailing != null) ...[const SizedBox(width: 16), trailing!],
],
);
}