chore: code clean up

Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2024-11-10 09:49:06 +08:00
parent 03d405e197
commit 59910e275e
133 changed files with 597 additions and 816 deletions

View File

@@ -5,7 +5,6 @@ import 'package:PiliPalaX/utils/storage.dart';
import 'package:flutter_smart_dialog/flutter_smart_dialog.dart';
import 'package:get/get.dart';
import 'package:PiliPalaX/http/video.dart';
import 'package:PiliPalaX/models/user/fav_folder.dart';
class FavDetailController extends CommonController {
// FavFolderItemData? item;

View File

@@ -19,11 +19,11 @@ class FavVideoCardH extends StatelessWidget {
final int? searchType;
const FavVideoCardH({
Key? key,
super.key,
required this.videoItem,
this.callFn,
this.searchType,
}) : super(key: key);
});
@override
Widget build(BuildContext context) {
@@ -215,7 +215,7 @@ class VideoContent extends StatelessWidget {
child: IconButton(
tooltip: '取消收藏',
style: ButtonStyle(
padding: MaterialStateProperty.all(EdgeInsets.zero),
padding: WidgetStateProperty.all(EdgeInsets.zero),
),
onPressed: () {
showDialog(