fix: live fit btn

Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2025-01-15 22:54:57 +08:00
parent f82b361ec6
commit 64e8f9365a

View File

@@ -77,7 +77,8 @@ class _BottomControlState extends State<BottomControl> {
// ), // ),
// ), // ),
// const SizedBox(width: 4), // const SizedBox(width: 4),
Container( Obx(
() => Container(
height: 30, height: 30,
margin: const EdgeInsets.symmetric(horizontal: 10), margin: const EdgeInsets.symmetric(horizontal: 10),
alignment: Alignment.center, alignment: Alignment.center,
@@ -93,7 +94,8 @@ class _BottomControlState extends State<BottomControl> {
value: boxFit, value: boxFit,
child: Text( child: Text(
"${PlPlayerController.videoFitType[boxFit.index]['desc']}", "${PlPlayerController.videoFitType[boxFit.index]['desc']}",
style: const TextStyle(color: Colors.white, fontSize: 13), style:
const TextStyle(color: Colors.white, fontSize: 13),
), ),
); );
}).toList(); }).toList();
@@ -104,6 +106,8 @@ class _BottomControlState extends State<BottomControl> {
), ),
), ),
), ),
),
const SizedBox(width: 10),
if (Platform.isAndroid) ...[ if (Platform.isAndroid) ...[
SizedBox( SizedBox(
width: 34, width: 34,