feat: 同时在看人数

This commit is contained in:
guozhigq
2023-08-24 08:38:01 +08:00
parent b67127123a
commit 201422c150
7 changed files with 81 additions and 0 deletions

View File

@ -255,6 +255,17 @@ class _VideoInfoState extends State<VideoInfo> with TickerProviderStateMixin {
color: t.colorScheme.outline,
),
),
const SizedBox(width: 10),
if (videoIntroController.isShowOnlineTotal)
Obx(
() => Text(
'${videoIntroController.totel.value}人在看',
style: TextStyle(
fontSize: 12,
color: t.colorScheme.outline,
),
),
),
],
),
),