Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2025-06-03 13:30:07 +08:00
parent 84e24b5827
commit daf5d302e3
59 changed files with 315 additions and 282 deletions

View File

@@ -204,26 +204,27 @@ Widget module(
const SizedBox(width: 10),
Expanded(
child: Column(
spacing: 2,
crossAxisAlignment: CrossAxisAlignment.start,
children: [
Text(
item.modules.moduleDynamic!.major!.common!.title!,
style: TextStyle(
color: theme.colorScheme.primary,
),
style: TextStyle(color: theme.colorScheme.primary),
maxLines: 1,
overflow: TextOverflow.ellipsis,
),
const SizedBox(height: 2),
Text(
item.modules.moduleDynamic!.major!.common!.desc!,
style: TextStyle(
color: theme.colorScheme.outline,
fontSize: theme.textTheme.labelMedium!.fontSize,
if (item.modules.moduleDynamic!.major!.common!.desc
?.isNotEmpty ==
true)
Text(
item.modules.moduleDynamic!.major!.common!.desc!,
style: TextStyle(
color: theme.colorScheme.outline,
fontSize: theme.textTheme.labelMedium!.fontSize,
),
maxLines: 1,
overflow: TextOverflow.ellipsis,
),
maxLines: 1,
overflow: TextOverflow.ellipsis,
),
],
),
),