opt icons

Signed-off-by: dom <githubaccount56556@proton.me>
This commit is contained in:
dom
2026-05-02 13:13:50 +08:00
parent 89c7d24c13
commit 01e276d34d
8 changed files with 57 additions and 96 deletions

View File

@@ -1,7 +1,6 @@
import 'dart:async' show Timer;
import 'dart:convert' show jsonDecode, utf8;
import 'dart:io' show Platform, File;
import 'dart:math';
import 'dart:typed_data' show Uint8List;
import 'package:PiliPlus/common/constants.dart';
@@ -528,15 +527,12 @@ class HeaderControlState extends State<HeaderControl>
() {
final flipY = plPlayerController.flipY.value;
return ActionRowLineItem(
icon: Transform.rotate(
angle: pi / 2,
child: Icon(
Icons.flip,
size: 13,
color: flipY
? theme.colorScheme.onSecondaryContainer
: theme.colorScheme.outline,
),
icon: Icon(
CustomIcons.flip_rotate_90,
size: 13,
color: flipY
? theme.colorScheme.onSecondaryContainer
: theme.colorScheme.outline,
),
onTap: () {
plPlayerController.flipY.value = !flipY;