refactor single-code boxing UI

This commit is contained in:
Misaka_Company
2026-05-18 14:54:07 +08:00
parent f964c76382
commit 1dc9e3d3a1
2 changed files with 777 additions and 610 deletions

File diff suppressed because it is too large Load Diff

View File

@@ -33,13 +33,14 @@ class StatusBar extends StatelessWidget {
final colorScheme = Theme.of(context).colorScheme;
return Container(
width: double.infinity,
padding: const EdgeInsets.symmetric(vertical: 6, horizontal: 12),
height: 28,
padding: const EdgeInsets.symmetric(horizontal: 12),
color: colorScheme.surfaceContainerHighest,
child: Row(
children: [
Container(
width: 7,
height: 7,
width: 6,
height: 6,
decoration: BoxDecoration(
color: _resolveDotColor(context),
shape: BoxShape.circle,
@@ -49,7 +50,7 @@ class StatusBar extends StatelessWidget {
Expanded(
child: Text(
text,
style: const TextStyle(fontSize: 12),
style: const TextStyle(fontSize: 11),
overflow: TextOverflow.ellipsis,
),
),