opt: pages

Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2025-02-05 12:19:45 +08:00
parent 70aecd1e38
commit 65e7c0c4f4
7 changed files with 39 additions and 77 deletions

View File

@@ -425,24 +425,18 @@ class VideoDetailController extends GetxController
WidgetSpan(
alignment: PlaceholderAlignment.middle,
child: Container(
height:
MediaQuery.textScalerOf(context).scale(14),
height: 10,
width: 10,
alignment: Alignment.center,
child: Container(
height: 10,
width: 10,
decoration: BoxDecoration(
shape: BoxShape.circle,
color: _getColor(item),
),
decoration: BoxDecoration(
shape: BoxShape.circle,
color: _getColor(item),
),
),
style: TextStyle(fontSize: 14),
style: TextStyle(fontSize: 14, height: 1),
),
TextSpan(
text: ' ${item.title}',
style: TextStyle(fontSize: 14),
style: TextStyle(fontSize: 14, height: 1),
),
],
),
@@ -528,24 +522,18 @@ class VideoDetailController extends GetxController
WidgetSpan(
alignment: PlaceholderAlignment.middle,
child: Container(
height:
MediaQuery.textScalerOf(context).scale(14),
height: 10,
width: 10,
alignment: Alignment.center,
child: Container(
height: 10,
width: 10,
decoration: BoxDecoration(
shape: BoxShape.circle,
color: _getColor(item.segmentType),
),
decoration: BoxDecoration(
shape: BoxShape.circle,
color: _getColor(item.segmentType),
),
),
style: TextStyle(fontSize: 14),
style: TextStyle(fontSize: 14, height: 1),
),
TextSpan(
text: ' ${item.segmentType.title}',
style: TextStyle(fontSize: 14),
style: TextStyle(fontSize: 14, height: 1),
),
],
),