feat: 直播弹幕2

This commit is contained in:
guozhigq
2024-08-21 00:09:26 +08:00
parent 5304120909
commit b3e55be43c

View File

@ -129,7 +129,7 @@ class _PlDanmakuState extends State<PlDanmaku> {
// double initDuration = box.maxWidth / 12;
return Obx(
() => AnimatedOpacity(
opacity: playerController.isOpenDanmu.value ? 1 : 0,
opacity: playerController.isOpenDanmu.value ? 1 : 1,
duration: const Duration(milliseconds: 100),
child: DanmakuView(
createdController: (DanmakuController e) async {