opt pages

Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2025-06-05 14:57:54 +08:00
parent b960359a39
commit 707d2f4b07
66 changed files with 1165 additions and 481 deletions

View File

@@ -10,7 +10,7 @@ import 'package:flutter/material.dart';
Widget videoSeasonWidget(
ThemeData theme,
bool isSave,
String? source,
bool isDetail,
DynamicItemModel item,
BuildContext context,
String type,
@@ -29,9 +29,7 @@ Widget videoSeasonWidget(
const SizedBox(width: 5),
Text(
item.modules.moduleDynamic!.major!.none!.tips!,
style: TextStyle(
color: theme.colorScheme.outline,
),
style: TextStyle(color: theme.colorScheme.outline),
),
],
)
@@ -159,9 +157,9 @@ Widget videoSeasonWidget(
: EdgeInsets.zero,
child: Text(
itemContent.title!,
maxLines: source == 'detail' ? null : 1,
maxLines: isDetail ? null : 1,
style: const TextStyle(fontWeight: FontWeight.bold),
overflow: source == 'detail' ? null : TextOverflow.ellipsis,
overflow: isDetail ? null : TextOverflow.ellipsis,
),
),
],