Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2025-12-26 12:15:25 +08:00
parent c9a02f9c74
commit 25fca498fc
41 changed files with 313 additions and 286 deletions

View File

@@ -597,32 +597,38 @@ class _SponsorBlockPageState extends State<SponsorBlockPage> {
.toList(),
child: Padding(
padding: const EdgeInsets.symmetric(vertical: 8),
child: Row(
mainAxisSize: MainAxisSize.min,
children: [
Text(
item.second.title,
style: TextStyle(
height: 1,
fontSize: 14,
color: isDisable
? theme.colorScheme.outline.withValues(
alpha: 0.7,
)
: theme.colorScheme.secondary,
child: Text.rich(
style: TextStyle(
height: 1,
fontSize: 14,
color: isDisable
? theme.colorScheme.outline.withValues(
alpha: 0.7,
)
: theme.colorScheme.secondary,
),
strutStyle: const StrutStyle(
height: 1,
leading: 0,
fontSize: 14,
),
TextSpan(
children: [
TextSpan(text: item.second.title),
WidgetSpan(
alignment: .middle,
child: Icon(
size: 14,
MdiIcons.unfoldMoreHorizontal,
color: isDisable
? theme.colorScheme.outline.withValues(
alpha: 0.7,
)
: theme.colorScheme.secondary,
),
),
strutStyle: const StrutStyle(height: 1, leading: 0),
),
Icon(
MdiIcons.unfoldMoreHorizontal,
size: MediaQuery.textScalerOf(context).scale(14),
color: isDisable
? theme.colorScheme.outline.withValues(
alpha: 0.7,
)
: theme.colorScheme.secondary,
),
],
],
),
),
),
);