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

@@ -8,7 +8,7 @@ import 'package:get/get.dart';
Widget livePanelSub(
ThemeData theme,
String? source,
bool isDetail,
DynamicItemModel item,
BuildContext context, {
int floor = 1,
@@ -113,9 +113,9 @@ Widget livePanelSub(
const EdgeInsets.symmetric(horizontal: StyleString.safeSpace),
child: Text(
content.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,
),
),
const SizedBox(height: 2),