Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2025-05-21 11:48:42 +08:00
parent 1efd62803a
commit ac60ac417b
130 changed files with 1631 additions and 2132 deletions

View File

@@ -80,9 +80,7 @@ class BottomControl extends StatelessWidget implements PreferredSizeWidget {
height: 35,
padding: const EdgeInsets.only(left: 30),
value: boxFit,
onTap: () {
plPlayerController.toggleVideoFit(boxFit);
},
onTap: () => plPlayerController.toggleVideoFit(boxFit),
child: Text(
boxFit.desc,
style:
@@ -116,9 +114,7 @@ class BottomControl extends StatelessWidget implements PreferredSizeWidget {
height: 35,
padding: const EdgeInsets.only(left: 30),
value: e['code'],
onTap: () {
liveRoomCtr.changeQn(e['code']);
},
onTap: () => liveRoomCtr.changeQn(e['code']),
child: Text(
e['desc'],
style:

View File

@@ -90,10 +90,9 @@ class LiveRoomChat extends StatelessWidget {
size: 20,
),
label: const Text('回到底部'),
onPressed: () {
liveRoomController.disableAutoScroll.value = false;
liveRoomController.scrollToBottom();
},
onPressed: () => liveRoomController
..disableAutoScroll.value = false
..scrollToBottom(),
),
)
: const SizedBox.shrink(),